/* ===== Design tokens — matches the game's own dark-MMO theme ===== */
:root {
  --l2-bg: #05080f;
  --l2-panel: #0a0f1a;
  --l2-border: #3b3021;
  --gold-300: #e6cd9c;
  --gold-400: #d1b483;
  --gold-500: #b3915f;
  --gold-600: #8c6d3f;
  --gold-700: #5e4c33;
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--l2-bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, .l2-font { font-family: 'Cinzel', serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

::selection { background: var(--gold-600); color: #05080f; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--l2-panel); }
::-webkit-scrollbar-thumb { background: var(--gold-700); border-radius: 4px; }

/* ===== Text gradient ===== */
.gold-text {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.6));
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(to bottom, rgba(5,8,15,.9), rgba(5,8,15,0));
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,8,15,.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--l2-border);
}

.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; min-width: 0; }
.brand-wordmark { font-family: 'Cinzel', serif; font-size: 19px; letter-spacing: .14em; white-space: nowrap; }
.brand-mark-img { height: 34px; width: auto; flex-shrink: 0; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.brand-name { font-size: 15px; color: var(--gold-300); white-space: nowrap; }
.brand-name small { display: block; font-size: 8px; letter-spacing: .3em; color: var(--text-dim); font-weight: 400; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--text-dim); text-transform: uppercase; transition: color .2s;
}
.main-nav a:hover { color: var(--gold-400); }
/* .main-nav a's own color rule (class+tag) is more specific than .btn-gold's
   (class only), so without this it silently wins and the CTA text renders in
   muted grey instead of the dark text .btn-gold needs for contrast against
   its light gold background — this is what made the button unreadable. */
.main-nav a.btn-gold, .mobile-drawer a.btn-gold {
  color: #241c11; text-transform: uppercase;
}
.main-nav a.btn-gold:hover, .mobile-drawer a.btn-gold:hover { color: #241c11; }
.nav-links { display: flex; gap: 24px; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.4); border: 1px solid var(--l2-border);
  color: var(--gold-400); font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; letter-spacing: .05em;
}
.lang-btn:hover { border-color: var(--gold-600); }

.nav-dashboard-link {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.4); border: 1px solid var(--l2-border);
  color: var(--gold-400); font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; letter-spacing: .05em;
  text-decoration: none; transition: border-color .2s, color .2s;
}
.nav-dashboard-link:hover { border-color: var(--gold-600); color: var(--gold-300); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--l2-panel); border: 1px solid var(--l2-border); border-radius: 8px;
  min-width: 150px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; color: var(--text); font-size: 13px;
  padding: 10px 14px; cursor: pointer; text-align: left;
}
.lang-menu button:hover { background: rgba(179,145,95,.12); color: var(--gold-300); }
.lang-menu button.active { color: var(--gold-400); font-weight: 700; }

.btn-menu-toggle { display: none; background: none; border: none; color: var(--gold-400); cursor: pointer; padding: 4px; }

/* ===== Buttons ===== */
.btn-gold {
  background: linear-gradient(to bottom, var(--gold-300), var(--gold-500), var(--gold-700));
  border: 1px solid var(--gold-700);
  color: #241c11;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: .05em;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
  box-shadow: 0 4px 18px rgba(179,145,95,.35), inset 0 1px 0 rgba(255,255,255,.5);
  padding: 14px 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(179,145,95,.5), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:disabled { opacity: .55; cursor: not-allowed; transform: none; }
a.btn-gold { display: inline-block; text-decoration: none; }
.hero-cta-btn { font-size: 15px; padding: 16px 40px; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: 50% 30%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.06) translate(0,0); }
  100% { transform: scale(1.16) translate(-1.5%,-1%); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(5,8,15,.35) 0%, rgba(5,8,15,.85) 75%),
    linear-gradient(to bottom, rgba(5,8,15,.55) 0%, rgba(5,8,15,.35) 40%, var(--l2-bg) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 760px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold-700); background: rgba(0,0,0,.4);
  color: var(--gold-400); font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title { margin: 0 0 18px; display: flex; justify-content: center; }
.hero-logo-wrap { position: relative; width: min(340px, 70vw); padding: 14px 0; }
.hero-logo-img { position: relative; z-index: 2; width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 30px rgba(0,0,0,.7)); }

