/* Heroes Ascend — website, account portal and showcase pages (D-622). Self-hosted fonts only (CSP: self). */
@font-face { font-family: "Cinzel"; src: url(/assets/fonts/cinzel-latin-var.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --navy-950: #050912; --navy-900: #091022; --navy-850: #0d1730; --navy-800: #13213f; --navy-700: #1d2f57;
  --gold: #d6b066; --gold-bright: #f3d89a; --gold-deep: #a9813a; --gold-line: rgba(214, 176, 102, .35);
  --ink: #f1ead8; --ink-dim: #c3bba8; --ink-faint: #918a7a;
  --ok: #7fd394; --warn: #f0b44e; --bad: #e58174; --dev: #f59e2e;
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--display);
  --r: 16px; --gut: clamp(20px, 4.5vw, 56px); --maxw: 1240px; --top-h: 72px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-950); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--gold-bright); line-height: 1.08; letter-spacing: .02em; margin: 0 0 14px; }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: clamp(22px, 2.3vw, 30px); }
p { margin: 0 0 16px; }
b, strong { color: var(--ink); font-weight: 600; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--ink-dim); } .faint { color: var(--ink-faint); font-size: 14px; } .small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: #000; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; display: inline-flex; gap: 12px; align-items: center; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(5, 9, 18, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(214, 176, 102, .14); }
.top[data-top] { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.top[data-top].solid, .menu-open .top[data-top] { background: rgba(5, 9, 18, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(214, 176, 102, .14); }
.top > .wrap, .top-row { display: flex; align-items: center; gap: 18px; min-height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 19px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); text-decoration: none; white-space: nowrap; }
.brand small { display: block; font: 500 10px/1.4 var(--sans); letter-spacing: .3em; color: var(--ink-faint); margin-top: 3px; }
.brand-mark { width: 22px; height: 22px; transform: rotate(45deg); border: 2px solid var(--gold); background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); box-shadow: 0 0 18px rgba(243, 216, 154, .35); flex: none; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-bright); background: rgba(214, 176, 102, .1); }
.nav .nav-account { border: 1px solid var(--gold-line); margin-left: 8px; color: var(--gold-bright); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--gold-line); background: rgba(9, 16, 34, .6); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--gold-bright); margin: 0 auto; position: relative; transition: transform .25s; content: ""; }
.burger::before { position: absolute; top: -6px; } .burger::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .top-row .nav { display: none; position: fixed; inset: var(--top-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 24px; background: rgba(5, 9, 18, .97); border-bottom: 1px solid var(--gold-line); }
  .top-row .nav.open { display: flex; }
  .top-row .nav a { padding: 15px 4px; font: 600 20px/1.2 var(--display); letter-spacing: .06em; border-radius: 0; border-bottom: 1px solid rgba(214, 176, 102, .12); }
  .top-row .nav .nav-account { margin: 14px 0 0; text-align: center; border-radius: 12px; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--gold-line);
       background: rgba(19, 33, 63, .7); color: var(--gold-bright); font: 600 16px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s, background .15s; }
