/* ==========================================================================
   HALL OF ECHOES THEME
   Same warm umber / ember look as the launcher (branch skelth-s3,
   Skelth/App.xaml "HALL OF ECHOES THEME"). Loaded after style.css and only
   overrides it, so markup/JS hooks (translations, splide, live.js) stay.
   ========================================================================== */
/* Self-hosted (SIL OFL), same files the launcher ships; the site CSP only allows fonts from 'self' */
@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --e-bg: #110b08;
  --e-umber: #2a1a12;
  --e-panel: rgba(42, 26, 18, 0.62);
  --e-ember: #ff7a3d;
  --e-ember-deep: #b8431b;
  --e-brass: #d6a866;
  --e-text: #f3e6d8;
  --e-body: #cdb8a4;
  --e-muted: #a88f7a;
  --e-dim: #6f5b4b;
  --e-line: rgba(214, 168, 102, 0.45);
  --e-line-soft: rgba(214, 168, 102, 0.18);
  --e-title-grad: linear-gradient(180deg, #fff5e6 0%, #e7c9a4 60%, #b28456 100%);
  --e-play-grad: linear-gradient(180deg, #ffc79a 0%, #ff7a3d 50%, #b8431b 100%);
  --e-play-grad-hover: linear-gradient(180deg, #ffd9b8 0%, #ff8e57 50%, #c9522a 100%);
  --e-serif: 'Cinzel', 'Times New Roman', serif;
  --e-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  /* tints the white social/arrow svgs to the brass colour */
  --e-brass-filter: brightness(0) saturate(100%) invert(76%) sepia(28%) saturate(668%) hue-rotate(345deg) brightness(91%) contrast(87%);
}

body {
  font-family: var(--e-sans);
  background: var(--e-bg);
  color: var(--e-text);
}

::selection { background: rgba(255, 122, 61, 0.35); color: #fff; }

::-webkit-scrollbar-track { background: var(--e-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--e-ember), var(--e-ember-deep)); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ff8e57, #c9522a); }

/* Shared section heading: Cinzel with the parchment gradient */
.features-title,
.lineage-title,
.other-features-title,
.faq-title,
.videos-title,
.phoenix-title,
.footer-newsletter-title,
.echo-title {
  font-family: var(--e-serif);
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--e-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header::before {
  height: 130px;
  background: linear-gradient(180deg, rgba(10, 6, 4, 0.92) 0%, rgba(10, 6, 4, 0.45) 55%, rgba(10, 6, 4, 0) 100%);
}

.nav-menu li a {
  position: relative;
  color: var(--e-muted);
  font-family: var(--e-sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  padding: 8px 0;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--e-ember);
  box-shadow: 0 0 8px var(--e-ember);
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-menu li a:hover {
  color: var(--e-text);
}

.nav-menu li a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-selector {
  color: var(--e-muted);
  font-family: var(--e-sans);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}

.language-selector:hover {
  background: rgba(214, 168, 102, 0.08);
  color: var(--e-text);
}

.language-dropdown {
  background: rgba(24, 15, 10, 0.97);
  border: 1px solid var(--e-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.language-option {
  font-family: var(--e-sans);
  color: var(--e-text);
  border-bottom: 1px solid var(--e-line-soft);
}

.language-option:hover {
  background: linear-gradient(90deg, rgba(255, 122, 61, 0.18), rgba(255, 122, 61, 0.04));
  color: var(--e-ember);
}

.language-option:hover::before {
  background: linear-gradient(180deg, var(--e-ember), var(--e-ember-deep));
}

/* The hero realm card shows the server now */
.nav-actions .server-cards {
  display: none;
}

.login-btn {
  background: rgba(20, 12, 8, 0.6);
  color: var(--e-text);
  border: 1px solid var(--e-line);
  padding: 11px 26px;
  border-radius: 8px;
  font-family: var(--e-sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
}

.login-btn:hover {
  border-color: var(--e-ember);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 122, 61, 0.35);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-features-bg-wrapper {
  background:
    radial-gradient(900px 620px at 72% 420px, #4a2616 0%, #24140d 45%, rgba(17, 11, 8, 0) 80%),
    radial-gradient(1100px 600px at 10% 100%, rgba(184, 67, 27, 0.10), rgba(17, 11, 8, 0) 70%),
    var(--e-bg);
  min-height: 0;
  overflow: hidden;
}

.hero-section {
  height: auto;
  min-height: 0;
  overflow: visible;
}

/* drifting embers, same dots as the launcher backdrop */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 58% 80%, rgba(255, 140, 70, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 66% 64%, rgba(255, 170, 90, 0.8), transparent),
    radial-gradient(2px 2px at 74% 88%, rgba(255, 120, 60, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 83% 70%, rgba(255, 170, 90, 0.7), transparent),
    radial-gradient(2.5px 2.5px at 91% 84%, rgba(255, 120, 60, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 52% 60%, rgba(255, 170, 90, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 96% 52%, rgba(255, 170, 90, 0.6), transparent),
    radial-gradient(2px 2px at 62% 40%, rgba(255, 140, 70, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 38% 74%, rgba(255, 150, 80, 0.5), transparent),
    radial-gradient(2px 2px at 12% 90%, rgba(255, 130, 60, 0.45), transparent);
  animation: echo-embers 9s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes echo-embers {
  from { transform: translateY(0); opacity: 0.75; }
  to   { transform: translateY(-26px); opacity: 1; }
}

.hero-container {
  height: auto;
  padding: 0;
  max-width: none;
}

.echo-hero {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  min-height: clamp(720px, 100vh, 980px);
  padding: 118px clamp(20px, 4vw, 64px) 0;
  display: grid;
  grid-template-columns: minmax(340px, 440px) 1fr;
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

/* ----- left column ----- */
.echo-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
}

.echo-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--e-ember);
}

.echo-title {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  margin-top: 12px;
}

.echo-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--e-body);
  margin-top: 14px;
  max-width: 400px;
}

.echo-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--e-muted);
  margin-top: 6px;
  max-width: 400px;
}

.echo-realm {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--e-line);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 122, 61, 0.12), rgba(20, 12, 8, 0.8));
  box-shadow: 0 0 30px rgba(255, 122, 61, 0.12);
}

.echo-realm-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffb37a, var(--e-ember) 45%, var(--e-ember-deep));
  box-shadow: 0 0 20px rgba(255, 122, 61, 0.5);
}

.echo-realm-orb svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.echo-realm-info {
  min-width: 0;
}

.echo-realm-info b {
  display: block;
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--e-text);
}

.echo-realm-info > span {
  font-size: 12.5px;
  color: var(--e-muted);
}

.echo-realm-pill {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #22c55e;
  color: #04210f;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
}

.echo-news {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: rgba(20, 12, 8, 0.7);
  border: 1px solid var(--e-line-soft);
  text-decoration: none;
}

.echo-news:hover {
  border-color: var(--e-line);
  background: rgba(32, 20, 13, 0.85);
}

.echo-news img {
  width: 92px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.echo-news small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--e-brass);
}