/* Dedicated sparkle cluster directly behind the logo — discrete twinkling
   points (not a blurred glow ring, which was tried and rejected earlier). */
.hero-logo-sparkles {
  position: absolute; z-index: 1; inset: -18%; pointer-events: none;
  background-image:
    radial-gradient(1.7px 1.7px at 10% 18%, rgba(255,214,150,.95), transparent 60%),
    radial-gradient(1.4px 1.4px at 22% 62%, rgba(255,214,150,.7), transparent 60%),
    radial-gradient(1.9px 1.9px at 34% 28%, rgba(255,214,150,.85), transparent 60%),
    radial-gradient(1.3px 1.3px at 46% 78%, rgba(255,214,150,.6), transparent 60%),
    radial-gradient(1.8px 1.8px at 58% 14%, rgba(255,214,150,.9), transparent 60%),
    radial-gradient(1.4px 1.4px at 66% 52%, rgba(255,214,150,.65), transparent 60%),
    radial-gradient(1.9px 1.9px at 80% 24%, rgba(255,214,150,.95), transparent 60%),
    radial-gradient(1.3px 1.3px at 88% 66%, rgba(255,214,150,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 14% 88%, rgba(255,214,150,.7), transparent 60%),
    radial-gradient(1.7px 1.7px at 92% 42%, rgba(255,214,150,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 50% 92%, rgba(255,214,150,.6), transparent 60%),
    radial-gradient(1.6px 1.6px at 76% 88%, rgba(255,214,150,.7), transparent 60%);
  animation: hero-logo-sparkle 3.2s ease-in-out infinite;
}
@keyframes hero-logo-sparkle {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: #cbd5e1; line-height: 1.6; max-width: 600px; margin: 0 auto 36px; text-shadow: 0 2px 8px rgba(0,0,0,.8); }

.countdown { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 8px; }
.countdown-unit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; padding: 10px 6px 8px;
  background: rgba(5,8,15,.7); border: 1px solid var(--l2-border); border-radius: 8px;
  backdrop-filter: blur(3px);
}
.countdown-num { font-family: 'Cinzel', serif; font-size: 1.7rem; color: var(--gold-300); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-label { font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.countdown-sep { color: var(--gold-700); font-family: 'Cinzel', serif; font-size: 1.4rem; margin-top: -14px; }
.countdown-caption { text-align: center; font-size: 11px; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
@media (max-width: 480px) {
  .countdown-unit { min-width: 48px; padding: 8px 4px 6px; }
  .countdown-num { font-size: 1.35rem; }
}

.email-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.email-form input[type="email"], .email-form input[type="tel"], .email-form select.country-select {
  flex: 1 1 240px; min-width: 0;
  background: rgba(5,8,15,.75); border: 1px solid var(--l2-border);
  color: var(--text); font-size: 15px; padding: 14px 16px; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.email-form select.country-select { cursor: pointer; }
.email-form select.country-select option { background: var(--l2-panel); color: var(--text); }
.email-form input[type="email"]:focus, .email-form input[type="tel"]:focus, .email-form select.country-select:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(179,145,95,.18); }
.email-form input[type="email"]::placeholder, .email-form input[type="tel"]::placeholder { color: #64748b; }
.hero-note { margin-top: 14px; font-size: 12px; color: #94a3b8; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-dim); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== Section shell ===== */
section { position: relative; padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-kicker { color: var(--gold-500); font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 16px; }
.section-subtitle { color: var(--text-dim); font-size: 1.05rem; line-height: 1.6; }

/* ===== Pitch / stats ===== */
.pitch { background: radial-gradient(ellipse at 50% 0%, rgba(94,76,51,.15), transparent 60%); }
.pitch-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .pitch-inner { grid-template-columns: 1fr; gap: 40px; } }
.pitch-body p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.75; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: radial-gradient(circle at top, rgba(15,20,30,.9), rgba(5,8,12,.96));
  border: 1px solid var(--l2-border); border-radius: 10px; padding: 26px 18px; text-align: center;
  box-shadow: inset 0 0 30px rgba(0,0,0,.8);
}
.stat-num { font-family: 'Cinzel', serif; font-size: 1.7rem; color: var(--gold-400); margin-bottom: 6px; }
.stat-label { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* ===== Features grid (real in-game icon art) ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: radial-gradient(circle at top, rgba(15,20,30,.95), rgba(5,8,12,.98));
  border: 1px solid var(--l2-border); border-radius: 12px; padding: 22px 18px;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat-card::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .5;
}
.feat-card:hover { transform: translateY(-6px); border-color: var(--gold-600); box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(179,145,95,.15); }
.feat-icon { width: 68px; height: auto; margin: 0 auto 14px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.feat-title { font-family: 'Cinzel', serif; color: var(--gold-300); font-size: 1.05rem; margin-bottom: 8px; }
.feat-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* ===== World / regions ===== */
.world { position: relative; }
.world-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.world-bg-wrap img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4) saturate(.9); }
.world-bg-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--l2-bg) 0%, rgba(5,8,15,.55) 20%, rgba(5,8,15,.55) 80%, var(--l2-bg) 100%); }
.world .container { position: relative; z-index: 2; }
.region-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto 30px; }
.region-pill {
  border: 1px solid var(--l2-border); background: rgba(5,8,15,.65);
  color: var(--gold-300); font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(3px);
  transition: border-color .2s, color .2s, transform .2s;
}
.region-pill:hover { border-color: var(--gold-500); color: var(--gold-300); transform: translateY(-2px); }
.world-cta { text-align: center; color: var(--text-dim); font-size: 14px; max-width: 520px; margin: 0 auto; }

/* ===== Battle preview ===== */
.battle { background: linear-gradient(180deg, var(--l2-bg), #090c14 40%, var(--l2-bg)); }
.battle-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .battle-inner { grid-template-columns: 1fr; gap: 40px; } }
.battle-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.battle-points li { display: flex; gap: 12px; align-items: flex-start; color: #cbd5e1; font-size: 15px; line-height: 1.5; }
.battle-points .bullet {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--gold-600); color: var(--gold-400); font-size: 11px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

.battle-stage {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--l2-border);
  background: #05080f;
  box-shadow: inset 0 0 60px rgba(0,0,0,.85);
}
.battle-stage-bg {
  position: absolute; inset: 0; background-image: url('../assets/img/world-bg.jpg');
  background-size: cover; background-position: 50% 35%; filter: brightness(.55) saturate(.85);
}
.battle-stage-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 68%, rgba(20,15,10,.15), rgba(5,8,15,.55) 70%),
    linear-gradient(180deg, rgba(5,8,15,.35) 0%, rgba(5,8,15,.15) 40%, rgba(5,8,15,.65) 100%);
}
.battle-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); z-index: 1; }
.battle-actors { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 6%; padding-bottom: 8%; z-index: 1; }
.sprite-box { width: 34%; max-width: 190px; aspect-ratio: 1/1; position: relative; }
.sprite-box.mob { width: 22%; max-width: 122px; }
.sprite-box .shadow { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); width: 55%; height: 12%; background: rgba(0,0,0,.6); border-radius: 50%; filter: blur(4px); }
.sprite-frame { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background-repeat: no-repeat; image-rendering: -webkit-optimize-contrast; transition: filter .15s ease; }
.sprite-frame.hit { filter: brightness(1.8) saturate(2) drop-shadow(0 0 10px rgba(255,80,80,.8)); }

