/* =========================================================================
   Daedric Online — marketing site
   Brand tokens lifted verbatim from the daedric-launcher stylesheet.
   Dark theme only. Self-contained: no external requests.
   ========================================================================= */

/* ------------------------------- Fonts -------------------------------- */
@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel-1.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel-0.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

/* ------------------------------- Tokens ------------------------------- */
:root {
  --gold:         #cbb37c;
  --gold-dim:     #9a8a63;
  --red:          #b03535;
  --red-deep:     #6e1f1f;
  --ink:          #0b0a0c;
  --ink-2:        #100d10;
  --panel:        rgba(16, 13, 16, 0.78);
  --panel-glass:  rgba(13, 11, 14, 0.72);
  --panel-border: #3a3138;
  --text:         #e8e4dc;
  --text-dim:     #97928a;
  --ember:        #ffab72;
  --ok-green:     #5cb85c;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body:    Georgia, "Times New Roman", serif;

  --hairline: linear-gradient(90deg, rgba(203,179,124,.35), rgba(203,179,124,.06) 55%, transparent);

  --maxw: 1200px;
  --pad:  clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
b { color: #f1ede4; font-weight: 700; }
code, kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .86em;
  color: var(--gold);
  background: rgba(203,179,124,.08);
  border: 1px solid rgba(203,179,124,.18);
  border-radius: 3px;
  padding: .05em .38em;
}
kbd { color: var(--text); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.svg-defs { position: absolute; }

::selection { background: rgba(176,53,53,.5); color: #fff; }

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* scrollbar polish */
* { scrollbar-width: thin; scrollbar-color: var(--gold-dim) var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a332b; border: 3px solid var(--ink); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--red); color: #f4e8da; padding: 10px 18px;
  font-family: var(--display); letter-spacing: 2px; text-transform: uppercase; font-size: 12px;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ------------------------------ Layout -------------------------------- */
.wrap { width: min(var(--maxw), 100%); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { width: min(820px, 100%); }

.band { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.band + .band { border-top: 1px solid rgba(58,49,56,.5); }

/* ------------------------ Shared type helpers ------------------------- */
.label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: .5px;
  color: #f1ecdf;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .label { display: inline-block; }
.lede {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--text-dim);
  max-width: 68ch;
  margin: 0;
}
.lede--center { margin-inline: auto; }
em { color: var(--gold); font-style: italic; }

/* ============================== NAV =================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(8,7,9,.94), rgba(8,7,9,.72) 70%, rgba(8,7,9,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(9,8,10,.92);
  border-bottom-color: rgba(58,49,56,.7);
}
.nav__inner {
  width: min(var(--maxw), 100%); margin-inline: auto;
  padding: 12px var(--pad);
  display: flex; align-items: center; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.brand__sigil {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(176,53,53,.55));
}
.brand__word {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(176,53,53,.35);
  white-space: nowrap;
}

.nav__links { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__links > a:not(.btn) {
  font-family: var(--display);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 2px;
  white-space: nowrap;
  transition: color .15s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--gold); }
.nav__discord { color: var(--text) !important; }
.nav__cta { padding: 9px 20px !important; font-size: 11px !important; }

/* Patreon button — gold accent so it stands out in the nav */
.nav__patreon {
  color: var(--gold);
  border: 1px solid rgba(203,179,124,.5);
  background: rgba(203,179,124,.08);
  padding: 9px 16px; font-size: 11px; letter-spacing: 2px; font-weight: 700;
}
.nav__patreon .btn__ico { width: 14px; height: 14px; }
.nav__patreon:hover {
  color: #f4ecd6; border-color: var(--gold);
  background: rgba(203,179,124,.16);
  box-shadow: 0 0 16px rgba(203,179,124,.22);
}

.nav__toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--panel-border); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 2px; background: var(--gold); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================== BUTTONS =============================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); text-transform: uppercase;
  cursor: pointer; user-select: none;
  transition: color .15s var(--ease), border-color .15s var(--ease),
              background .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.btn__ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* primary — clipped-corner red slab with sheen */
.btn--play {
  position: relative; overflow: hidden;
  font-weight: 700; font-size: 16px; letter-spacing: 4px;
  padding: 16px 40px; color: #f4e8da;
  background:
    linear-gradient(180deg, #93282833, #5f1c1c66),
    linear-gradient(180deg, #8f2a2a, #521818);
  border: 1px solid var(--red);
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  box-shadow: 0 4px 24px rgba(176,53,53,.25);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.btn--play .btn__ico { stroke-width: 1.9; }
.btn--play::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,235,210,.28), transparent);
  transform: skewX(-18deg);
  animation: playsheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
.btn--play:hover {
  color: #fff;
  background:
    linear-gradient(180deg, #a82f2f44, #6e1f1f77),
    linear-gradient(180deg, #a83030, #611c1c);
  box-shadow: 0 6px 34px rgba(176,53,53,.5), 0 0 0 1px rgba(203,179,124,.25) inset;
  transform: translateY(-1px);
}
.btn--big { font-size: 19px; letter-spacing: 5px; padding: 19px 58px; }

@keyframes playsheen {
  0%, 62%  { left: -60%; }
  78%      { left: 130%; }
  100%     { left: 130%; }
}

/* secondary / ghost */
.btn--ghost {
  font-size: 12px; letter-spacing: 2px; font-weight: 700;
  padding: 14px 26px; color: var(--text);
  background: rgba(38,31,35,.85);
  border: 1px solid #5a534f;
}
.btn--ghost:hover { color: var(--gold); border-color: var(--gold); background: rgba(48,40,44,.9); }
.nav__cta.btn--ghost { background: rgba(38,31,35,.6); }

/* ============================== HERO ================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__art {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 90% 55% at 72% -10%, rgba(96,48,40,.35), transparent 60%),
    linear-gradient(168deg, rgba(19,14,20,.62) 0%, rgba(11,9,13,.72) 45%, rgba(15,9,10,.85) 100%),
    url("assets/key-art.webp") center / cover no-repeat,
    var(--ink);
  transform: scale(1.06);
  will-change: transform;
}
/* bottom + edge vignette so text always reads */
.hero__vignette {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 40%, rgba(6,5,7,.55) 100%),
    linear-gradient(0deg, var(--ink) 2%, rgba(11,10,12,.2) 32%, transparent 55%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 880px; display: flex; flex-direction: column; align-items: center; }

.hero__logo {
  width: clamp(230px, 34vw, 420px); height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.6)) drop-shadow(0 0 60px rgba(176,53,53,.28));
  animation: logoIn 1.1s var(--ease) both;
}
/* faint red bloom seat behind the transparent emblem */
.hero__inner::before {
  content: ""; position: absolute; top: -4%; left: 50%; z-index: -1;
  width: min(560px, 90vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(176,53,53,.20), rgba(110,31,31,.08) 42%, transparent 66%);
  pointer-events: none;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.hero__kicker {
  font-family: var(--display); font-weight: 700;
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin: 6px 0 14px;
}
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5.4vw, 62px); line-height: 1.08; letter-spacing: 1px;
  margin: 0 0 20px; color: #f4efe3;
  text-shadow: 0 2px 24px rgba(0,0,0,.7);
  text-wrap: balance;
}
.hero__title em { color: var(--gold); font-style: italic; display: inline-block; }
.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px); color: #cfc9bf;
  max-width: 56ch; margin: 0 auto 34px;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.hero__actions--center { margin-top: 34px; }

/* status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 30px 0 0; padding: 7px 16px 7px 13px;
  background: rgba(12,20,12,.55);
  border: 1px solid rgba(92,184,92,.35);
  border-radius: 999px;
  font-family: var(--display); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #cfe6cf;
}
.status-pill__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok-green);
  box-shadow: 0 0 8px 1px rgba(92,184,92,.9);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 6px 1px rgba(92,184,92,.7); } 50% { box-shadow: 0 0 12px 3px rgba(92,184,92,.95); } }
.status-pill--sm { margin: 14px 0 0; padding: 5px 12px; font-size: 10px; letter-spacing: 2px; }

/* hero badge row: Server Online · Open Alpha · No Whitelist */
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.hero__pills .status-pill { margin: 0; }
.status-pill--alpha { background: rgba(26,18,10,.6); border-color: rgba(203,179,124,.42); color: var(--gold); }
.status-pill--alpha .status-pill__dot { background: var(--gold); box-shadow: 0 0 8px 1px rgba(203,179,124,.85); }
.status-pill--open { background: rgba(22,12,12,.55); border-color: rgba(176,53,53,.4); color: #e7bcb4; }

/* scroll cue — an animated down-chevron (reads clearly as "scroll") */
.hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 34px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.hero__scroll span {
  width: 13px; height: 13px;
  border-right: 2px solid rgba(203,179,124,.7);
  border-bottom: 2px solid rgba(203,179,124,.7);
  animation: scrollChevron 1.8s var(--ease) infinite;
}
@keyframes scrollChevron {
  0%       { opacity: 0; transform: rotate(45deg) translate(-3px,-3px); }
  40%      { opacity: 1; }
  80%,100% { opacity: 0; transform: rotate(45deg) translate(4px,4px); }
}

/* embers */
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -10px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 6px 1px rgba(255,150,90,.8);
  opacity: 0;
  animation: emberrise linear infinite;
}
@keyframes emberrise {
  0%   { transform: translate(0,0);        opacity: 0; }
  8%   { opacity: .9; }
  60%  { opacity: .5; }
  100% { transform: translate(24px,-190px); opacity: 0; }
}

/* ========================= WORLD / POSITIONING ======================= */
.world { text-align: center; background: var(--ink); }
.world .wrap { max-width: 900px; }
.world .label { display: inline-block; }
.world .section-title { margin-inline: auto; max-width: 22ch; }
.world .lede { margin: 0 auto 8px; }

.stats {
  list-style: none; margin: clamp(38px, 5vw, 60px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: rgba(58,49,56,.5);
  border: 1px solid rgba(58,49,56,.5);
}
.stat {
  background: var(--ink);
  padding: 24px 12px;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.stat__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px); color: var(--gold);
  line-height: 1; letter-spacing: 1px;
  text-shadow: 0 0 22px rgba(203,179,124,.25);
}
.stat__label {
  font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-dim); font-family: var(--display);
}