.echo-news b {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--e-text);
}

/* ----- class fan ----- */
.echo-fan {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 740 / 470;
  justify-self: center;
}

.fan-card {
  --r: 0deg;
  --y: 0px;
  position: absolute;
  top: 17.9%;
  width: 25.4%;
  aspect-ratio: 188 / 292;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--e-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 120%;
  transform: rotate(var(--r)) translateY(var(--y));
  background: var(--e-umber);
}

.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.fan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 7, 5, 0.92));
  pointer-events: none;
}

.fan-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  padding: 0 16px;
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.18em;
  color: var(--e-text);
}

.fan-card figcaption small {
  display: block;
  margin-top: 2px;
  font-family: var(--e-sans);
  font-size: clamp(9px, 0.8vw, 10.5px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--e-brass);
}

.fan-1 { left: 0;     --r: -10deg; opacity: 0.75; z-index: 1; }
.fan-2 { left: 16.8%; --r: -5deg; --y: -14px; opacity: 0.88; z-index: 2; }
.fan-4 { left: 56.5%; --r: 5deg;  --y: -14px; opacity: 0.88; z-index: 2; }
.fan-5 { left: 73%;   --r: 10deg; opacity: 0.75; z-index: 1; }
.fan-4 figcaption,
.fan-5 figcaption { text-align: right; }

.fan-3 {
  left: 35.4%;
  top: 8.5%;
  width: 29.5%;
  z-index: 3;
  border: 2px solid var(--e-ember);
  box-shadow: 0 0 40px rgba(255, 122, 61, 0.5), 0 24px 50px rgba(0, 0, 0, 0.7);
}

.fan-3 figcaption { text-align: center; }

.fan-card:hover {
  opacity: 1;
  transform: rotate(var(--r)) translateY(calc(var(--y) - 10px));
  border-color: var(--e-ember);
}

.echo-fan-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 89%;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--e-muted);
}

.echo-fan-caption b {
  color: var(--e-ember);
  font-weight: 600;
}

/* ----- bottom bar (socials + PLAY, like the launcher footer) ----- */
.echo-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 0 40px;
}

.echo-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 102, 0.5), transparent);
}

.echo-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.echo-follow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--e-muted);
}

.echo-socials {
  display: flex;
  gap: 10px;
}

.echo-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 168, 102, 0.4);
}

.echo-socials img {
  width: 15px;
  height: 15px;
  filter: var(--e-brass-filter);
}

.echo-socials a:hover {
  border-color: var(--e-ember);
  background: rgba(255, 122, 61, 0.12);
  box-shadow: 0 0 14px rgba(255, 122, 61, 0.35);
}

.echo-bar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.echo-selected {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-muted);
  margin-bottom: 8px;
}

.echo-selected b {
  color: var(--e-ember);
  font-weight: 700;
}

.echo-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 62px;
  padding: 0 34px 0 calc(34px + 0.3em);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--e-serif);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #1e0c04;
  background: var(--e-play-grad);
  box-shadow: 0 0 40px rgba(255, 122, 61, 0.55), inset 0 1px 0 #ffe3cc;
}

.echo-play:hover {
  background: var(--e-play-grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(255, 122, 61, 0.75), inset 0 1px 0 #ffe3cc;
}

.echo-play:focus-visible,
.login-btn:focus-visible,
.echo-news:focus-visible,
.echo-socials a:focus-visible {
  outline: 2px solid var(--e-brass);
  outline-offset: 3px;
}

/* ==========================================================================
   MAIN FEATURES
   ========================================================================== */
.features-section {
  z-index: 2;
}

.features-pagination {
  font-family: var(--e-serif);
  color: var(--e-brass);
}

.nav-arrows {
  gap: 8px;
}

.arrow-btn {
  background-color: rgba(28, 18, 12, 0.9);
  border: 1px solid rgba(214, 168, 102, 0.35);
  border-radius: 8px !important;
}

.arrow-btn:hover:not(:disabled) {
  background-color: var(--e-ember-deep);
  border-color: var(--e-ember);
  box-shadow: 0 0 16px rgba(255, 122, 61, 0.4);
}

.arrow-btn:disabled {
  background-color: rgba(28, 18, 12, 0.5);
}

a.feature-card,
.feature-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 102, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 7, 5, 0.9));
  pointer-events: none;
  z-index: 1;
}

.feature-info {
  z-index: 2;
}

a.feature-card:hover,
.feature-card:hover {
  border-color: var(--e-ember);
  box-shadow: 0 0 32px rgba(255, 122, 61, 0.35), 0 18px 36px rgba(0, 0, 0, 0.55);
}

.feature-line {
  height: 2px;
  background: linear-gradient(90deg, var(--e-ember-deep), var(--e-ember), #ffc28f);
  box-shadow: 0 0 10px var(--e-ember);
}

.feature-name {
  font-family: var(--e-serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--e-text);
}

.feature-card:hover .feature-name {
  color: #fff;
}

/* ==========================================================================
   SHARED BITS FOR THE LIVE SECTIONS
   ========================================================================== */
.section-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--e-ember);
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--e-brass);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.text-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--e-ember);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.live-error {
  margin-top: 18px;
  color: var(--e-muted);
  font-size: 14px;
}

