
:root {
    --ink: #090c0f;
    --panel: #10161b;
    --panel-2: #151d23;
    --line: #2a353d;
    --text: #f2f5f4;
    --muted: #9aa8af;
    --acid: #9cf258;
    --cyan: #4ad7e8;
    --orange: #ff7246;
    --content: 1180px;
    --display: 'Barlow Condensed', Impact, sans-serif;
    --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.6;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 0h1v80H0zM40 0h1v80h-1zM0 0h80v1H0zM0 40h80v1H0z' fill='%23fff'/%3E%3C/svg%3E");
    z-index: 20;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: var(--acid); color: #071006; padding: .7rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 max(24px, calc((100vw - var(--content)) / 2));
    background: rgba(9, 12, 15, .93);
    border-bottom: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 800 1.25rem/1 var(--display); letter-spacing: .08em; }
.brand > span:last-child > span { color: var(--acid); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--acid); font: 800 1rem/1 var(--display); clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 100%, 0 100%); }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { color: #c2ccd1; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--acid); }
.account-button, .nav-toggle { justify-self: end; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--text); padding: .58rem .95rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.account-button:hover { border-color: var(--acid); color: var(--acid); }
.site-header > .account-button { grid-column: 3; }
.nav-toggle { display: none; }

.hero { min-height: 780px; padding: 150px max(24px, calc((100vw - var(--content)) / 2)) 70px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.2rem; color: #b5c0c5; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--acid); }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }
h1 { max-width: 650px; font-size: clamp(5.5rem, 8vw, 8.8rem); line-height: .76; letter-spacing: -.035em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px var(--acid); }
.hero-lead { max-width: 570px; margin: 2rem 0; color: #b4c0c5; font-size: 1.03rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 3px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: #091009; }
.button-primary:hover { background: #b3ff76; }
.button-secondary { border-color: #71818a; background: transparent; color: var(--text); }
.button-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.button-disabled { border-color: var(--line); color: #75828a; cursor: not-allowed; }
.text-link { color: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--acid); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 570px; margin: 3rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.hero-stats div { padding-right: 1rem; }
.hero-stats dt { color: #71818a; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-stats dd { margin: .2rem 0 0; font: 700 1.05rem/1.2 var(--display); text-transform: uppercase; }

.hero-stage { position: relative; min-height: 570px; overflow: hidden; background: #11181d; border: 1px solid var(--line); clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%); isolation: isolate; }
.stage-grid { position: absolute; inset: 0; opacity: .18; background-size: 54px 54px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2754%27 height=%2754%27%3E%3Cpath d=%27M0 0H54M0 0V54%27 fill=%27none%27 stroke=%27%235c6970%27 stroke-width=%271%27/%3E%3C/svg%3E"); }
.hero-stage::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: 9%; height: 1px; background: var(--acid); box-shadow: 0 -100px 0 rgba(156,242,88,.15); }
.squad-keyart { position: absolute; inset: 5% 1% 2%; z-index: 2; width: 98%; height: 93%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(0,0,0,.62)); }
.crosshair { position: absolute; right: 9%; top: 11%; width: 82px; height: 82px; border: 1px solid rgba(74,215,232,.75); border-radius: 50%; z-index: 4; }
.crosshair::before, .crosshair::after { content: ''; position: absolute; background: var(--cyan); }
.crosshair::before { width: 110px; height: 1px; top: 40px; left: -15px; }
.crosshair::after { width: 1px; height: 110px; top: -15px; left: 40px; }
.crosshair span { position: absolute; inset: 33px; border: 1px solid var(--cyan); border-radius: 50%; }
.stage-label { position: absolute; left: 7%; bottom: 4%; margin: 0; color: var(--acid); font: 700 .68rem/1 var(--body); letter-spacing: .15em; z-index: 5; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--acid); color: #0a1008; }
.ticker div { width: max-content; padding: .7rem 0; font: 800 .8rem/1 var(--display); letter-spacing: .12em; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker span { margin: 0 1.5rem; }
@keyframes ticker { to { transform: translateX(-30%); } }

.section { padding: 110px max(24px, calc((100vw - var(--content)) / 2)); }
.section-heading { max-width: 680px; margin-bottom: 3.5rem; }
.section-heading h2 { font-size: clamp(3.4rem, 6vw, 6.4rem); line-height: .85; letter-spacing: -.025em; }
.section-heading > p:last-child { margin: 1.5rem 0 0; color: var(--muted); max-width: 600px; }
.section-heading-row { max-width: none; display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 3rem; }
.section-heading-row > p:last-child { margin: 0 0 .5rem; }
.game-section { background: #0c1115; }
.feature-board { display: grid; grid-template-columns: 1.35fr 1fr 1fr; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.feature { min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.feature-wide { grid-row: span 2; display: flex; flex-direction: column; min-height: 520px; position: relative; overflow: hidden; }
.feature-number { color: var(--acid); font: 700 .68rem/1 var(--body); letter-spacing: .12em; }
.feature h3 { margin-top: 2.5rem; font-size: 2.1rem; line-height: .95; }
.feature p { color: var(--muted); font-size: .9rem; }
.feature-wide > div:last-child { position: relative; z-index: 2; margin-top: auto; max-width: 420px; }
.barrier-art { position: absolute; width: 80%; aspect-ratio: 1; right: -18%; top: -5%; background: url('../images/barrier.png') center / contain no-repeat; opacity: .78; transform: rotate(-7deg); }

.roster-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roster { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fighter { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); transition: background .2s ease; }
.fighter:hover { background: #172027; }
.fighter-art { width: 100%; aspect-ratio: .82; background-repeat: no-repeat; background-size: 400% 400%; background-position: 0 0; border-bottom: 1px solid var(--line); }
.fighter-nova .fighter-art { background-image: url('../images/nova-sheet.png'); }
.fighter-titan .fighter-art { background-image: url('../images/titan-sheet.png'); }
.fighter-viper .fighter-art { background-image: url('../images/viper-sheet.png'); }
.fighter-dragon .fighter-art { background-image: url('../images/dragon.png'); }
.fighter-art-single { background-size: contain; background-position: center bottom; }
.fighter-meta { padding: 1.35rem; }
.fighter-meta span { color: var(--acid); font-size: .6rem; font-weight: 700; letter-spacing: .14em; }
.fighter-meta h3 { margin-top: .35rem; font-size: 2.2rem; line-height: 1; }
.fighter-meta p { margin: .4rem 0 0; color: var(--muted); font-size: .8rem; }

.store-section { background: #0d1317; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product { position: relative; min-height: 300px; padding: 2rem; display: flex; flex-direction: column; background: var(--panel-2); border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.product-featured { border-top: 3px solid var(--acid); }
.product-label { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--acid); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-code { margin: 0; color: var(--cyan) !important; font: 700 .7rem/1 var(--body); letter-spacing: .15em; }
.product h3 { margin-top: 1.5rem; font-size: 2.7rem; line-height: 1; }
.product > p { color: var(--muted); font-size: .86rem; }
.product-footer { margin-top: auto; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.product-footer strong { font: 800 1.8rem/1 var(--display); }
.buy-button { border: 1px solid var(--acid); border-radius: 3px; background: transparent; color: var(--acid); padding: .65rem .85rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.buy-button:hover { background: var(--acid); color: var(--ink); }
.store-note, .install-note { color: #7f8c93; font-size: .75rem; }
.store-note { margin: 1.5rem 0 0; }

.download-section { background: var(--panel); }
.download-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; }
.download-panel h2 { font-size: clamp(3.4rem, 6vw, 6rem); line-height: .85; }
.download-panel > div:first-child > p:last-child { color: var(--muted); }
.downloads { border-top: 1px solid var(--line); }
.downloads article { padding: 2rem 0; display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
.downloads .platform { grid-column: 1; color: var(--acid); font-size: .6rem; font-weight: 700; letter-spacing: .13em; }
.downloads h3 { grid-column: 1; margin-top: .4rem; font-size: 2.1rem; }
.downloads p { grid-column: 1; margin: .25rem 0 0; color: var(--muted); font-size: .76rem; }
.downloads .button { grid-column: 2; grid-row: 1 / 4; }
.install-note { max-width: var(--content); margin: 2rem auto 0; }

.site-footer { max-width: var(--content); margin: 0 auto; min-height: 160px; padding: 2.5rem 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; color: #77858c; }
.site-footer p { grid-column: 1; margin: 0; font-size: .72rem; }
.site-footer nav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 1.5rem; }
.site-footer nav a { font-size: .7rem; text-decoration: none; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--acid); }

.account-dialog { width: min(92vw, 470px); padding: 2.4rem; color: var(--text); background: var(--panel-2); border: 1px solid #43515a; border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.account-dialog::backdrop { background: rgba(3,5,6,.84); backdrop-filter: blur(4px); }
.account-dialog h2 { font-size: 4rem; line-height: .9; }
.account-dialog p { color: var(--muted); font-size: .84rem; }
.dialog-close { position: absolute; top: .7rem; right: .9rem; border: 0; background: none; color: #94a1a8; font-size: 1.7rem; cursor: pointer; }
.account-dialog form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.account-dialog label { color: #b9c4c9; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.account-dialog input { width: 100%; margin-top: .4rem; padding: .8rem .85rem; background: #0b1014; border: 1px solid #39464e; border-radius: 2px; color: var(--text); outline: 0; }
.account-dialog input:focus { border-color: var(--acid); }
.form-message { min-height: 1.4rem; margin: 0 !important; color: var(--orange) !important; }
.toast { position: fixed; right: 1.25rem; bottom: 1.25rem; max-width: 380px; padding: .9rem 1rem; background: #172027; border-left: 3px solid var(--acid); color: var(--text); font-size: .8rem; box-shadow: 0 10px 35px rgba(0,0,0,.5); transform: translateY(160%); transition: transform .25s ease; z-index: 90; }
.toast.is-visible { transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page { min-height: 100vh; padding: 140px max(24px, calc((100vw - 860px) / 2)) 80px; }
.legal-page h1 { font-size: clamp(4rem, 8vw, 7rem); }
.legal-page h2 { margin-top: 2.5rem; font-size: 2rem; }
.legal-page p, .legal-page li { color: #abb6bb; }
.legal-page a { color: var(--acid); }
.legal-actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 980px) {
    .site-header { grid-template-columns: 1fr auto auto; gap: .7rem; padding: 0 20px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 0; right: 0; top: 76px; display: none; flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 1rem 20px; border-top: 1px solid var(--line); }
    .hero { grid-template-columns: 1fr; padding-top: 130px; }
    .hero-stage { min-height: 520px; }
    .feature-board { grid-template-columns: 1fr 1fr; }
    .feature-wide { grid-column: span 2; grid-row: auto; min-height: 460px; }
    .roster { grid-template-columns: 1fr 1fr; }
    .store-grid { grid-template-columns: 1fr; }
    .download-panel { grid-template-columns: 1fr; gap: 2.5rem; }
    .site-footer { margin: 0 24px; }
}

@media (max-width: 620px) {
    .site-header { height: 66px; }
    .site-nav { top: 66px; }
    .brand { font-size: 1rem; }
    .brand-mark { width: 30px; height: 30px; }
    .account-button { padding: .5rem .6rem; }
    .nav-toggle { padding: .5rem .6rem; }
    .hero { min-height: 0; padding: 110px 18px 50px; gap: 3rem; }
    h1 { font-size: clamp(4.6rem, 24vw, 6.4rem); }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-stats { gap: .7rem; }
    .hero-stats dd { font-size: .83rem; }
    .hero-stage { min-height: 390px; }
    .squad-keyart { inset: 8% -9% 3%; width: 118%; height: 89%; }
    .section { padding: 80px 18px; }
    .section-heading h2, .download-panel h2 { font-size: 3.8rem; }
    .section-heading-row { grid-template-columns: 1fr; gap: 1.3rem; }
    .feature-board { grid-template-columns: 1fr; }
    .feature-wide { grid-column: auto; min-height: 410px; }
    .feature { min-height: 220px; }
    .roster { grid-template-columns: 1fr; }
    .fighter-art { aspect-ratio: 1.1; }
    .downloads article { grid-template-columns: 1fr; }
    .downloads .button { grid-column: 1; grid-row: auto; margin-top: 1rem; width: 100%; }
    .site-footer { grid-template-columns: 1fr; margin: 0 18px; }
    .site-footer p, .site-footer nav { grid-column: 1; grid-row: auto; }
    .site-footer nav { flex-wrap: wrap; }
    .account-dialog { padding: 2rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

