/* ============ AEON — ARK: Survival Ascended ============
   Theme: ancient gold, fossil bone & deep forest (from the AEON crest) */
:root {
  --bg: #080a06;
  --panel: rgba(20, 24, 15, .8);
  --line: rgba(212, 166, 69, .16);
  --line-strong: rgba(212, 166, 69, .42);
  --text: #efe6d2;
  --body: #cdc3ab;
  --muted: #9d947e;
  --gold: #e2b24f;
  --gold-hi: #ffe08a;
  --gold-2: #a8701f;
  --gold-glow: rgba(226, 178, 79, .36);
  --leaf: #9cc66a;
  --bone: #e8dcc0;
  --danger: #e5534b;
  --ember: #e98a3a;
  --ink: #1d1405;
  --radius: 12px;
  --font-head: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gold-text: linear-gradient(180deg, #fff3c4 0%, #ffd56e 38%, #e2a73c 62%, #9b6418 100%);
  --gold-fill: linear-gradient(180deg, #ffe7a0 0%, #e2b24f 48%, #a8701f 100%);
  --frame: inset 0 0 0 4px rgba(8,10,6,.65), inset 0 0 0 5px var(--line);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  animation: page-in .7s cubic-bezier(.2,.8,.2,1) both;
}
body.leaving { animation: page-out .3s ease forwards; }
@keyframes page-in { from { opacity: 0; } }
@keyframes page-out { to { opacity: 0; } }

/* forest backdrop */
.backdrop { position: fixed; inset: 0; z-index: -3; pointer-events: none; }
.backdrop::before {
  content: ""; position: absolute; inset: -5%;
  background: url("assets/logo/aeon-bg.webp") center / cover no-repeat;
  opacity: .45; animation: breathe 24s ease-in-out infinite alternate;
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(8,10,6,.7) 55%, var(--bg) 88%),
    linear-gradient(180deg, rgba(8,10,6,.2), var(--bg) 95%);
}
@keyframes breathe { to { transform: scale(1.08) translate(-1%, 1%); } }
.fog { position: fixed; left: -50%; right: -50%; bottom: -10%; height: 45vh; z-index: -2; pointer-events: none; opacity: .35;
  background: radial-gradient(ellipse at 30% 100%, rgba(156,198,106,.12), transparent 60%), radial-gradient(ellipse at 70% 100%, rgba(226,178,79,.1), transparent 60%);
  animation: fog 30s linear infinite alternate; filter: blur(20px); }
@keyframes fog { to { transform: translateX(15%); } }
#embers { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 .8em; }
code { background: rgba(226,178,79,.1); color: var(--gold-hi); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
small { color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.muted { color: var(--muted); font-size: .92rem; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.gold-text { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.7em; border-radius: 6px;
  font: 700 .9rem var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--text);
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .3s, translate .2s;
}
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold-fill); color: var(--ink); border-color: #ffe08a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.25), 0 10px 40px -12px var(--gold-glow);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 3px rgba(226,178,79,.25), 0 16px 50px -8px var(--gold-glow); }
.btn-ghost { background: rgba(8,10,6,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(226,178,79,.12); border-color: var(--gold); }
.btn-sm { padding: .6em 1.1em; font-size: .74rem; }
.btn-lg { padding: 1.1em 2.2em; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 12px max(16px, calc((100% - 1240px) / 2));
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,10,6,.85); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: .7em; font: 900 1.25rem var(--font-head); letter-spacing: .22em; color: var(--text); }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 20px var(--gold-glow); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  color: var(--muted); padding: .5em .8em; font: 700 .78rem var(--font-head);
  letter-spacing: .14em; text-transform: uppercase; position: relative; transition: color .2s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: .1em; width: 5px; height: 5px; translate: -50% 0; rotate: 45deg;
  background: var(--gold); opacity: 0; scale: 0; transition: .3s; box-shadow: 0 0 8px var(--gold);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-hi); }
.nav-links a:hover::after, .nav-links a.active::after { opacity: 1; scale: 1; }
.nav-links .btn { margin-left: .7rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: .3s; }