.news-empty {
  color: var(--e-muted);
  font-size: 14px;
}

/* skeleton placeholders while live data loads */
.skeleton-card,
.skeleton-line {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(42, 26, 18, 0.6) 0%, rgba(70, 44, 30, 0.7) 50%, rgba(42, 26, 18, 0.6) 100%);
  background-size: 200% 100%;
  animation: echo-shimmer 1.4s ease-in-out infinite;
}

.skeleton-card {
  height: 132px;
}

.skeleton-line {
  height: 44px;
  list-style: none;
}

@keyframes echo-shimmer {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

/* hero realm card states (live.js sets them) */
.echo-realm-pill.is-loading,
.echo-realm-pill.is-unknown {
  background: rgba(168, 143, 122, 0.18);
  color: var(--e-muted);
  box-shadow: none;
}

.echo-realm-pill.is-loading {
  min-width: 64px;
  min-height: 21px;
}

.echo-realm-pill.is-maintenance {
  background: var(--e-brass);
  color: #2a1a07;
  box-shadow: 0 0 12px rgba(214, 168, 102, 0.35);
}

.echo-realm-pill.is-offline {
  background: #b8431b;
  color: #fff;
  box-shadow: 0 0 12px rgba(184, 67, 27, 0.45);
}

.echo-realm-players {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   HOW TO START + SERVER FACTS
   ========================================================================== */
.start-section {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 4vw, 48px);
}

.start-container,
.news-container,
.rankings-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.start-title,
.news-title,
.rankings-title {
  font-family: var(--e-serif);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  background: var(--e-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.start-steps {
  list-style: none;
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  counter-reset: none;
}

.start-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  border-radius: 12px;
  border: 1px solid var(--e-line-soft);
  background: linear-gradient(160deg, rgba(58, 34, 22, 0.55), rgba(20, 12, 8, 0.8));
}

.start-step:hover {
  border-color: var(--e-line);
}

.start-num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--e-ember);
  color: var(--e-ember);
  font-family: var(--e-serif);
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 0 18px rgba(255, 122, 61, 0.25);
}

.start-step h3 {
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--e-text);
  margin-top: 6px;
}

.start-step p {
  color: var(--e-body);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.start-link {
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--e-line);
  color: var(--e-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.start-link:hover {
  border-color: var(--e-ember);
  box-shadow: 0 0 16px rgba(255, 122, 61, 0.3);
  color: #fff;
}

.start-link:active,
.echo-play:active,
.login-btn:active {
  transform: translateY(1px) scale(0.98);
}

.facts-panel {
  margin-top: clamp(18px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  padding: 18px 24px;
  border-radius: 12px;
  border: 1px solid var(--e-line);
  background: linear-gradient(135deg, rgba(255, 122, 61, 0.08), rgba(20, 12, 8, 0.85));
}

.facts-panel[hidden] {
  display: none;
}

.facts-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--e-brass);
}

.facts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 4vw, 48px);
}

.fact dt {
  font-size: 11.5px;
  color: var(--e-muted);
  letter-spacing: 0.06em;
}

.fact dd {
  margin: 2px 0 0;
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--e-text);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   EVENTS & UPDATES (forum feed)
   ========================================================================== */
.news-section {
  padding: var(--section-spacing) 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(255, 122, 61, 0.10), rgba(17, 11, 8, 0) 70%),
    linear-gradient(180deg, #140d09 0%, #1b100b 100%);
  border-top: 1px solid var(--e-line-soft);
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.news-events {
  display: grid;
  gap: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--e-line-soft);
  background: var(--e-panel);
  text-decoration: none;
  color: inherit;
}

.event-card:hover {
  border-color: var(--e-ember);
  box-shadow: 0 0 26px rgba(255, 122, 61, 0.18);
}

.event-card-media {
  background: linear-gradient(135deg, #3a2216, #150d09);
  min-height: 132px;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.event-card-date,
.update-date {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--e-brass);
}

.event-card-title {
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--e-text);
  letter-spacing: 0.03em;
}

.event-card-text {
  color: var(--e-body);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-more {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--e-ember);
}

.news-updates {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--e-line-soft);
  background: rgba(20, 12, 8, 0.7);
}

.news-updates-title {
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--e-text);
  margin-bottom: 12px;
}

.news-updates-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.update-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
}

.update-link:hover {
  background: rgba(255, 122, 61, 0.08);
  border-color: var(--e-line-soft);
}

.update-title {
  color: var(--e-text);
  font-size: 14.5px;
  font-weight: 600;
}

/* ==========================================================================
   RANKINGS
   ========================================================================== */
.rankings-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(180deg, #1b100b 0%, var(--e-bg) 100%);
  border-top: 1px solid var(--e-line-soft);
}

.rankings-section[hidden] {
  display: none;
}

.rankings-updated {
  font-size: 12px;
  color: var(--e-muted);
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.rank-panel {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--e-line-soft);
  background: var(--e-panel);
  overflow-x: auto;
}

.rank-panel h3 {
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--e-text);
  margin-bottom: 12px;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.rank-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-muted);
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--e-line-soft);
}

.rank-table td {
  padding: 10px 8px;
  color: var(--e-body);
  border-bottom: 1px solid rgba(214, 168, 102, 0.08);
  white-space: nowrap;
}

.rank-table tr:last-child td {
  border-bottom: none;
}

.rank-table .num {
  text-align: right;
}

.rank-table .rank {
  width: 32px;
  color: var(--e-muted);
}

.rank-table tr:nth-child(-n+3) .rank {
  color: var(--e-ember);
  font-weight: 700;
}

.rank-table .name {
  color: var(--e-text);
  font-weight: 600;
}

.rank-table .muted {
  color: var(--e-muted);
}