/* ============================ PHILOSOPHY ============================= */
.creed { background: var(--ink); }
.creed-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px); align-items: stretch;
}
.creed-card {
  background: var(--panel-glass);
  border: 1px solid var(--panel-border);
  border-top: 3px solid var(--red);
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  padding: 32px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.creed-card .card__ico { width: 34px; height: 34px; }
.creed-card__title {
  font-family: var(--display); font-weight: 700;
  font-size: 17px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold); margin: 2px 0 0;
}
.creed-card p { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 760px) {
  .creed-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ============================ FEATURES =============================== */
.features { background: linear-gradient(180deg, var(--ink), #0d0b0e 40%, var(--ink)); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;      /* equal-height boxes across each row */
  grid-auto-flow: row dense; /* the wide card never leaves a gap */
}
.card {
  position: relative;
  background: var(--panel-glass);
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--red);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  padding: 26px 26px 28px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.5), 0 0 22px rgba(176,53,53,.12);
  border-left-color: #d24a4a;
}
.card--wide { grid-column: span 2; }

.card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 8px; padding-bottom: 14px; background: var(--hairline) bottom left / 100% 1px no-repeat; }
.card__ico {
  width: 30px; height: 30px; flex: none;
  fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(203,179,124,.3));
}
.card__title {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin: 0; line-height: 1.25;
}
.card__tag {
  display: inline-block; margin-left: 6px;
  font-size: 9.5px; letter-spacing: 2px; color: var(--red);
  border: 1px solid rgba(176,53,53,.45); border-radius: 3px;
  padding: 2px 7px; vertical-align: middle; white-space: nowrap;
}