.btn:hover { background: var(--navy-700); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #f0d189, #c39a4b 55%, #a8813d); color: #1c1205; border-color: #f7df9f; box-shadow: 0 8px 30px rgba(214, 176, 102, .25), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.primary:hover { filter: brightness(1.07); color: #000; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn.danger { border-color: rgba(229, 129, 116, .6); color: #f3b0a7; }
.btn.dev { border-color: var(--dev); color: var(--dev); background: rgba(60, 35, 5, .6); }
.btn[disabled], .btn.off { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- opening */
.opening { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--top-h) + 20px) 0 40px; }
.sky { position: absolute; inset: 0; z-index: -4; background:
        radial-gradient(900px 600px at 72% 38%, rgba(214, 176, 102, .12), transparent 65%),
        radial-gradient(1200px 760px at 12% 8%, rgba(86, 64, 170, .32), transparent 60%),
        radial-gradient(900px 600px at 92% 18%, rgba(40, 96, 180, .28), transparent 60%),
        linear-gradient(180deg, #0c1a3c 0%, #08112a 46%, var(--navy-950) 100%); }
.stars { position: absolute; inset: 0 0 38% 0; z-index: -3; pointer-events: none; }
.stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: var(--c, #e9f0ff); opacity: var(--o); animation: twinkle var(--d) ease-in-out infinite; animation-delay: var(--dl); }
@keyframes twinkle { 0%, 100% { opacity: var(--o); } 50% { opacity: calc(var(--o) * .3); } }
.vista { position: absolute; left: -3%; right: -3%; bottom: -6%; height: 60%; z-index: -2; background: url(/assets/media/vista.jpg) center bottom / cover no-repeat;
         filter: saturate(.8) brightness(.38); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%); will-change: transform; }
.opening::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; z-index: -1; background: linear-gradient(180deg, transparent, var(--navy-950)); }
.opening-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 4vw, 64px); width: 100%; }
.opening-copy { position: relative; z-index: 2; max-width: 620px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(9, 16, 34, .55); color: var(--ink-dim); font-size: 14px; margin-bottom: 26px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.opening h1 { font-size: clamp(46px, 6.6vw, 104px); font-weight: 700; letter-spacing: .045em; line-height: .95; margin: 0 0 24px;
              background: linear-gradient(180deg, #fff3d0 0%, #f0d38c 45%, #b98d43 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
              filter: drop-shadow(0 4px 0 rgba(30, 18, 4, .55)) drop-shadow(0 0 40px rgba(243, 216, 154, .18)); }
.opening h1 span { display: block; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink); max-width: 30em; margin-bottom: 32px; }
.opening-art { position: relative; display: grid; justify-items: center; gap: 14px; }
.stage { position: relative; aspect-ratio: 2 / 3; height: min(74svh, 800px); max-width: 100%; z-index: 1; }
.stage .glow { position: absolute; inset: 4% -14% 6% -14%; border-radius: 50%; background: radial-gradient(closest-side, var(--hero-glow, rgba(255, 214, 120, .5)), transparent 72%); transition: background 1.6s ease; z-index: -1; pointer-events: none; }
.stage canvas, .stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .poster { object-fit: contain; opacity: 0; transition: opacity .5s; }
.stage.static .poster { opacity: 1; }
html:not(.js) .stage .poster { opacity: 1; }
.picker { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 3; }
.picker button { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(9, 16, 34, .72); color: var(--ink-dim); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.picker img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; border: 1px solid rgba(214, 176, 102, .4); }
.picker button:hover { color: var(--ink); border-color: var(--gold); }
.picker button[aria-pressed="true"] { background: linear-gradient(180deg, rgba(240, 209, 137, .95), rgba(195, 154, 75, .95)); color: #1c1205; border-color: var(--gold-bright); }
@media (max-width: 880px) {
  .opening { min-height: auto; padding-top: calc(var(--top-h) + 24px); }
  .opening-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .opening-copy { margin: 0 auto; }
  .lede { margin-inline: auto; }
  .status { margin-bottom: 18px; }
  .stage { height: auto; width: min(84vw, 460px); }
  .opening-art { margin-top: 8px; }
  .picker button { padding-right: 12px; font-size: 14px; }
  .picker img { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------------- sections */
.band { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-dim); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(214, 176, 102, .5); }
.pill { display: inline-block; font: 600 13px/1.2 var(--sans); padding: 7px 12px; border-radius: 999px; margin: 0 6px 8px 0; }
.pill.now { color: #b9f0c6; background: rgba(127, 211, 148, .12); border: 1px solid rgba(127, 211, 148, .35); }
.pill.later { color: var(--ink-dim); background: rgba(195, 187, 168, .08); border: 1px dashed rgba(195, 187, 168, .35); }

/* gameplay */
.gameplay { background: radial-gradient(1000px 600px at 85% 20%, rgba(40, 96, 180, .14), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900) 45%, var(--navy-950)); }
.tabs-row { display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(9, 16, 34, .7); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: clamp(30px, 4vw, 54px); }
.tabs-row::-webkit-scrollbar { display: none; }
.tabs-row [role=tab] { flex: none; border: 0; background: none; color: var(--ink-dim); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; }
.tabs-row [role=tab]:hover { color: var(--ink); }
.tabs-row [role=tab][aria-selected="true"] { background: linear-gradient(180deg, #f0d189, #c39a4b); color: #1c1205; }
.panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 560px; }
.panel-copy { max-width: 540px; }
.panel-copy h3 { font-size: clamp(30px, 3.4vw, 44px); }
.panel-copy p { color: var(--ink-dim); font-size: 18px; }
.shot { margin: 0; justify-self: center; }
.zoom { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--ink); background: rgba(5, 9, 18, .78); border: 1px solid var(--gold-line); opacity: .9; }
.phone { width: min(340px, 78vw); border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #34436a, #0b1020 55%, #1b2645); border: 1px solid rgba(214, 176, 102, .35); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4) inset; }
.phone img { width: 100%; border-radius: 27px; aspect-ratio: 560 / 1214; object-fit: cover; object-position: top; background: var(--navy-850); }
.zoom:hover .zoom-hint, .zoom:focus-visible .zoom-hint { background: var(--gold); color: #1c1205; }
.troops { display: grid; gap: 14px; width: min(520px, 100%); }
.card-shot { border-radius: 14px; overflow: hidden; border: 1px solid rgba(214, 176, 102, .3); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.card-shot img { width: 100%; aspect-ratio: 640 / 423; height: auto; object-fit: contain; }
.card-shot .zoom-hint { top: 10px; right: 10px; bottom: auto; }
.troops .card-shot:nth-child(2) { transform: translateX(28px); }
.troops .card-shot:nth-child(3) { transform: translateX(56px); }
@media (max-width: 880px) {
  .tabs-row { margin-inline: calc(var(--gut) * -1); border-radius: 0; border-left: 0; border-right: 0; width: auto; max-width: none; padding: 8px var(--gut); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .panel { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .panel-copy { max-width: none; }
  .troops .card-shot:nth-child(n) { transform: none; }
}

/* heroes */
.heroes { background: radial-gradient(900px 700px at 28% 50%, rgba(214, 176, 102, .1), transparent 65%), linear-gradient(180deg, var(--navy-950), #0a1124 50%, var(--navy-950)); overflow: hidden; }
.heroes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.heroes-art { display: grid; justify-items: center; }
.stage.big { height: min(86svh, 900px); }
.hero-picks { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 26px; border-bottom: 1px solid rgba(214, 176, 102, .2); }
.hero-picks button { border: 0; background: none; padding: 12px 16px 14px; font: 600 18px/1 var(--display); letter-spacing: .06em; color: var(--ink-faint); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hero-picks button:hover { color: var(--ink); }
.hero-picks button[aria-pressed="true"] { color: var(--gold-bright); border-color: var(--gold); }
.hero-name { font-size: clamp(48px, 6.4vw, 88px); font-weight: 700; letter-spacing: .05em; margin: 0; }
.hero-title { font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 24px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 28px; margin: 0 0 22px; justify-content: start; }
.facts div { min-width: 0; }
.facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.hero-about { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 32em; }
.hero-tags { color: var(--ink-dim); font-size: 15px; }
.hero-quote { margin: 18px 0 24px; padding-left: 18px; border-left: 2px solid var(--gold); font: italic 500 clamp(19px, 1.8vw, 23px)/1.45 var(--display); color: var(--gold-bright); }
.skills { border-top: 1px solid rgba(214, 176, 102, .2); padding-top: 4px; max-width: 520px; }
.skills summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--gold-bright); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.skills summary::-webkit-details-marker { display: none; }
.skills summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--gold); transition: transform .2s; }
.skills[open] summary::after { transform: rotate(45deg); }
.skills ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.skills li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(19, 33, 63, .55); }
.skills li span { color: var(--ink-faint); font-size: 14px; }
@media (max-width: 880px) {
  .heroes-grid { grid-template-columns: 1fr; }
  .stage.big { height: auto; width: min(80vw, 440px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* world */
.world { position: relative; min-height: min(92svh, 860px); display: grid; align-items: center; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; isolation: isolate; }
.world-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 9, 18, .97) 0%, rgba(5, 9, 18, .9) 40%, rgba(5, 9, 18, .55) 58%, rgba(5, 9, 18, .12) 82%, rgba(5, 9, 18, .55) 100%), linear-gradient(180deg, var(--navy-950) 0%, transparent 18%, transparent 82%, var(--navy-950) 100%), url(/assets/media/vista.jpg) 70% 60% / cover no-repeat; }
.world-copy > * { max-width: 560px; }
.world-copy p { font-size: 18px; color: var(--ink); }
.powers { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; max-width: 600px !important; }
.powers li { border-left: 2px solid var(--gold); padding-left: 14px; }
.powers b { display: block; font: 600 17px/1.2 var(--display); color: var(--gold-bright); letter-spacing: .03em; }
.powers span { font-size: 14px; color: var(--ink-dim); }
@media (max-width: 880px) {
  .world-art { background: linear-gradient(180deg, rgba(5, 9, 18, .3) 0%, rgba(5, 9, 18, .92) 48%, var(--navy-950) 100%), url(/assets/media/vista_small.jpg) 60% 0 / 190% auto no-repeat; }
  .world { min-height: 0; padding-top: 56vw; }
  .powers { grid-template-columns: 1fr; }
}

/* events */
.events { background: radial-gradient(900px 600px at 80% 60%, rgba(86, 64, 170, .16), transparent 60%); }
.events-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.events-copy p { font-size: 18px; color: var(--ink-dim); }
.text-zoom { color: var(--gold-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.cal { margin: 0; padding: clamp(18px, 3vw, 30px); border-radius: 20px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(19, 33, 63, .7), rgba(9, 16, 34, .85)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.cal-note { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; }
.cal-days { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-days li { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-dim); padding: 8px 0; border-radius: 8px; background: rgba(5, 9, 18, .5); }
.cal-bars { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px 6px; }
.cal-bars li { padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #1c1205; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-city { grid-column: 1 / span 3; background: linear-gradient(90deg, #f0d189, #d4a95a); }
.b-army { grid-column: 3 / span 3; background: linear-gradient(90deg, #f2a97c, #d67a52); }
.b-acad { grid-column: 5 / span 3; background: linear-gradient(90deg, #a9c8ff, #6f95e6); }
.track-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.track-bar { position: relative; height: 10px; border-radius: 999px; background: rgba(5, 9, 18, .7); margin: 0 14px 18px; }
.track-bar .fill { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); }
.chest { position: absolute; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 5px; border: 2px solid var(--gold); background: var(--navy-900); }
.chest.c1 { left: 25%; background: var(--gold); } .chest.c2 { left: 55%; background: var(--gold); } .chest.c3 { left: 100%; }
@media (max-width: 880px) { .events-grid { grid-template-columns: 1fr; } .cal-bars li { font-size: 12px; padding: 8px; white-space: normal; line-height: 1.25; } }
@media (max-width: 520px) { .hero-picks { flex-wrap: nowrap; gap: 0; } .hero-picks button { font-size: 15px; padding: 12px 10px 14px; letter-spacing: .03em; white-space: nowrap; } }

/* news */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.news-item { border-top: 2px solid var(--gold); padding-top: 18px; }
.news-item time { font-size: 13px; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }
.news-item h3 { margin: 8px 0; }
.news-item p { color: var(--ink-dim); }

/* account & store */
.store { padding-top: clamp(40px, 6vw, 80px); }
.store-box { position: relative; max-width: 820px; margin: 0 auto; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 64px); border-radius: 24px;
             background: radial-gradient(600px 300px at 50% 0%, rgba(214, 176, 102, .16), transparent 70%), linear-gradient(180deg, rgba(19, 33, 63, .65), rgba(9, 16, 34, .9)); border: 1px solid var(--gold-line); }
.store-box::before, .store-box::after { content: ""; position: absolute; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: var(--gold); }
.store-box::before { top: -8px; } .store-box::after { bottom: -8px; }
.store-box .eyebrow::before { display: none; }
.store-box p { font-size: 18px; color: var(--ink-dim); max-width: 34em; margin-inline: auto; }
.soon-badge { display: inline-block; margin-top: 6px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--gold-line); font: 600 15px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright) !important; }
.bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 12px; }
@media (max-width: 420px) { .bundles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bundle b { font-size: 21px; } }
.bundle { padding: 16px 10px; border-radius: 14px; background: rgba(5, 9, 18, .55); border: 1px solid rgba(214, 176, 102, .22); display: grid; gap: 2px; }
.bundle b { font: 700 24px/1.1 var(--display); color: var(--gold-bright); }
.bundle span { font-size: 13px; color: var(--ink-faint); }
.bundle em { font-style: normal; font-weight: 600; }
.pay-note { font-size: 14px !important; color: var(--ink-faint) !important; }

/* footer */
.foot { border-top: 1px solid rgba(214, 176, 102, .16); padding: 48px 0 56px; background: var(--navy-950); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 28px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink-dim); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--gold-bright); }
.foot .brand { font-size: 16px; margin-bottom: 12px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr; } }

/* enlarge dialog */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 760px); max-height: 94svh; overflow: visible; color: var(--ink); width: auto; }
.lightbox::backdrop { background: rgba(3, 5, 12, .9); }
.lightbox img { max-height: 84svh; max-width: 100%; width: auto; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-caption { text-align: center; color: var(--ink-dim); margin: 14px 0 0; font-size: 15px; }
.lb-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-line); background: var(--navy-900); color: var(--gold-bright); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
@media (max-width: 600px) { .lb-close { top: 8px; right: 8px; } }

/* ---------------------------------------------------------------- shared components (portal, coming-soon pages) */
.card { background: linear-gradient(180deg, rgba(29, 47, 87, .5), rgba(13, 23, 48, .78)); border: 1px solid rgba(214, 176, 102, .2); border-radius: var(--r); padding: 22px; }
.card h3 { font-size: 22px; }
.grid { display: grid; gap: 20px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } }
.tag { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; margin-bottom: 12px; }
.tag.planned { background: rgba(195, 187, 168, .1); color: var(--ink-dim); border: 1px solid rgba(195, 187, 168, .3); }
.portal { min-height: calc(100svh - var(--top-h)); padding: 36px 0 80px; background: radial-gradient(900px 500px at 80% -10%, rgba(40, 96, 180, .18), transparent 60%), var(--navy-950); }
.portal h2 { font-size: clamp(28px, 3.4vw, 40px); }
.auth-box { max-width: 460px; margin: 0 auto; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; color: var(--ink-dim); }
.field input, .field select { min-height: 50px; border-radius: 12px; border: 1px solid rgba(214, 176, 102, .3); background: var(--navy-900); color: var(--ink); padding: 0 14px; font: 16px var(--sans); }
.field input:focus { border-color: var(--gold-bright); outline: none; }
.notice { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: 15px; border: 1px solid; }
.notice.ok { border-color: rgba(127, 211, 148, .45); background: rgba(127, 211, 148, .08); }
.notice.err { border-color: rgba(229, 129, 116, .5); background: rgba(229, 129, 116, .08); }
.notice.warn { border-color: rgba(240, 180, 78, .5); background: rgba(240, 180, 78, .08); }
.notice.dev { border-color: rgba(245, 158, 46, .6); background: rgba(245, 158, 46, .08); color: #f8c98a; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(214, 176, 102, .2); }
.stack { display: grid; gap: 10px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 24px; border-bottom: 1px solid rgba(214, 176, 102, .2); }
.tabs a { padding: 10px 14px; color: var(--ink-dim); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--gold-bright); border-color: var(--gold); }
.recipient { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 14px 16px; border-radius: 12px; background: rgba(29, 47, 87, .5); border: 1px solid rgba(214, 176, 102, .25); }
.recipient b { font: 600 18px var(--display); color: var(--gold-bright); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--ink-dim); word-break: break-all; }
.balance { font: 700 clamp(34px, 5vw, 48px) var(--display); color: var(--gold-bright); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; }
.kv dt { color: var(--ink-dim); } .kv dd { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(214, 176, 102, .12); vertical-align: top; }
th { color: var(--ink-dim); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.amt-pos { color: var(--ok); } .amt-neg { color: #f0a59b; }
.pack-items { margin: 8px 0 12px; padding-left: 18px; font-size: 14px; }
dialog:not(.lightbox) { border: 1px solid var(--gold-line); border-radius: 16px; background: var(--navy-900); color: var(--ink); padding: 24px; width: min(520px, calc(100vw - 32px)); }
dialog:not(.lightbox)::backdrop { background: rgba(0, 0, 0, .65); }
span.status { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; border: 1px solid rgba(195, 187, 168, .35); }
span.status.granted { color: var(--ok); border-color: rgba(127, 211, 148, .4); }
span.status.refunded, span.status.partially_refunded, span.status.needs_support { color: var(--warn); border-color: rgba(240, 180, 78, .4); }
span.status.failed, span.status.expired { color: var(--ink-faint); }
.nav.open-desktop a { font-size: 14px; }
@media (max-width: 880px) {
  .nav.open-desktop { display: flex; position: static; flex-direction: row; padding: 0; background: none; border: 0; overflow-x: auto; margin-left: auto; }
  .nav.open-desktop a { padding: 8px 8px; font: 600 14px var(--sans); border: 0; white-space: nowrap; }
}
@media (max-width: 520px) { .nav.open-desktop a:nth-child(-n+4) { display: none; } }
.coming { min-height: calc(100svh - var(--top-h)); display: grid; place-items: center; padding: 48px 0; text-align: center; }
.coming .card { max-width: 560px; margin: 0 auto; }
.m0 { margin: 0 !important; } .mt6 { margin-top: 6px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt18 { margin-top: 18px; } .mt20 { margin-top: 20px; }
.mt22 { margin-top: 22px; } .mt24 { margin-top: 24px; } .mt26 { margin-top: 26px; } .mt28 { margin-top: 28px; } .mt34 { margin-top: 34px; }
.credits { max-width: 760px; margin: 0 auto; padding: 48px var(--gut) 80px; }
.credits h1 { font-size: clamp(36px, 5vw, 56px); }
.credits section { margin: 30px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars i { animation: none; }
  .vista, .stage .glow, .stage .poster, .top[data-top], .btn { transition: none; }
}