.rank-table .strong {
  color: var(--e-text);
  font-weight: 700;
}

/* shared buttons */
.phoenix-btn,
.newsletter-btn {
  background: var(--e-play-grad);
  color: #1e0c04;
  font-family: var(--e-serif);
  font-weight: 900;
  letter-spacing: 0.14em;
  box-shadow: 0 0 26px rgba(255, 122, 61, 0.4), inset 0 1px 0 #ffe3cc;
}

.phoenix-btn:hover,
.newsletter-btn:hover {
  background: var(--e-play-grad-hover);
  box-shadow: 0 0 40px rgba(255, 122, 61, 0.6), inset 0 1px 0 #ffe3cc;
}

@media (max-width: 1024px) {
  .start-steps,
  .rankings-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-card,
  .skeleton-line {
    animation: none;
  }
}

/* ==========================================================================
   OTHER FEATURES
   ========================================================================== */
.other-features-section {
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(255, 122, 61, 0.08), rgba(17, 11, 8, 0) 70%),
    linear-gradient(180deg, #1b100b 0%, var(--e-bg) 100%);
  border-top: 1px solid var(--e-line-soft);
}

.feature-item h3 {
  color: var(--e-text);
  font-family: var(--e-sans);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-shadow: none;
}

.feature-item:hover h3 {
  color: var(--e-ember);
  text-shadow: none;
}

.feature-item:hover .feature-icon img {
  filter: drop-shadow(0 8px 25px rgba(255, 122, 61, 0.45)) brightness(1.08);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  background: var(--e-bg);
}

.faq-item {
  background: var(--e-panel);
  border: 1px solid var(--e-line-soft);
  border-radius: 12px;
}