/* ---------- Hero (home) ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; position: relative; padding: 110px 16px 90px; text-align: center; overflow: hidden; }
.hero-inner { max-width: 900px; position: relative; }
.logo-stage { position: relative; width: min(430px, 76vw); aspect-ratio: 1; margin: 0 auto 1.6rem; }
.logo-stage .rays {
  position: absolute; inset: -45%; z-index: -1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,214,110,.14) 0deg 3deg, transparent 3deg 14deg);
  mask-image: radial-gradient(circle, #000 22%, transparent 66%);
  animation: rays 50s linear infinite;
}
.logo-stage .rays.r2 { animation-direction: reverse; animation-duration: 75s; opacity: .55; inset: -30%; }
@keyframes rays { to { rotate: 360deg; } }
.logo-stage .halo { position: absolute; inset: -14%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(226,178,79,.42), transparent 62%); animation: halo 5s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.07); opacity: .7; } }
.logo-stage .ring { position: absolute; inset: -2%; border-radius: 50%; border: 1px solid rgba(255,224,138,.35); animation: ring 4s ease-out infinite; }
.logo-stage .ring.r2 { animation-delay: 2s; }
@keyframes ring { from { transform: scale(.96); opacity: .9; } to { transform: scale(1.32); opacity: 0; } }
.logo-tilt { width: 100%; height: 100%; transition: transform .25s ease-out; transform-style: preserve-3d; }
.hero-logo {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 60px -10px var(--gold-glow);
  animation: logo-in 1.6s cubic-bezier(.2,.8,.2,1) both, float 7s ease-in-out 1.6s infinite;
}
@keyframes logo-in { from { opacity: 0; transform: scale(.6) rotate(-25deg); filter: blur(12px) brightness(2); } }
@keyframes float { 50% { translate: 0 -12px; } }
.logo-stage .shine { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; mix-blend-mode: overlay; }
.logo-stage .shine::before {
  content: ""; position: absolute; top: -50%; bottom: -50%; width: 30%; left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: rotate(25deg);
  animation: logo-shine 7s ease-in-out 2s infinite;
}
@keyframes logo-shine { 0% { left: -60%; } 30%, 100% { left: 140%; } }
.tagline { font: 700 clamp(1.3rem, 3.2vw, 2.2rem) var(--font-head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .7rem; }
.tagline span { display: inline-block; opacity: 0; transform: translateY(20px); animation: word-in .8s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero-sub { font-size: clamp(1rem, 2vw, 1.12rem); color: var(--body); max-width: 600px; margin: 0 auto 2.2rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ornaments ---------- */
.flourish { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 0 auto 1rem; max-width: 300px; }
.flourish::before, .flourish::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.flourish::after { background: linear-gradient(90deg, var(--gold), transparent); }
.flourish i { width: 8px; height: 8px; rotate: 45deg; background: var(--gold); box-shadow: 0 0 10px var(--gold), -14px 14px 0 -2px rgba(226,178,79,.5), 14px -14px 0 -2px rgba(226,178,79,.5); }
.section-head .flourish { margin-left: 0; justify-content: flex-start; max-width: 180px; }
.section-head .flourish::before { display: none; }
.section-head.center .flourish { margin-inline: auto; justify-content: center; max-width: 300px; }
.section-head.center .flourish::before { display: block; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: 150px 0 50px; text-align: center; position: relative; }
.page-hero::before { content: ""; position: absolute; left: 50%; top: 40px; width: min(760px, 100%); height: 420px; translate: -50% 0; background: radial-gradient(ellipse, rgba(226,178,79,.17), transparent 65%); z-index: -1; }
.page-hero .crest { width: 104px; height: 104px; margin: 0 auto 1.2rem; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 40px var(--gold-glow); animation: crest-in 1s cubic-bezier(.2,.8,.2,1) both, float 7s ease-in-out 1s infinite; }
@keyframes crest-in { from { opacity: 0; transform: scale(.5) rotate(-90deg); } }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; letter-spacing: .08em; margin: 0 0 .25em; filter: drop-shadow(0 4px 20px rgba(0,0,0,.6)); opacity: 0; transform: translateY(20px); animation: word-in .9s .15s cubic-bezier(.2,.8,.2,1) forwards; }
.page-hero p { color: var(--body); max-width: 620px; margin: 0 auto; font-size: 1.06rem; opacity: 0; transform: translateY(20px); animation: word-in .9s .3s cubic-bezier(.2,.8,.2,1) forwards; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section.tight { padding-top: 10px; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(16,20,12,.75) 12%, rgba(16,20,12,.75) 88%, transparent); }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .1em; }
.lead { color: var(--body); font-size: 1.05rem; }
.by { color: var(--gold); font-size: .9rem; white-space: nowrap; font-family: var(--font-head); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.card {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 1.4rem; backdrop-filter: blur(8px); position: relative; box-shadow: var(--frame);
}
.card h3 { font-size: 1.12rem; color: var(--gold-hi); }
.card p:last-child { margin-bottom: 0; }
.glow { --mx: 50%; --my: 50%; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,214,110,.12), transparent 60%);
}
.glow:hover::before { opacity: 1; }