.card__list { list-style: none; margin: 18px 0 0; padding: 0; }
.card__list li {
  position: relative; padding-left: 20px; margin-bottom: 11px;
  color: var(--text-dim); font-size: 15.5px; line-height: 1.5;
}
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 6px; height: 6px; transform: rotate(45deg);
  background: var(--red); box-shadow: 0 0 5px rgba(176,53,53,.6);
}
.card__list li:last-child { margin-bottom: 0; }
.card__list--cols { columns: 2; column-gap: 34px; }
.card__list--cols li { break-inside: avoid; }

.features__more {
  text-align: center; margin: clamp(40px, 5vw, 60px) 0 0;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(15px, 2vw, 20px); letter-spacing: 4px; color: var(--gold-dim);
}
.features__more em { color: var(--gold); font-style: italic; letter-spacing: 3px; }

/* ============================ HOW TO JOIN ============================ */
.join { overflow: hidden; }
.join__art {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(11,10,12,.86) 30%, rgba(11,10,12,.9) 70%, var(--ink) 100%),
    url("assets/key-art-ruins.webp") center / cover no-repeat fixed;
  opacity: .9;
}
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; counter-reset: step; }
.step {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 0;
  background: var(--hairline) bottom left / 100% 1px no-repeat;
}
.step:last-child { background: none; }
.step__num {
  flex: none; width: 54px; height: 54px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--gold);
  background: rgba(16,13,16,.8);
  border: 1px solid var(--panel-border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 18px rgba(176,53,53,.15) inset;
}
.step__body { padding-top: 3px; }
.step__title {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #f1ecdf; margin: 0 0 8px;
}
.step__body p { margin: 0; color: var(--text-dim); font-size: 16px; }
.step__btn { margin-top: 16px; }