.faq-item:hover {
  border-color: var(--e-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.faq-item.active {
  background: linear-gradient(135deg, rgba(255, 122, 61, 0.12), rgba(20, 12, 8, 0.85));
  border-color: var(--e-line);
  box-shadow: 0 0 30px rgba(255, 122, 61, 0.10);
}

.faq-question {
  padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px);
}

.faq-question h3 {
  color: var(--e-text);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 600;
}

.faq-item.active .faq-question h3 {
  color: #fff;
}

.faq-arrow {
  filter: var(--e-brass-filter);
}

.faq-answer {
  padding: 0 clamp(20px, 3vw, 36px);
}

.faq-answer.active {
  padding: 0 clamp(20px, 3vw, 36px) clamp(18px, 2.4vw, 28px);
}

.faq-answer p {
  color: var(--e-body);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}

/* ==========================================================================
   COMMUNITY VIDEOS
   ========================================================================== */
.videos-section {
  background: linear-gradient(180deg, var(--e-bg) 0%, #0c0705 100%);
  border-top: 1px solid var(--e-line-soft);
}

.video-card {
  border: 1px solid rgba(214, 168, 102, 0.3);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}

.video-card:hover {
  border-color: var(--e-ember);
  box-shadow: 0 0 30px rgba(255, 122, 61, 0.3), 0 18px 36px rgba(0, 0, 0, 0.55);
}

.video-thumbnail {
  /* the cover art is purple; "color" blend keeps its detail in ember tones */
  background: linear-gradient(135deg, #7a3a1c, #1c120c), url('img/cover-video.png') center/cover;
  background-blend-mode: color;
}

.video-overlay {
  background: linear-gradient(180deg, transparent, rgba(12, 7, 5, 0.9));
}

.video-title {
  font-family: var(--e-serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--e-text);
}

.play-icon {
  background: var(--e-play-grad);
  color: #1e0c04;
  box-shadow: 0 0 20px rgba(255, 122, 61, 0.5);
}

.video-card:hover .play-icon {
  background: var(--e-play-grad-hover);
  box-shadow: 0 0 32px rgba(255, 122, 61, 0.75);
  filter: none;
}

/* ==========================================================================
   PHOENIX PACK
   ========================================================================== */
.phoenix-section {
  background:
    linear-gradient(90deg, rgba(17, 11, 8, 0.94) 0%, rgba(17, 11, 8, 0.72) 42%, rgba(17, 11, 8, 0.15) 100%),
    url('img/bg-phoenix.webp') center / cover no-repeat,
    var(--e-bg);
  background-blend-mode: normal;
  border-top: 1px solid var(--e-line-soft);
}

.phoenix-description {
  color: var(--e-body);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
}

.phoenix-features h4 {
  color: var(--e-brass);
  font-size: 12px;
  letter-spacing: 0.25em;
}

.phoenix-list {
  color: #e2cdb8;
}

.phoenix-item .item-icon {
  border: 1px solid var(--e-line-soft);
  background: rgba(20, 12, 8, 0.7);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0a0605;
  border-top: 1px solid var(--e-line-soft);
}

.footer-container {
  color: var(--e-text);
}

.newsletter-input {
  background: rgba(28, 18, 12, 0.9);
  border: 1px solid rgba(214, 168, 102, 0.25);
  color: var(--e-text);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--e-ember);
  box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.15);
}

.newsletter-input::placeholder {
  color: var(--e-dim);
}

.newsletter-btn {
  font-size: 16px;
}

.footer-copyright,
.footer-link,
.footer-separator {
  color: var(--e-muted);
}

.footer-link:hover {
  color: var(--e-ember);
}

/* ==========================================================================
   LEGAL PAGES (terms.html / privacy.html)
   ========================================================================== */
.legal-hero-features-bg-wrapper {
  height: 132px;
  background:
    radial-gradient(700px 260px at 72% 0%, #4a2616 0%, rgba(17, 11, 8, 0) 75%),
    var(--e-bg);
  border-bottom: 1px solid var(--e-line-soft);
}

.legal-hero-section {
  height: 100%;
}

.legal-hero-character {
  display: none;
}

.terms-section,
.privacy-section {
  background: var(--e-bg);
}

.terms-title,
.privacy-title {
  font-family: var(--e-serif);
  font-weight: 900;
  background: var(--e-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.terms-subtitle,
.privacy-subtitle {
  color: var(--e-muted);
}

.terms-content,
.privacy-content {
  background: var(--e-panel);
  border: 1px solid var(--e-line-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: var(--e-body);
}

.terms-content h2,
.privacy-content h2 {
  font-family: var(--e-serif);
  color: var(--e-text);
  border-bottom: 2px solid var(--e-ember);
}

.terms-content h3,
.privacy-content h3 {
  color: var(--e-ember);
}

.terms-content strong,
.privacy-content strong {
  color: var(--e-brass);
}

.terms-content a,
.privacy-content a {
  color: var(--e-ember);
}

.back-link {
  color: var(--e-brass);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.back-link:hover {
  color: var(--e-ember);
}

/* ==========================================================================
   INTERACTION, FOCUS, ACCESSIBILITY
   ========================================================================== */
/* Only interactive things animate, and only cheap properties (style.css no longer
   puts "transition: all" on every element). */
a,
button,
.fan-card,
.feature-card,
.feature-item,
.start-step,
.event-card,
.update-link,
.video-card,
.faq-item,
.arrow-btn,
.echo-socials a,
.language-option {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.25s ease, opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer {
  transition: opacity 0.3s ease;
}

.faq-arrow {
  transition: transform 0.3s ease;
}

:focus-visible {
  outline: 2px solid var(--e-brass);
  outline-offset: 3px;
}

.faq-question:focus-visible {
  outline-offset: -2px;
  border-radius: 12px;
}

.start-section:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--e-play-grad);
  color: #1e0c04;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* real YouTube thumbnails (script.js) */
.video-thumbnail.has-thumb {
  background-size: cover;
  background-position: center;
  background-blend-mode: normal;
}

/* Phoenix pack contents as tiles */
.phoenix-items-column {
  gap: 8px;
}

.phoenix-item {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--e-line-soft);
  background: rgba(20, 12, 8, 0.65);
}

.phoenix-item .item-icon {
  width: 28px;
  height: 28px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   WIKI + NEWS (Laravel views: layouts/echoes, wiki/*)
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wiki-body {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 460px at 78% -80px, #3a1f12 0%, rgba(17, 11, 8, 0) 70%),
    var(--e-bg);
  color: var(--e-text);
  min-height: 100vh;
}

/* footer stays at the bottom on short pages */
.wiki-body > main {
  flex: 1 0 auto;
}

.wiki-body > main:focus {
  outline: none;
}

.wiki-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 9, 6, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--e-line-soft);
}

.wiki-header-inner,
.wiki-footer-inner,
.wiki-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.wiki-header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 68px;
}

.wiki-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.wiki-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
}

.wiki-nav a,
.wiki-langs a {
  color: var(--e-muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.wiki-nav a:hover,
.wiki-langs a:hover {
  color: var(--e-text);
}

.wiki-nav a.is-active {
  color: var(--e-text);
  border-bottom-color: var(--e-ember);
}

.wiki-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.wiki-langs {
  display: flex;
  gap: 10px;
}

.wiki-langs a.is-active {
  color: var(--e-ember);
}

.wiki-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px);
}

.wiki-title {
  font-family: var(--e-serif);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  background: var(--e-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.wiki-search {
  margin-top: 22px;
  display: flex;
  max-width: 560px;
  border: 1px solid var(--e-line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(20, 12, 8, 0.8);
}

.wiki-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--e-text);
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
}

.wiki-search input:focus {
  outline: none;
}

.wiki-search:focus-within {
  border-color: var(--e-ember);
  box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.15);
}

.wiki-search button {
  border: 0;
  padding: 0 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: #1e0c04;
  background: var(--e-play-grad);
  cursor: pointer;
}

.wiki-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: 80px;
}

.wiki-layout--article {
  grid-template-columns: 260px minmax(0, 1fr);
  padding-top: clamp(28px, 4vw, 48px);
}

.wiki-layout--article .wiki-article:last-child:first-child {
  grid-column: 1 / -1;
}

/* news post: article first, "Latest news" on the right */
.wiki-layout--post {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.wiki-section + .wiki-section {
  margin-top: clamp(32px, 4vw, 48px);
}

.wiki-section-title,
.wiki-aside-title {
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--e-text);
  margin-bottom: 14px;
}

.wiki-aside-title {
  font-size: 14px;
  margin: 18px 0 10px;
}

.wiki-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.wiki-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--e-line-soft);
  background: var(--e-panel);
  text-decoration: none;
  color: inherit;
}

.wiki-card:hover {
  border-color: var(--e-ember);
  box-shadow: 0 0 24px rgba(255, 122, 61, 0.16);
}

.wiki-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.wiki-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wiki-card-title {
  font-family: var(--e-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--e-text);
}

.wiki-card-text {
  color: var(--e-body);
  font-size: 14px;
  line-height: 1.5;
}

.wiki-aside {
  position: sticky;
  top: 92px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--e-line-soft);
  background: rgba(20, 12, 8, 0.7);
}

.wiki-back {
  margin-bottom: 6px;
}

.wiki-sidebar-list {
  list-style: none;
  display: grid;
  gap: 2px;
}

.wiki-sidebar-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--e-body);
  font-size: 14px;
  text-decoration: none;
}

.wiki-sidebar-list a:hover {
  background: rgba(255, 122, 61, 0.08);
  color: var(--e-text);
}

.wiki-sidebar-list a.is-active {
  background: rgba(255, 122, 61, 0.14);
  color: var(--e-text);
  box-shadow: inset 2px 0 0 var(--e-ember);
}

.wiki-article {
  min-width: 0;
}

.wiki-article-head {
  margin-bottom: 22px;
}

.wiki-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--e-muted);
}

/* whole image, never cropped: banners often carry their title at the top */
.wiki-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--e-line-soft);
  margin-bottom: 26px;
}

.wiki-notice {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(214, 168, 102, 0.35);
  background: rgba(214, 168, 102, 0.08);
  color: var(--e-brass);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.wiki-toc {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--e-line-soft);
  background: rgba(20, 12, 8, 0.6);
  margin-bottom: 26px;
  font-size: 14px;
}