/* ---------- Home ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.5rem 1.4rem; position: relative; overflow: hidden; box-shadow: var(--frame); }
.step-n { font: 900 2.4rem var(--font-head); line-height: 1; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.05rem; margin-top: .6em; color: var(--text); }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 1.6rem; border-radius: 14px; color: var(--text);
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-strong); box-shadow: var(--frame);
  transition: transform .25s ease-out, box-shadow .4s, border-color .3s;
  transform-style: preserve-3d; background: #0e110a;
}
.tile .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: sepia(.35) saturate(.8) brightness(.62); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .6s; }
.tile .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,6,.35) 0%, rgba(8,10,6,.82) 50%, rgba(8,10,6,.98) 78%); }
.tile:hover { border-color: var(--gold); box-shadow: inset 0 0 0 4px rgba(8,10,6,.65), inset 0 0 0 5px rgba(226,178,79,.4), 0 30px 60px -30px var(--gold-glow); }
.tile:hover .bg { transform: scale(1.08); filter: sepia(.2) saturate(1) brightness(.8); }
.tile .num { position: absolute; top: 1.1rem; left: 1.4rem; font: 900 .85rem var(--font-head); letter-spacing: .2em; color: var(--gold); }
.tile h3 { font-size: 1.55rem; margin: 0 0 .3rem; }
.tile p { color: var(--body); margin: 0; font-size: .95rem; }
.tile .go { margin-top: .9rem; font: 700 .75rem var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: .6em; align-items: center; }
.tile .go::after { content: "→"; transition: transform .3s; }
.tile:hover .go::after { transform: translateX(6px); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(14,17,10,.65); padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 700 1.05rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--bone); white-space: nowrap; display: inline-flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; rotate: 45deg; background: var(--gold); }
.marquee-track span.off { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.facts div { padding: 2rem 1rem; text-align: center; position: relative; }
.facts div + div::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: linear-gradient(transparent, var(--line-strong), transparent); }
.facts b { display: block; font: 900 clamp(2.2rem, 5vw, 3.2rem) var(--font-head); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.facts span { color: var(--muted); font: 600 .74rem var(--font-head); letter-spacing: .2em; text-transform: uppercase; }

.servers-sec { padding-bottom: 0; }
.servers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.server { display: grid; gap: .75rem; justify-items: center; padding: 1rem 1.1rem 1.15rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); position: relative; box-shadow: var(--frame); transition: border-color .3s, box-shadow .3s; }
.server:hover { border-color: var(--gold); box-shadow: var(--frame), 0 20px 50px -20px var(--gold-glow); }
.server h3 { margin: 0; font-size: 1.1rem; color: var(--gold-hi); }
.server picture { display: block; width: 100%; }
.server img { width: 100%; max-width: 500px; aspect-ratio: 500 / 80; margin-inline: auto; border-radius: 6px; background: #121509; }
.server:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }

.owner-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 2rem 2.2rem; }
.owner-teaser blockquote { margin: 0; border: 0; padding: 0; background: none; font: 600 clamp(1.05rem, 2vw, 1.3rem)/1.5 var(--font-head); color: var(--bone); }
.owner-teaser cite { display: block; margin-top: .5rem; font: 400 .9rem var(--font-body); color: var(--gold); font-style: normal; }

/* ---------- Maps ---------- */
.maps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.map-card {
  --c: hsl(var(--hue) 50% 50%);
  min-height: 180px; padding: 1.3rem; border-radius: var(--radius); position: relative; overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c) 26%, transparent), transparent 60%),
    linear-gradient(160deg, rgba(30,34,20,.92), rgba(8,10,6,.96));
  box-shadow: var(--frame);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s, border-color .3s;
}
.map-card::after {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: repeating-radial-gradient(circle at 85% 15%, transparent 0 14px, var(--gold) 15px 16px);
  mask-image: linear-gradient(200deg, #000, transparent 70%); transition: opacity .3s;
}
.map-card:hover { box-shadow: inset 0 0 0 4px rgba(8,10,6,.65), 0 20px 50px -20px var(--gold-glow); border-color: var(--gold); }
.map-card:hover::after { opacity: .3; }
.map-card h3 { font-size: 1.28rem; margin: 0 0 .2em; transform: translateZ(30px); color: var(--gold-hi); }
.map-card p { color: var(--muted); font-size: .88rem; margin: 0; transform: translateZ(20px); }
.status { position: absolute; top: 1.1rem; left: 1.3rem; font: 700 .64rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--leaf); }
.map-card.soon { filter: grayscale(.85); opacity: .55; }
.map-card.soon .status { color: var(--ember); }