/* ===== Final signup ===== */
.signup { text-align: center; }
.signup-panel {
  max-width: 640px; margin: 0 auto; padding: 52px 36px;
  background: radial-gradient(circle at top, rgba(15,20,30,.95), rgba(5,8,12,.98));
  border: 1px solid var(--l2-border); border-radius: 16px; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 60px rgba(0,0,0,.7);
}
.corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold-500); opacity: .6; }
.corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.platform-row { display: flex; gap: 10px; justify-content: center; margin: 20px 0 26px; flex-wrap: wrap; }
.platform-chip { position: relative; }
.platform-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.platform-chip label {
  display: block; border: 1px solid var(--l2-border); border-radius: 999px;
  padding: 8px 18px; font-size: 12.5px; font-weight: 700; color: var(--text-dim);
  letter-spacing: .04em; cursor: pointer; transition: all .18s;
}
.platform-chip input:checked + label { border-color: var(--gold-500); color: var(--gold-300); background: rgba(179,145,95,.12); }

.form-msg { margin-top: 16px; font-size: 13.5px; min-height: 18px; }
.form-msg.success { color: #4ade80; }
.form-msg.error { color: #f87171; }
.signup-success { display: none; text-align: center; }
.signup-success.show { display: block; }
.signup-success h3 { color: var(--gold-300); margin: 14px 0 8px; }
.signup-success p { color: var(--text-dim); font-size: 14px; }
.check-badge {
  width: 52px; height: 52px; margin: 0 auto; border-radius: 50%;
  border: 2px solid #4ade80; color: #4ade80; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.check-badge.small {
  position: absolute; bottom: -4px; right: -4px; width: 30px; height: 30px; font-size: 14px;
  background: var(--l2-bg); z-index: 3;
}

/* ===== Sign-up reward chest ===== */
.chest-wrap { position: relative; width: 128px; height: 128px; margin: 0 auto 6px; }
.chest-glow {
  position: absolute; inset: -20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,150,.45) 0%, rgba(179,145,95,.18) 45%, transparent 72%);
  animation: chest-pulse 2.6s ease-in-out infinite;
}
@keyframes chest-pulse {
  0%, 100% { transform: scale(.92); opacity: .75; }
  50% { transform: scale(1.08); opacity: 1; }
}
.chest-img {
  position: relative; width: 100%; height: 100%; object-fit: contain; z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 20px rgba(255,200,120,.35));
  animation: chest-bob 3.2s ease-in-out infinite;
}
@keyframes chest-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}
.chest-spark {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #ffe6b3; box-shadow: 0 0 6px 1px rgba(255,214,150,.9);
  opacity: 0; z-index: 3; animation: chest-spark 2.4s ease-in-out infinite;
}
.chest-spark.s1 { top: 8%;  left: 14%; animation-delay: 0s; }
.chest-spark.s2 { top: 18%; right: 10%; animation-delay: .6s; }
.chest-spark.s3 { bottom: 20%; left: 6%;  animation-delay: 1.2s; }
.chest-spark.s4 { bottom: 10%; right: 16%; animation-delay: 1.8s; }
@keyframes chest-spark {
  0%, 100% { opacity: 0; transform: translateY(6px) scale(.6); }
  40% { opacity: 1; transform: translateY(-4px) scale(1.1); }
  70% { opacity: 0; transform: translateY(-14px) scale(.7); }
}
.chest-kicker {
  text-align: center; color: var(--gold-500); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px;
}