.wiki-toc strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--e-brass);
  margin-bottom: 8px;
}

.wiki-toc ol {
  list-style: none;
  display: grid;
  gap: 4px;
}

.wiki-toc .lvl-3 {
  padding-left: 16px;
}

.wiki-toc a {
  color: var(--e-body);
  text-decoration: none;
}

.wiki-toc a:hover {
  color: var(--e-ember);
}

/* article typography */
.wiki-prose {
  color: var(--e-body);
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 76ch;
}

.wiki-prose > * + * {
  margin-top: 1em;
}

.wiki-prose h2,
.wiki-prose h3,
.wiki-prose h4 {
  font-family: var(--e-serif);
  color: var(--e-text);
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-top: 1.8em;
  scroll-margin-top: 90px;
}

.wiki-prose h2 { font-size: 26px; }
.wiki-prose h3 { font-size: 20px; }
.wiki-prose h4 { font-size: 17px; }

.wiki-prose a {
  color: var(--e-ember);
  text-underline-offset: 3px;
}

.wiki-prose strong,
.wiki-prose b {
  color: var(--e-text);
}

.wiki-prose ul,
.wiki-prose ol {
  padding-left: 1.4em;
}

.wiki-prose li + li {
  margin-top: 0.35em;
}

.wiki-prose blockquote {
  padding: 12px 18px;
  border-left: 3px solid var(--e-ember);
  background: rgba(255, 122, 61, 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--e-text);
}

.wiki-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.wiki-prose figure figcaption {
  font-size: 13px;
  color: var(--e-muted);
  text-align: center;
  margin-top: 6px;
}

.wiki-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.wiki-prose th,
.wiki-prose td {
  border: 1px solid var(--e-line-soft);
  padding: 8px 12px;
  text-align: left;
}

.wiki-prose th {
  background: rgba(214, 168, 102, 0.08);
  color: var(--e-text);
}

.wiki-prose code {
  background: rgba(42, 26, 18, 0.9);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.92em;
}

.wiki-prose pre {
  background: rgba(20, 12, 8, 0.9);
  border: 1px solid var(--e-line-soft);
  border-radius: 8px;
  padding: 14px;
  overflow-x: auto;
}

.wiki-prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  border: 0;
}

.wiki-prose hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 102, 0.5), transparent);
}

.wiki-pager {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wiki-pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--e-line-soft);
  background: var(--e-panel);
  color: var(--e-text);
  text-decoration: none;
  font-weight: 600;
}

.wiki-pager a:hover {
  border-color: var(--e-ember);
}

.wiki-pager small {
  color: var(--e-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wiki-pager-next {
  text-align: right;
  grid-column: 2;
}

.wiki-empty {
  color: var(--e-muted);
  font-size: 15px;
  padding: 24px 0;
}

.news-list {
  padding-bottom: 24px;
}

.wiki-pagination {
  padding: 8px 0 80px;
}

.wiki-pagination nav ul,
.wiki-pagination .pagination {
  display: flex;
  gap: 10px;
  list-style: none;
}

.wiki-pagination a,
.wiki-pagination span {
  color: var(--e-brass);
}

.wiki-footer {
  border-top: 1px solid var(--e-line-soft);
  background: #0a0605;
  padding: 28px 0;
}

.wiki-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--e-muted);
  font-size: 13px;
}

.wiki-footer a {
  color: var(--e-muted);
}

.wiki-footer a:hover {
  color: var(--e-ember);
}

@media (max-width: 960px) {
  .wiki-layout,
  .wiki-layout--article {
    grid-template-columns: 1fr;
  }

  .wiki-aside {
    position: static;
  }

  .wiki-sidebar {
    order: 2;
  }
}

@media (max-width: 640px) {
  .wiki-header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .wiki-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .wiki-pager {
    grid-template-columns: 1fr;
  }

  .wiki-pager-next {
    grid-column: 1;
  }
}

/* ==========================================================================
   ERROR PAGES (resources/views/errors/minimal.blade.php)
   ========================================================================== */
.error-main {
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 96px) 16px;
  background: radial-gradient(640px 420px at 50% 40%, rgba(74, 38, 22, 0.55), rgba(17, 11, 8, 0) 70%);
}

.error-card {
  width: 100%;
  max-width: 620px;
  text-align: center;
  padding: clamp(32px, 5vw, 52px) clamp(22px, 5vw, 48px);
  border-radius: 16px;
  border: 1px solid var(--e-line);
  background: linear-gradient(160deg, rgba(58, 34, 22, 0.6), rgba(20, 12, 8, 0.9));
  box-shadow: 0 0 60px rgba(255, 122, 61, 0.12), 0 30px 60px rgba(0, 0, 0, 0.5);
}

.error-code {
  display: block;
  font-family: var(--e-serif);
  font-weight: 900;
  font-size: clamp(72px, 14vw, 128px);
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffc79a 0%, var(--e-ember) 55%, var(--e-ember-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 122, 61, 0.35));
}

.error-title {
  margin-top: 14px;
  font-size: clamp(26px, 4vw, 38px);
}