/* ---------- Settings ---------- */
.settings-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.stat-table { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--frame); }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.3rem; border-bottom: 1px solid var(--line); position: relative; }
.stat-row:last-child { border-bottom: 0; }
.stat-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(226,178,79,.14), transparent); transition: width 1.4s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d2, 0s); }
.stat-table.in .stat-row::before { width: var(--fill); }
.stat-row span, .stat-row b { position: relative; }
.stat-row b { font-family: var(--font-head); color: var(--gold-hi); font-size: 1.02rem; }
.stat-row small { margin-left: .4em; font-size: .78rem; }
.perks { display: grid; gap: 14px; }
.perk { display: flex; gap: 1.1rem; align-items: center; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.1rem 1.3rem; position: relative; overflow: hidden; box-shadow: var(--frame); }
.perk h3 { font-size: 1.05rem; margin: 0; color: var(--gold-hi); }
.perk p { margin: 0; color: var(--muted); font-size: .9rem; }
.perk svg { width: 44px; height: 44px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--gold-glow)); }

/* ---------- Tabs ---------- */
.tab-list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.6rem; padding: 6px; background: rgba(8,10,6,.75); border: 1px solid var(--line-strong); border-radius: 10px; width: fit-content; max-width: 100%; position: relative; }
.tab-list button { background: none; border: 0; color: var(--muted); font: 700 .8rem var(--font-head); letter-spacing: .08em; padding: .7em 1.1em; border-radius: 6px; cursor: pointer; position: relative; z-index: 1; transition: color .25s; }
.tab-list button:hover { color: var(--text); }
.tab-list button[aria-selected="true"] { color: var(--ink); }
.tab-ink { position: absolute; z-index: 0; border-radius: 6px; background: var(--gold-fill); box-shadow: 0 0 20px var(--gold-glow); transition: all .45s cubic-bezier(.2,.8,.2,1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panel-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Rules ---------- */
.callout { border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 1.2rem; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(226,178,79,.05)); border: 1px solid rgba(255,255,255,.25); }
.callout h3 { margin-bottom: .3em; }
.callout p { margin: 0; color: #d6ccb5; }
.rule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.rule { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.rule[open] { border-color: var(--line-strong); box-shadow: 0 0 30px -10px var(--gold-glow); }
.rule summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font: 700 1rem var(--font-head); display: flex; align-items: center; gap: .9rem; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--gold); transition: transform .3s; }
.rule[open] summary::after { transform: rotate(45deg); }
.rule summary span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-hi); font-size: .8rem; flex: none; border: 1px solid var(--line-strong); }
.rule > :not(summary) { padding: 0 1.2rem; color: var(--body); font-size: .95rem; }
.rule > :last-child { padding-bottom: 1.1rem; }
.rule ul { padding-left: 2.4rem; }
.rule li { margin-bottom: .4em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.warn { color: var(--danger); font-weight: 600; }
.quote-card { display: grid; place-items: center; min-height: 100%; text-align: center; font: 700 1.3rem/1.45 var(--font-head); color: var(--bone); background: radial-gradient(circle at 50% 0%, rgba(226,178,79,.16), transparent 70%), var(--panel); }
.agreement ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: a; }
.agreement li { counter-increment: a; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem 1rem 3.8rem; position: relative; color: var(--body); }
.agreement li::before { content: counter(a, upper-roman); position: absolute; left: 1.1rem; top: 1rem; font: 900 1rem var(--font-head); color: var(--gold); }
.agreement b { color: var(--text); }
.penalties { margin-top: 2.8rem; }
.penalties h3 { color: var(--gold-hi); }
.penalty-track { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); }
.pen { padding: 1.2rem; position: relative; background: var(--panel); }
.pen + .pen { border-left: 1px solid var(--line); }
.pen span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.pen b { font: 900 1.35rem var(--font-head); }
.pen::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; }
.p1 b { color: var(--bone); } .p1::after { background: var(--bone); }
.p2 b { color: var(--ember); } .p2::after { background: var(--ember); }
.p3 b { color: var(--danger); } .p3::after { background: var(--danger); box-shadow: 0 0 14px var(--danger); }
.penalties .muted { margin-top: .8rem; }