.join__stuck {
  text-align: center; margin: clamp(30px, 4vw, 46px) auto 0; max-width: 680px;
  font-size: 17px; color: var(--text-dim);
  background: var(--panel-glass); border: 1px solid var(--panel-border); border-left: 4px solid var(--red);
  padding: 18px 24px;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.join__stuck a { border-bottom: 1px solid rgba(203,179,124,.4); }
.join__stuck a:hover { color: #fff; border-color: var(--gold); }

/* ============================ DOWNLOAD ============================== */
.download { background: var(--ink); }
.download__panel {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(96,40,40,.22), transparent 62%),
    var(--panel-glass);
  border: 1px solid var(--panel-border);
  box-shadow: 0 4px 28px rgba(0,0,0,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: clamp(38px, 6vw, 68px) var(--pad);
  position: relative; overflow: hidden;
}
.download__panel .label { display: inline-block; }
.download__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 34px 0 26px; }
.dl-version {
  font-family: var(--display); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-dim);
}
.download__reqs { font-size: 14px; color: var(--text-dim); margin: 0; max-width: 60ch; margin-inline: auto; }

/* ============================ COMMUNITY ============================= */
.community { text-align: center; background: linear-gradient(180deg, var(--ink), #0d0b0e); }
.community__inner .label { display: inline-block; }
.community__support { margin: 24px auto 0; max-width: 62ch; font-size: 15px; color: var(--text-dim); }
.community__support a { color: var(--gold); border-bottom: 1px solid rgba(203,179,124,.4); }
.community__support a:hover { color: #fff; border-color: var(--gold); }

/* ============================== FOOTER ============================== */
.footer { background: #08070a; border-top: 1px solid rgba(58,49,56,.7); padding-block: 48px 30px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; }
.brand--footer .brand__word { font-size: 16px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__kicker {
  font-family: var(--display); font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim); margin: 0;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__links a {
  font-family: var(--display); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim);
}
.footer__links a:hover { color: var(--gold); }

.footer__legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(58,49,56,.4); }
.disclaimer { font-size: 12.5px; line-height: 1.7; color: #6f6a63; max-width: 90ch; margin: 0 0 10px; }
.copyright { font-size: 12.5px; color: var(--text-dim); margin: 0; font-family: var(--display); letter-spacing: 1px; }

/* ============================ SCROLL REVEAL ========================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.cards .card.reveal { transition-delay: var(--d, 0s); }

/* ============================== RESPONSIVE =========================== */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .card__list--cols { columns: 1; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9,8,10,.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 84px 24px 28px;
    border-bottom: 1px solid var(--panel-border);
    transform: translateY(-100%);
    transition: transform .28s var(--ease);
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links > a:not(.btn) { padding: 15px 4px; font-size: 14px; border-bottom: 1px solid rgba(58,49,56,.4); }
  .nav__patreon { margin-top: 14px; justify-content: center; padding: 13px 20px; font-size: 12px; }
  .nav__cta { margin-top: 12px; justify-content: center; padding: 14px 20px !important; font-size: 12px !important; }
  .nav__discord { border-bottom: 1px solid rgba(58,49,56,.4); }
  .nav__toggle { display: flex; }
  .nav__inner { padding-block: 14px; }

  .stats { grid-template-columns: repeat(3, 1fr); }

  .hero__art { background-image:
      radial-gradient(ellipse 90% 55% at 72% -10%, rgba(96,48,40,.35), transparent 60%),
      linear-gradient(168deg, rgba(19,14,20,.62) 0%, rgba(11,9,13,.72) 45%, rgba(15,9,10,.85) 100%),
      url("assets/key-art-mobile.webp");
    background-size: cover; background-position: center; background-repeat: no-repeat;
  }
  .join__art { background-attachment: scroll; background-image:
      linear-gradient(180deg, var(--ink) 0%, rgba(11,10,12,.86) 30%, rgba(11,10,12,.9) 70%, var(--ink) 100%),
      url("assets/key-art-ruins-mobile.webp"); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .hero { padding-top: 104px; }
  .hero__title { font-size: clamp(25px, 7.6vw, 34px); letter-spacing: .3px; }
  .hero__sub { font-size: 16px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* keep long CTA labels on one line at narrow widths */
  .btn--play { font-size: 13.5px; letter-spacing: 2px; padding: 15px 20px; }
  .btn--ghost { font-size: 12px; letter-spacing: 2px; padding: 14px 20px; }
  .btn--big { font-size: 15px; letter-spacing: 2.5px; padding: 17px 22px; }

  .step { gap: 15px; }
  .step__num { width: 44px; height: 44px; font-size: 18px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================ REDUCED MOTION ========================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .embers, .hero__scroll { display: none; }
  .hero__art { transform: none; }
  .join__art { background-attachment: scroll; }
}