.error-text {
  margin: 14px auto 0;
  max-width: 46ch;
  color: var(--e-body);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.error-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.error-actions .start-link {
  margin-top: 0;
  height: 48px;
  display: inline-flex;
  align-items: center;
}

.error-actions .error-home {
  min-width: 0;
  height: 48px;
  padding: 0 26px 0 calc(26px + 0.24em);
  font-size: 15px;
  letter-spacing: 0.24em;
  box-shadow: 0 0 26px rgba(255, 122, 61, 0.4), inset 0 1px 0 #ffe3cc;
}

/* ==========================================================================
   NEWS & GUIDES (CMS on the home page) + /news tag tabs
   ========================================================================== */
.cms-section {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
}

.cms-section[hidden] {
  display: none;
}

.cms-more {
  margin-top: 14px;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.news-tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--e-line-soft);
  color: var(--e-muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-tabs a:hover {
  color: var(--e-text);
  border-color: var(--e-line);
}

.news-tabs a.is-active {
  color: #1e0c04;
  background: var(--e-play-grad);
  border-color: transparent;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .echo-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding-top: 112px;
    row-gap: 36px;
  }

  .echo-copy { grid-row: 1; max-width: 560px; }
  .echo-fan  { grid-column: 1; grid-row: 2; max-width: 640px; }
  .echo-bar  { grid-row: 3; }
}

@media (max-width: 768px) {
  /* the hero realm card replaces the old floating server bar */
  .mobile-servers {
    display: none !important;
  }

  .header {
    background: rgba(17, 11, 8, 0.82);
    border-bottom: 1px solid var(--e-line-soft);
  }

  .nav-menu {
    background: rgba(17, 11, 8, 0.97);
    border-right: 1px solid var(--e-line-soft);
  }

  .nav-menu li a {
    font-size: 18px;
    color: var(--e-text);
  }

  .login-btn {
    padding: 9px 16px;
    font-size: 11.5px;
  }

  .echo-hero {
    padding: 92px 16px 0;
    row-gap: 28px;
  }

  .echo-title { font-size: 40px; }
  .echo-lead  { font-size: 15.5px; }
  .echo-realm { padding: 14px; gap: 12px; }
  .echo-realm-orb { width: 46px; height: 46px; }
  .echo-realm-info b { font-size: 16px; }

  .fan-card { border-radius: 8px; }
  .fan-card figcaption { padding: 0 6px; bottom: 6px; letter-spacing: 0.08em; }
  .fan-card figcaption small { display: none; }
  .fan-3 figcaption small { display: block; }
  .echo-fan-caption { font-size: 10.5px; top: 91%; }

  .echo-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding-bottom: 32px;
  }

  .echo-bar-right { order: -1; align-items: stretch; }
  .echo-selected { text-align: center; }
  .echo-play { width: 100%; min-width: 0; font-size: 20px; }
  .echo-bar-left { flex-direction: column; gap: 12px; }
  .echo-socials { flex-wrap: wrap; justify-content: center; }

  .event-popup { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::before { animation: none; }
  .fan-card:hover { transform: rotate(var(--r)) translateY(var(--y)); }
  .echo-play:hover { transform: none; }
}

/* ===========================================================
   LAUNCH COUNTDOWN (hero; backend > Settings > Launch countdown)
   =========================================================== */
.echo-countdown {
  margin-top: 24px;
  max-width: 420px;
}

.echo-countdown[hidden] {
  display: none;
}

.echo-countdown-label {
  display: block;
  font-family: var(--e-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-ember);
}

.echo-countdown-units {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.echo-countdown-units span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px 10px;
  border: 1px solid var(--e-line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 122, 61, 0.12), rgba(20, 12, 8, 0.85));
}

.echo-countdown-units b {
  font-family: var(--e-serif);
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--e-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.echo-countdown-units small {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-muted);
}

.echo-countdown-date {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--e-body);
}

@media (max-width: 480px) {
  .echo-countdown-units { gap: 6px; }
  .echo-countdown-units b { font-size: 24px; }
}

/* .echo-play used on a <button> (newsletter unsubscribe) */
button.echo-play {
  border: 0;
  cursor: pointer;
}

/* ===========================================================
   EVENT CALENDAR (backend > Event calendar, live.js)
   =========================================================== */