/* ---------- Drops ---------- */
.drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.drop { display: flex; gap: 1rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; position: relative; overflow: hidden; transition: transform .25s, border-color .3s; }
.drop:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.drop i { flex: none; width: 16px; height: 54px; border-radius: 3px; margin-top: 2px; background: linear-gradient(180deg, transparent, var(--c)); box-shadow: 0 0 18px var(--c); animation: beacon 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes beacon { 50% { opacity: .45; transform: scaleY(.8); } }
.drop h4 { font-size: 1.05rem; margin: 0 0 .15em; color: var(--c); }
.drop p { margin: 0; font-size: .92rem; color: var(--body); }
.drop .ring { color: var(--muted); margin-top: .35em; font-size: .85rem; }
.center-card { text-align: center; max-width: 520px; padding: 2.5rem; }

/* ---------- Mods ---------- */
.mods { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.mods li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; transition: border-color .25s, transform .25s; position: relative; overflow: hidden; }
.mods li:hover { border-color: var(--line-strong); transform: translateX(4px); }
.mods li .mn { font-weight: 500; }
.mods li .tag { font-size: .68rem; color: var(--ember); border: 1px solid rgba(233,138,58,.35); padding: .1em .45em; border-radius: 4px; margin-left: .4em; vertical-align: middle; }
.mods button { flex: none; background: rgba(226,178,79,.08); border: 1px solid var(--line-strong); color: var(--gold-hi); font: 700 .76rem var(--font-head); padding: .35em .65em; border-radius: 4px; cursor: pointer; transition: background .2s; }
.mods button:hover { background: rgba(226,178,79,.22); }

/* ---------- Traits ---------- */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.chip { background: var(--panel); border: 1px solid var(--line-strong); color: var(--muted); padding: .6em 1.2em; border-radius: 6px; cursor: pointer; font: 700 .78rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; transition: all .25s; }
.chip:hover { color: var(--text); }
.chip.active { color: var(--ink); background: var(--gold-fill); border-color: #ffe08a; box-shadow: 0 0 18px var(--gold-glow); }
.traits { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.trait { --tc: var(--gold-hi); padding: 1.1rem 1.2rem; border-radius: var(--radius); position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.trait.hide { display: none; }
.trait.pop { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(12px); } }
.trait[data-cat="stat"] { --tc: #ffcc66; }
.trait[data-cat="shoulder"] { --tc: #d9a3ff; }
.trait[data-cat="utility"] { --tc: var(--leaf); }
.trait:hover { border-color: color-mix(in srgb, var(--tc) 60%, transparent); transform: translateY(-3px); }
.trait h4 { font-size: 1.1rem; margin: 0 0 .25em; color: var(--tc); }
.trait p { margin: 0; color: var(--body); font-size: .92rem; }
.trait .cat { position: absolute; top: .95rem; right: 1rem; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.trait::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,230,160,.1), transparent); transform: skewX(-20deg); }
.trait:hover::after { animation: sweep .9s; }
@keyframes sweep { to { left: 130%; } }

/* ---------- Dossiers ---------- */
.dossiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.dossier {
  margin: 0; background: linear-gradient(160deg, #2c2416, #120f09); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 10px; cursor: zoom-in; position: relative; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; box-shadow: var(--frame);
}
.dossier:hover { box-shadow: 0 26px 60px -20px var(--gold-glow); }
.dossier img { border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: #1c160e; }
.dossier figcaption { display: flex; justify-content: space-between; align-items: center; padding: .75rem .4rem .25rem; font: 700 1.05rem var(--font-head); color: var(--bone); }
.dossier figcaption span { font: 600 .7rem var(--font-body); color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Shop ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pack { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; padding: 1.7rem; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; box-shadow: var(--frame); }
.pack:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 4px rgba(8,10,6,.65), 0 30px 60px -30px var(--gold-glow); }
.pack header { border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: .9rem; }
.pack h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .26em; color: var(--muted); margin: 0; }
.price { font: 900 3rem var(--font-head); margin: 0; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; color: var(--body); }
.pack li { padding-left: 1.3em; position: relative; }
.pack li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; rotate: 45deg; background: var(--gold); }
.pack b { color: var(--text); }
.pack.featured { border-color: var(--gold); background: radial-gradient(120% 60% at 50% 0%, rgba(226,178,79,.17), transparent 60%), var(--panel); box-shadow: inset 0 0 0 4px rgba(8,10,6,.65), inset 0 0 0 5px rgba(226,178,79,.4), 0 20px 60px -25px var(--gold-glow); }
.pack .best { position: absolute; top: 1.7rem; right: 1.7rem; font: 700 .64rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.price-grid.one { grid-template-columns: 1fr; }
.price-item { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; transition: border-color .25s, background .25s; position: relative; overflow: hidden; }
.price-item:hover { border-color: var(--line-strong); background: rgba(226,178,79,.05); }
.price-item span { font-size: .95rem; }
.price-item em { font-style: normal; display: block; font: 700 .68rem var(--font-head); color: var(--gold); letter-spacing: .18em; text-transform: uppercase; }
.price-item b { font: 900 1.25rem var(--font-head); color: var(--gold-hi); white-space: nowrap; }
.note { background: rgba(226,178,79,.07); border-left: 2px solid var(--gold); padding: .8rem 1rem; border-radius: 0 8px 8px 0; color: #d6ccb5; margin: 0 0 1.2rem; }
.tab-panel > .note:last-child { margin: 1.2rem 0 0; }
.sub { font-size: 1.1rem; margin-bottom: .8rem; color: var(--gold-hi); }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.ticks li { padding-left: 1.3em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; rotate: 45deg; background: var(--leaf); }
.helena { border-color: rgba(156,198,106,.45); background: radial-gradient(100% 80% at 100% 0%, rgba(156,198,106,.14), transparent 60%), var(--panel); }
.credit-cards { display: grid; gap: 14px; }
.pay {
  margin-top: 2.8rem; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: center;
  padding: 1.8rem; border-radius: 14px; border: 1px solid var(--gold);
  background: radial-gradient(80% 120% at 0% 0%, rgba(226,178,79,.13), transparent 60%), var(--panel); box-shadow: var(--frame);
}
.pay h3 { font-size: 1.4rem; color: var(--gold-hi); }
.pay p { color: #d6ccb5; margin: 0; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-m { padding: .9rem 1rem; border-radius: 10px; background: rgba(8,10,6,.7); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .2s, transform .2s; }
.pay-m:hover { border-color: var(--gold); transform: translateY(-2px); }
.pay-m span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.pay-m b { font-family: var(--font-head); font-size: 1rem; word-break: break-all; color: var(--gold-hi); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.profile-shot { margin: 0; position: relative; justify-self: center; }
.profile-shot::before {
  content: ""; position: absolute; inset: -4px; border-radius: 18px; z-index: -1;
  background: conic-gradient(from var(--a, 0deg), #ffe08a, transparent 25%, #a8701f, transparent 60%, #ffe08a);
  animation: aura 5s linear infinite;
}
.profile-shot::after { content: ""; position: absolute; inset: -50px; z-index: -2; background: radial-gradient(circle, var(--gold-glow), transparent 65%); opacity: .55; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes aura { to { --a: 360deg; } }
.profile-shot img { border-radius: 14px; animation: float 6s ease-in-out infinite; }
.owner { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.owner-2 { margin-top: 2.2rem; }
.avatar-vital { width: 76px; height: 76px; border-radius: 50%; flex: none; background: radial-gradient(circle at 30% 30%, #8fbf5a, #3d5a26); display: grid; place-items: center; font: 900 1.9rem var(--font-head); color: #fff3c4; box-shadow: 0 0 0 2px var(--gold), 0 0 0 5px rgba(8,10,6,.8), 0 0 0 6px var(--line-strong), 0 0 26px var(--gold-glow); }
.owner h3 { font-size: 2.2rem; }

/* Discord profile card (filled live from the public invite API) */
.dc-card {
  width: 100%; max-width: 360px; justify-self: center; position: relative; border-radius: 16px; overflow: hidden;
  background: #111309; border: 1px solid var(--gold); box-shadow: var(--frame), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px var(--gold-glow);
  animation: float 7s ease-in-out infinite;
}
.dc-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 18px;
  background: conic-gradient(from var(--a, 0deg), #ffe08a, transparent 25%, #a8701f, transparent 60%, #ffe08a);
  animation: aura 5s linear infinite;
}
.dc-banner { height: 120px; background: linear-gradient(135deg, rgba(8,10,6,.2), rgba(8,10,6,.6)), url("assets/logo/aeon-bg.webp") center / cover; position: relative; }
.dc-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #111309); }
.dc-avatar { position: relative; width: 112px; height: 112px; margin: -64px 0 0 22px; z-index: 1; }
.dc-avatar img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid #111309; box-shadow: 0 0 0 1px var(--gold), 0 0 30px var(--gold-glow); }
.dc-deco { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
.dc-body { padding: .9rem 1.4rem 1.5rem; }
.dc-name { font-size: 2rem; margin: 0; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-meta { color: var(--body); font-size: .9rem; margin: .1rem 0 .9rem; display: flex; align-items: center; gap: .4em; flex-wrap: wrap; }
.dc-tag { display: inline-flex; align-items: center; gap: .3em; padding: .1em .5em; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-weight: 600; font-size: .78rem; color: var(--text); }
.dc-bio { padding: .8rem 0; border-block: 1px solid var(--line); color: var(--text); margin-bottom: .9rem; }
.dc-roles { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 6px; }
.dc-roles li { font-size: .74rem; padding: .25em .6em; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: .4em; }
.dc-roles li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--r); }
.dc-btn { width: 100%; justify-content: center; }

/* values (home) */
.values { list-style: none; padding: 0; margin: 0 auto 2.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.values li { padding: .8rem 1.6rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); box-shadow: var(--frame); font: 700 .95rem var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.teaser-avatar { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 0 5px rgba(8,10,6,.8), 0 0 0 6px var(--line-strong), 0 0 26px var(--gold-glow); }
.owner h3 { font-size: 1.9rem; margin: 0; }
.owner .role { display: block; font: 700 .7rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.handle { color: var(--muted); margin: .1rem 0 0; font-size: .92rem; }
.handle a { color: var(--gold-hi); border-bottom: 1px solid var(--line-strong); }
.handle a:hover { border-color: var(--gold); }
.team-text > p { color: var(--body); }
blockquote { margin: 2.2rem 0 1rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--gold); background: rgba(226,178,79,.06); border-radius: 0 12px 12px 0; font-size: 1.05rem; color: var(--text); }
blockquote cite { display: block; margin-top: .7rem; font: 900 .95rem var(--font-head); color: var(--gold); font-style: normal; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- CTA / footer ---------- */
.cta { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 100%, rgba(226,178,79,.18), transparent 70%); }
.cta-inner { position: relative; }
.cta img { width: 120px; margin: 0 auto 1.4rem; border-radius: 50%; box-shadow: 0 0 40px var(--gold-glow); animation: float 6s ease-in-out infinite; }
.cta h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
.cta p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.8rem; }
.footer { border-top: 1px solid var(--line); padding: 2.4rem 0; background: rgba(8,10,6,.88); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; justify-content: center; }
.footer nav a { color: var(--muted); font: 700 .74rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; }
.footer nav a:hover { color: var(--gold-hi); }
.footer p { color: var(--muted); font-size: .76rem; margin: 0; text-align: right; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,5,3,.94); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); animation: lb-in .4s cubic-bezier(.2,.8,.2,1); }
@keyframes lb-in { from { opacity: 0; transform: scale(.92); } }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { text-align: center; margin-top: 1rem; font: 700 1.2rem var(--font-head); color: var(--bone); }
.lb-close, .lb-nav { position: absolute; background: rgba(20,24,15,.85); border: 1px solid var(--line-strong); color: var(--gold-hi); border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Misc FX ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; translate: -50% 20px; z-index: 120; background: var(--gold-fill); color: var(--ink); font: 700 .88rem var(--font-head); padding: .75em 1.4em; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s; box-shadow: 0 10px 30px -5px var(--gold-glow); }
.toast.show { opacity: 1; translate: -50% 0; }
.cursor-glow { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(226,178,79,.07), transparent 60%); translate: -50% -50%; }
.progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, #a8701f, #ffe08a); box-shadow: 0 0 10px var(--gold); width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .nav-links a:not(.btn) { padding: .5em .55em; font-size: .72rem; } }
@media (max-width: 1000px) {
  .steps, .explore { grid-template-columns: repeat(2, 1fr); }
  .settings-wrap, .two-col, .pay { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; max-width: 520px; }
  .team { grid-template-columns: 1fr; }
  .owner-teaser { grid-template-columns: auto 1fr; }
  .owner-teaser .btn { grid-column: 1 / -1; justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer p { text-align: center; }
}
@media (max-width: 940px) {
  .nav-toggle { display: block; z-index: 2; }
  /* backdrop-filter on .nav would trap the fixed overlay inside the bar */
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; height: 100dvh; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    background: radial-gradient(ellipse at 50% 35%, rgba(226,178,79,.12), transparent 60%), #080a06;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-links a:not(.btn) { font-size: 1.3rem; padding: .55em 1em; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s, color .2s; }
  .nav-links a:not(.btn)::after { bottom: 0; }
  .nav-links .btn { margin: 1.4rem 0 0; opacity: 0; transform: translateY(14px); transition: opacity .4s .35s, transform .4s .35s; }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav.open .nav-links a { opacity: 1; transform: none; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: .05s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: .1s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: .15s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: .2s; }
  .nav.open .nav-links a:nth-child(6) { transition-delay: .25s; }
  .nav.open .nav-links a:nth-child(7) { transition-delay: .3s; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .steps, .explore { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3)::before { display: none; }
  .servers { gap: 10px; }
  .server { padding: .8rem .6rem .9rem; gap: .55rem; }
  .server h3 { font-size: .95rem; }
  .server img { max-width: 200px; aspect-ratio: 200 / 162; }
  .rule-grid, .drops, .dossiers, .traits { grid-template-columns: 1fr; }
  .pay-methods, .penalty-track { grid-template-columns: 1fr; }
  .pen + .pen { border-left: 0; border-top: 1px solid var(--line); }
  .tab-list { width: 100%; }
  .tab-list button { flex: 1 1 auto; }
  .owner-teaser { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .owner-teaser .btn { justify-self: center; }
  .lb-nav { top: auto; bottom: 16px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .page-hero h1, .page-hero p, .tagline span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* crest images: crop exactly on the gold ring of the logo */
.hero-logo, .brand img, .crest, .cta img { clip-path: circle(47.6% at 50% 50%); }
.hero-logo { box-shadow: none; }
.logo-tilt { filter: drop-shadow(0 30px 50px rgba(0,0,0,.85)) drop-shadow(0 0 40px rgba(226,178,79,.35)); }
.brand img, .page-hero .crest, .cta img { box-shadow: none; filter: drop-shadow(0 0 14px var(--gold-glow)); }