.field-label {
  text-align: left; font-size: 11.5px; color: var(--text-dim); letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
}
.vision-question { text-align: left; color: var(--gold-300); font-size: 14.5px; line-height: 1.5; margin: 6px 0 10px; font-family: 'Cinzel', serif; }
.vision-textarea {
  width: 100%; min-height: 92px; resize: vertical;
  background: rgba(5,8,15,.75); border: 1px solid var(--l2-border); border-radius: 6px;
  color: var(--text); font-family: 'Roboto', sans-serif; font-size: 14px; padding: 12px 14px;
}
.vision-textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(179,145,95,.18); }
.vision-textarea::placeholder { color: #64748b; }

/* ===== Generic info card (classes/gear/systems/pvp/economy sections) ===== */
.section-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; color: #cbd5e1; font-size: 1rem; line-height: 1.7; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .info-grid, .info-grid.cols-4, .info-grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .info-grid, .info-grid.cols-4, .info-grid.cols-5 { grid-template-columns: 1fr; } }
.info-card {
  background: radial-gradient(circle at top, rgba(15,20,30,.92), rgba(5,8,12,.97));
  border: 1px solid var(--l2-border); border-radius: 10px; padding: 22px 20px;
  transition: border-color .2s ease, transform .2s ease;
}
.info-card:hover { border-color: var(--gold-600); transform: translateY(-3px); }
.info-card .badge {
  display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; margin-bottom: 10px;
}
.badge.now { background: rgba(74,222,128,.12); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.badge.next { background: rgba(179,145,95,.12); color: var(--gold-400); border: 1px solid rgba(179,145,95,.3); }
.info-card h3 { font-family: 'Cinzel', serif; color: var(--gold-300); font-size: 1.05rem; margin: 0 0 8px; }
.info-card .sub-list { color: var(--gold-500); font-size: 11.5px; letter-spacing: .02em; margin-bottom: 8px; }
.info-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin: 0; }

.grade-ladder { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 32px; max-width: 640px; }
.grade-chip {
  border: 1px solid var(--gold-700); background: linear-gradient(to bottom, rgba(179,145,95,.14), rgba(0,0,0,.4));
  color: var(--gold-300); font-family: 'Cinzel', serif; font-weight: 700; font-size: 13px;
  padding: 8px 16px; border-radius: 6px; letter-spacing: .03em;
}
.grade-chip.top { border-color: var(--gold-400); box-shadow: 0 0 16px rgba(179,145,95,.35); color: var(--gold-300); }
.grade-arrow { color: var(--gold-700); align-self: center; font-size: 13px; }

.bullet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; }
.bullet-list li { display: flex; gap: 14px; align-items: flex-start; color: #cbd5e1; font-size: 15px; line-height: 1.55; }
.bullet-list .bullet { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold-600); color: var(--gold-400); font-size: 11px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }

/* ===== Roadmap (now vs next) ===== */
.roadmap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .roadmap-cols { grid-template-columns: 1fr; } }
.roadmap-col {
  background: radial-gradient(circle at top, rgba(15,20,30,.92), rgba(5,8,12,.97));
  border: 1px solid var(--l2-border); border-radius: 12px; padding: 26px 24px;
}
.roadmap-col h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.roadmap-col.now h3 { color: #4ade80; }
.roadmap-col.next h3 { color: var(--gold-400); }
.roadmap-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.roadmap-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #cbd5e1; line-height: 1.5; }
.roadmap-col li svg { flex-shrink: 0; margin-top: 2px; }
.roadmap-col.now li svg { color: #4ade80; }
.roadmap-col.next li svg { color: var(--gold-500); }
.roadmap-note { text-align: center; color: #64748b; font-size: 12.5px; max-width: 560px; margin: 28px auto 0; line-height: 1.6; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--l2-border); padding: 40px 24px; text-align: center; }
footer .brand { justify-content: center; margin-bottom: 10px; }
.footer-tagline { color: var(--text-dim); font-size: 13px; max-width: 420px; margin: 0 auto 18px; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 11.5px; color: #64748b; }
.footer-admin-link { color: #3f4a5c; text-decoration: none; }
.footer-admin-link:hover { color: #64748b; }

/* ===== Mobile nav =====
   Collapses well before the links row can run out of room — the Portuguese
   roadmap label ("VERDADE NUA E CRUA") is long enough that the full nav
   (5 links + lang switch + panel link + CTA) was overflowing the header on
   tablet-ish widths, clipping text at the edge. Language switch and the
   panel link move into the drawer at the same breakpoint so the collapsed
   header is just brand + CTA + hamburger, not an empty gap. */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .lang-switch { display: none; }
  .nav-dashboard-link { display: none; }
  .btn-menu-toggle { display: block; }
  .main-nav { gap: 10px; }
}
@media (max-width: 420px) {
  .site-header { padding: 14px 16px; }
  .brand-name { font-size: 12.5px; }
  .brand-name small { font-size: 7px; }
  .brand-mark-img { height: 26px; }
  .main-nav a.btn-gold { padding: 8px 14px; font-size: 10.5px; }
}
.mobile-drawer {
  position: fixed; inset: 0; z-index: 99; background: rgba(5,8,15,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  padding: 24px; overflow-y: auto;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer a { font-family: 'Cinzel', serif; font-size: 22px; color: var(--gold-300); text-decoration: none; }
.mobile-drawer .close-drawer { position: absolute; top: 22px; right: 24px; background: none; border: none; color: var(--gold-400); font-size: 26px; cursor: pointer; }
.drawer-lang-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; max-width: 320px; }
.drawer-lang-row button {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.4); border: 1px solid var(--l2-border);
  color: var(--text-dim); font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; letter-spacing: .04em;
}
.drawer-lang-row button.active { color: var(--gold-300); border-color: var(--gold-600); background: rgba(179,145,95,.15); }