.cal-section {
  --cal-cols: 7;
  padding: var(--section-spacing) 0;
  background:
    radial-gradient(800px 420px at 10% 0%, rgba(214, 168, 102, 0.10), rgba(17, 11, 8, 0) 70%),
    radial-gradient(700px 420px at 95% 100%, rgba(255, 122, 61, 0.10), rgba(17, 11, 8, 0) 70%),
    linear-gradient(180deg, #1b100b 0%, #120b08 100%);
  border-top: 1px solid var(--e-line-soft);
}

.cal-section[hidden] {
  display: none;
}

.cal-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-range {
  font-family: var(--e-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--e-brass);
  margin-right: 8px;
  white-space: nowrap;
}

.cal-btn,
.cal-today {
  height: 40px;
  border: 1px solid var(--e-line);
  border-radius: 8px;
  background: rgba(28, 18, 12, 0.9);
  color: var(--e-text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cal-btn {
  width: 40px;
  display: grid;
  place-items: center;
}

.cal-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal-today {
  padding: 0 16px;
  font-family: var(--e-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cal-btn:hover,
.cal-today:hover {
  background: var(--e-ember-deep);
  border-color: var(--e-ember);
  box-shadow: 0 0 16px rgba(255, 122, 61, 0.35);
}

.cal-btn:focus-visible,
.cal-today:focus-visible,
.cal-bar:focus-visible {
  outline: 2px solid var(--e-ember);
  outline-offset: 2px;
}

/* board: day header + lanes on the same column grid */
.cal-board {
  border: 1px solid var(--e-line-soft);
  border-radius: 14px;
  background: var(--e-panel);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.cal-days,
.cal-lanes {
  display: grid;
  grid-template-columns: repeat(var(--cal-cols), minmax(0, 1fr));
}

.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 6px 12px;
  border-right: 1px solid var(--e-line-soft);
  border-bottom: 1px solid var(--e-line-soft);
  position: relative;
}

.cal-day:last-child {
  border-right: 0;
}

.cal-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--e-muted);
}

.cal-day-num {
  font-family: var(--e-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--e-text);
}

.cal-day-month {
  min-height: 14px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--e-brass);
}

.cal-day.is-weekend .cal-day-num {
  color: var(--e-body);
}

.cal-day.is-today {
  background: linear-gradient(180deg, rgba(255, 122, 61, 0.22), rgba(255, 122, 61, 0.04));
}

.cal-day.is-today::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 2px;
  background: var(--e-ember);
  box-shadow: 0 0 10px var(--e-ember);
}

.cal-day.is-today .cal-day-num,
.cal-day.is-today .cal-day-name {
  color: #ffd3b5;
}

.cal-lanes {
  grid-template-rows: repeat(var(--cal-rows, 1), 48px);
  row-gap: 8px;
  padding: 14px 0 18px;
  min-height: 92px;
  /* column guides under the bars */
  background-image: linear-gradient(to right, var(--e-line-soft) 1px, transparent 1px);
  background-size: calc(100% / var(--cal-cols)) 100%;
  background-position: -1px 0;
}

.cal-bar {
  --c1: #ffc79a;
  --c2: #ff7a3d;
  --c3: #b8431b;
  --glow: rgba(255, 122, 61, 0.45);
  margin: 0 6px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(100deg, var(--c3) 0%, var(--c2) 55%, var(--c1) 130%);
  color: #1d0d05;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.cal-bar:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 22px var(--glow);
}

.cal-bar[aria-pressed="true"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 2px #fff3e6, 0 0 26px var(--glow);
}

.cal-bar.cuts-left {
  margin-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.cal-bar.cuts-right {
  margin-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.cal-bar-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--e-serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cal-bar-time {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}

.cal-bar.is-live .cal-bar-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: cal-pulse 1.8s infinite;
  vertical-align: 1px;
}

@keyframes cal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.cal-bar--gold    { --c1: #fff0c9; --c2: #d6a866; --c3: #8a6326; --glow: rgba(214, 168, 102, 0.45); }
.cal-bar--violet  { --c1: #ddd1ff; --c2: #8b5cf6; --c3: #4c1d95; --glow: rgba(139, 92, 246, 0.5); color: #fff; }
.cal-bar--emerald { --c1: #c9f7e4; --c2: #10b981; --c3: #065f46; --glow: rgba(16, 185, 129, 0.45); color: #04140d; }
.cal-bar--azure   { --c1: #d4f1ff; --c2: #38bdf8; --c3: #0c4a6e; --glow: rgba(56, 189, 248, 0.45); color: #031421; }
.cal-bar--crimson { --c1: #ffd0da; --c2: #e11d48; --c3: #7f1d1d; --glow: rgba(225, 29, 72, 0.5); color: #fff; }

.cal-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  text-align: center;
  color: var(--e-muted);
  font-size: 14px;
}

/* details card */
.cal-detail {
  --accent: var(--e-ember);
  --accent-soft: rgba(255, 122, 61, 0.18);
  margin-top: 18px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  border: 1px solid var(--e-line-soft);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(600px 240px at 0% 0%, var(--accent-soft), transparent 70%),
    var(--e-panel);
}

.cal-detail[hidden] {
  display: none;
}

.cal-detail--gold    { --accent: #d6a866; --accent-soft: rgba(214, 168, 102, 0.18); }
.cal-detail--violet  { --accent: #8b5cf6; --accent-soft: rgba(139, 92, 246, 0.18); }
.cal-detail--emerald { --accent: #10b981; --accent-soft: rgba(16, 185, 129, 0.16); }
.cal-detail--azure   { --accent: #38bdf8; --accent-soft: rgba(56, 189, 248, 0.16); }
.cal-detail--crimson { --accent: #e11d48; --accent-soft: rgba(225, 29, 72, 0.18); }

.cal-detail-art {
  position: relative;
  min-height: 190px;
  border-right: 1px solid var(--e-line-soft);
}

.cal-detail-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cal-detail-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(20, 12, 8, 0.85));
  box-shadow: inset 4px 0 0 var(--accent);
}

.cal-detail-body {
  padding: clamp(18px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cal-detail-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cal-detail-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--e-brass);
}

.cal-detail-status {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(168, 143, 122, 0.18);
  color: var(--e-body);
}

.cal-detail-status.is-live {
  background: #22c55e;
  color: #04210f;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.cal-detail-status.is-soon {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: #ffe9d8;
}

.cal-detail-title {
  margin: 0;
  font-family: var(--e-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--e-text);
}

.cal-detail-text {
  margin: 0;
  color: var(--e-body);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
}

.cal-detail-text:empty {
  display: none;
}

.cal-detail-link {
  align-self: flex-start;
}

.cal-detail-link[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .cal-head {
    align-items: flex-start;
  }

  .cal-nav {
    width: 100%;
  }

  .cal-range {
    flex: 1;
    margin-right: 0;
    font-size: 13.5px;
  }

  .cal-day-num {
    font-size: 22px;
  }

  .cal-bar {
    margin: 0 4px;
    padding: 0 10px;
  }

  .cal-bar-time {
    display: none;
  }

  .cal-detail {
    grid-template-columns: 1fr;
  }

  .cal-detail-art {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--e-line-soft);
  }

  .cal-detail-art::after {
    background: linear-gradient(180deg, transparent 30%, rgba(20, 12, 8, 0.9));
    box-shadow: inset 0 4px 0 var(--accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cal-bar,
  .cal-bar.is-live .cal-bar-title::before {
    animation: none;
    transition: none;
  }
}

/* Main features without JavaScript (or before Splide starts): cards stay visible as a scrollable row
   instead of the invisible block Splide uses until it is mounted */
.features-splide:not(.is-initialized) {
  visibility: visible;
}

.features-splide:not(.is-initialized) .splide__track {
  overflow-x: auto;
  scrollbar-width: thin;
}

.features-splide:not(.is-initialized) .splide__list {
  gap: 16px;
}

.features-splide:not(.is-initialized) .splide__slide {
  flex: 0 0 min(288px, 80vw);
}

/* whatever state Splide is in (not mounted, destroyed during a resize, inactive),
   the cards stay one horizontal row; without an active carousel the row scrolls */
.features-splide .splide__list {
  display: flex !important;
  flex-direction: row;
}

.features-splide .splide__slide {
  flex-shrink: 0;
}

.features-splide.is-initialized:not(.is-active) .splide__track {
  overflow-x: auto;
}

.features-splide.is-initialized:not(.is-active) .splide__slide {
  flex: 0 0 min(288px, 80vw);
  margin-right: 16px;
}
