:root {
  --ink: #f5f6e9;
  --muted: #b4bdaa;
  --night: #050b09;
  --panel: #0d1814;
  --panel-2: #13251d;
  --leaf: #43e56e;
  --sun: #ffb82e;
  --cyan: #45dce7;
  --line: rgba(219, 255, 224, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 5px; }
body { margin: 0; color: var(--ink); background: var(--night); font-family: ui-rounded, "Avenir Next", system-ui, sans-serif; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(circle at 15% 20%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 82% 32%, #fff 0 1px, transparent 1.5px); background-size: 170px 170px, 230px 230px; z-index: -1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: white; color: black; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: 76px; padding: 10px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; transition: background .25s, border .25s; }
.site-header.scrolled { background: rgba(5, 11, 9, .86); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand img, .footer-brand img { width: 160px; height: auto; }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { font-size: .86rem; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; color: #d7ddcf; }
.site-header nav a:hover { color: white; }
.site-header .nav-cta { padding: 10px 16px; border: 1px solid rgba(255,184,46,.5); border-radius: 999px; color: var(--sun); }
.menu-button { display: none; background: none; border: 1px solid var(--line); color: white; border-radius: 99px; padding: 9px 14px; font: inherit; font-weight: 800; }
.hero { min-height: 100svh; padding-top: 120px; position: relative; display: grid; align-items: end; overflow: hidden; background: radial-gradient(circle at 78% 45%, rgba(67,229,110,.13), transparent 35%), #050b09; }
.hero-art { position: absolute; inset: 0; background: url('/assets/hero-desktop.jpg') 65% center / cover no-repeat; transform: scale(1.015); animation: settle 1.5s ease-out both; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,8,6,.86) 0%, rgba(3,8,6,.7) 30%, rgba(3,8,6,.25) 53%, transparent 72%), linear-gradient(0deg, #050b09 0%, transparent 26%), linear-gradient(180deg, rgba(3,8,6,.55), transparent 20%); }
.hero-copy { position: relative; z-index: 2; width: min(44vw, 660px); margin: 0 0 clamp(80px, 13vh, 140px) clamp(24px, 7vw, 108px); }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 900; color: var(--sun); }
h1, h2, h3 { margin-top: 0; overflow-wrap: anywhere; hyphens: auto; }
h1, h2 { font-family: "Arial Black", Impact, sans-serif; text-transform: uppercase; letter-spacing: -.035em; line-height: .97; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7.5vw, 7.2rem); text-shadow: 0 7px 0 rgba(0,0,0,.28); }
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.8rem); }
h1 span { color: var(--leaf); }
.hero-lead { max-width: 600px; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; color: #e1e6dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 13px; text-decoration: none; font-weight: 900; }
.button.primary { color: #17200d; background: linear-gradient(#ffd75e, #ff9e16); box-shadow: 0 5px 0 #9b5009, 0 10px 28px rgba(255,158,22,.22); }
.button.ghost { background: rgba(3,12,9,.55); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(12px); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 46px); margin: 38px 0 0; }
.hero-stats div { border-left: 2px solid var(--leaf); padding-left: 12px; overflow-wrap: anywhere; hyphens: auto; }
.hero-stats dt { font-family: "Arial Black", Impact, sans-serif; font-size: 1.55rem; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); font-size: .8rem; }
.scroll-cue { position: absolute; right: clamp(20px, 4vw, 60px); bottom: 38px; writing-mode: vertical-rl; z-index: 2; text-decoration: none; color: #b9c3b5; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; }
.section { width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding: clamp(80px, 11vw, 150px) 0; }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading h2, .download h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; line-height: 1.65; max-width: 650px; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: start; }
.large-copy { margin: 0; font-size: clamp(1.4rem, 2.7vw, 2.35rem); line-height: 1.35; font-weight: 800; }
.commander { margin: 0; padding: 28px; border: 1px solid rgba(255,184,46,.3); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,184,46,.12), rgba(69,220,231,.04)); font-size: 1.2rem; line-height: 1.55; }
.commander cite { display: block; margin-top: 20px; color: var(--sun); font-style: normal; font-weight: 900; }
.worlds { width: min(1320px, calc(100% - 30px)); }
.planet-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.planet-tab { cursor: pointer; border: 1px solid var(--line); color: var(--muted); background: #0d1713; border-radius: 99px; padding: 10px 16px; font: inherit; font-weight: 900; }
.planet-tab[aria-selected="true"] { color: #06100b; border-color: transparent; background: var(--planet); box-shadow: 0 0 26px color-mix(in srgb, var(--planet) 25%, transparent); }
.planet-stage { position: relative; min-height: 570px; border: 1px solid var(--line); border-radius: 36px; overflow: hidden; background: radial-gradient(circle at 75% 45%, color-mix(in srgb, var(--planet) 24%, transparent), transparent 28%), linear-gradient(135deg, #101d17, #07100c); }
.planet-stage::before { content: ''; position: absolute; inset: 0; opacity: .2; background: radial-gradient(circle at 70% 30%, white 0 1px, transparent 2px); background-size: 45px 45px; }
.planet-copy { position: relative; z-index: 2; max-width: 610px; padding: clamp(32px, 6vw, 76px); container-type: inline-size; }
.planet-number { color: var(--planet); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; font-size: .75rem; }
.planet-copy h3 { margin: 12px 0 0; font-family: "Arial Black", Impact, sans-serif; font-size: min(6rem, 15cqi); text-transform: uppercase; line-height: .95; white-space: nowrap; overflow-wrap: normal; hyphens: none; }
.planet-subtitle { color: var(--planet); font-size: 1.25rem; font-weight: 900; }
.planet-description { color: #ced8ca; line-height: 1.7; font-size: 1.05rem; }
.missions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.missions span { background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: #e7ebe4; font-size: .82rem; font-weight: 800; }
.planet-shot { position: absolute; right: clamp(20px, 5vw, 74px); top: 50%; translate: 0 -50%; width: min(29vw, 330px); margin: 0; padding: 8px; border: 1px solid color-mix(in srgb, var(--planet) 55%, transparent); border-radius: 34px; background: #020604; box-shadow: 0 28px 80px rgba(0,0,0,.58), 0 0 45px color-mix(in srgb, var(--planet) 18%, transparent); transform: rotate(2deg); }
.planet-shot img { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 26px; }
.planet-shot figcaption { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; border-radius: 99px; color: rgba(255,255,255,.75); background: rgba(0,0,0,.58); backdrop-filter: blur(8px); text-transform: uppercase; letter-spacing: .12em; font-size: .56rem; font-weight: 900; }
.planet-orb { position: absolute; width: min(42vw, 500px); aspect-ratio: 1; right: -2%; top: 50%; translate: 0 -50%; border-radius: 50%; background: var(--planet-surface); box-shadow: inset -65px -55px 90px rgba(0,0,0,.65), inset 35px 22px 45px rgba(255,255,255,.18), 0 0 70px color-mix(in srgb, var(--planet) 30%, transparent); }
.planet-orb::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; background: repeating-radial-gradient(ellipse at 28% 38%, transparent 0 11px, rgba(255,255,255,.08) 12px 14px, transparent 15px 25px); mix-blend-mode: overlay; }
.weapon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.weapon-card { padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--weapon) 16%, #101a16), #09110e 62%); transition: transform .25s, border .25s; }
.weapon-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--weapon) 55%, transparent); }
.weapon-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--weapon); color: #07100c; font-size: 1.7rem; box-shadow: 0 0 25px color-mix(in srgb, var(--weapon) 35%, transparent); }
.weapon-card h3 { margin: 22px 0 8px; font-size: 1.35rem; }
.weapon-card > p { min-height: 70px; color: var(--muted); line-height: 1.55; }
.weapon-levels { list-style: none; padding: 0; margin: 20px 0 0; }
.weapon-levels li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .84rem; }
.weapon-levels strong { color: var(--weapon); }
.strategy { width: min(1320px, calc(100% - 30px)); }
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.strategy-card { min-height: 270px; padding: 28px; border-radius: 24px; background: #0d1814; border: 1px solid var(--line); }
.strategy-card span { color: var(--sun); font-family: "Arial Black", Impact, sans-serif; font-size: 2.1rem; opacity: .65; }
.strategy-card h3 { margin: 36px 0 10px; font-size: 1.35rem; }
.strategy-card p { color: var(--muted); line-height: 1.6; }
.threat-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.threat { padding: 22px; border: 1px solid rgba(212,86,255,.22); border-radius: 20px; background: linear-gradient(145deg, rgba(183,50,231,.12), #0b1210); }
.threat-portrait { aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(ellipse at center, rgba(151, 87, 193, .16), transparent 70%); }
.threat-portrait img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .4)); }
.threat h3 { margin: 18px 0 8px; }
.threat p { margin-bottom: 0; color: var(--muted); line-height: 1.5; font-size: .9rem; }
.download { width: min(1080px, calc(100% - 40px)); }
.download-card { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 36px; border: 1px solid rgba(255,184,46,.26); background: radial-gradient(circle at 10% 10%, rgba(255,184,46,.18), transparent 35%), #101a15; }
.download-card > img { border-radius: 32px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.download-card h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.download-card p:not(.eyebrow) { color: var(--muted); }
.store-badge { border: 1px solid rgba(255,255,255,.4); border-radius: 12px; padding: 9px 18px; text-align: center; font-size: .7rem; line-height: 1.15; }
.store-badge strong { font-size: 1.25rem; }
.quest-store-link { color: #17200d; background: linear-gradient(#ffd75e, #ff9e16); border-color: #ffb82e; text-decoration: none; min-width: 160px; padding: 14px 20px; }
.quest-store-link:hover { filter: brightness(1.08); }
.quest-store-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
footer { padding: 45px clamp(20px, 5vw, 70px); border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; color: var(--muted); font-size: .85rem; }
footer nav { display: flex; gap: 20px; }
footer nav a { text-decoration: none; }
footer .language-selector { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px; }
.language-selector a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-size: .8rem; }
.language-selector a[aria-current="page"] { color: #06100b; border-color: var(--sun); background: var(--sun); }
.copyright { grid-column: 1 / -1; margin: 5px 0 0; }
.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 140px 0 100px; min-height: 85vh; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.legal h2 { margin-top: 46px; font-size: 1.45rem; }
.legal p, .legal li { color: #c3ccbf; line-height: 1.75; }
.legal-back { text-decoration: none; color: var(--sun); font-weight: 900; }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.pending { opacity: 0; transform: translateY(22px); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes settle { from { transform: scale(1.09); filter: saturate(.7); } to { transform: scale(1.015); filter: saturate(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } .reveal, .reveal.pending { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { background: #050b09; }
  .hero-art { background-image: url('/assets/loading-art.jpg'); background-position: center 35%; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,8,6,.93) 0%, rgba(3,8,6,.72) 36%, rgba(3,8,6,.05) 72%), linear-gradient(0deg, #050b09 0%, transparent 35%), linear-gradient(180deg, rgba(2,6,5,.5), transparent 30%); }
  .hero-copy { width: min(720px, 88vw); }
  .menu-button { display: block; }
  .site-header nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; padding: 22px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 20px; background: rgba(7,15,12,.97); }
  .site-header nav.open { display: flex; }
  .story-grid { grid-template-columns: 1fr; gap: 30px; }
  .weapon-grid { grid-template-columns: repeat(2, 1fr); }
  .strategy-grid { grid-template-columns: repeat(2, 1fr); }
  .threat-track { grid-template-columns: repeat(2, 1fr); }
  .planet-copy { max-width: none; padding: 30px 24px; }
  .planet-shot { position: relative; inset: auto; translate: 0; width: min(78%, 300px); margin: 4px auto 28px; transform: rotate(1deg); }
  .download-card { grid-template-columns: auto 1fr; }
  .store-badge { grid-column: 2; justify-self: start; }
}
@media (max-width: 600px) {
  .hero-shade { background: linear-gradient(0deg, #050b09 0%, rgba(3,8,6,.42) 75%), linear-gradient(90deg, rgba(3,8,6,.75), transparent); }
  .hero-copy { margin-left: 22px; margin-bottom: 70px; }
  .hero-stats { gap: 15px; }
  .scroll-cue { display: none; }
  .planet-stage { min-height: 630px; }
  .planet-description { text-shadow: 0 1px 5px #000; }
  .weapon-grid, .strategy-grid, .threat-track { grid-template-columns: 1fr; }
  .threat { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px; }
  .threat-portrait { grid-row: 1 / 3; }
  .threat h3 { align-self: end; margin: 0 0 6px; }
  .threat p { align-self: start; margin: 0; }
  .weapon-card > p { min-height: 0; }
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); overflow-wrap: anywhere; }
  .download-card > img { margin: auto; }
  .store-badge { grid-column: auto; justify-self: center; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .copyright { grid-column: auto; }
}

/* Static weapons guide: actual game models and both permanent upgrade paths. */
.arsenal { position: relative; width: min(1320px, calc(100% - 40px)); }
.section-anchor { position: absolute; top: 0; }
.weapon-card { display: flex; flex-direction: column; padding: 22px; }
.weapon-card h3 { margin: 12px 0; overflow-wrap: normal; hyphens: auto; }
.weapon-card > p { min-height: 0; }
.weapon-portrait { aspect-ratio: 4 / 3; border-radius: 16px; background: radial-gradient(ellipse, color-mix(in srgb, var(--weapon) 15%, transparent), transparent 72%); }
.weapon-portrait img { width: 100%; height: 100%; object-fit: contain; }
.weapon-role { margin: 14px 0 0; color: var(--weapon) !important; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; font-weight: 800; }
.weapon-build { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); font-size: .9rem; }
.weapon-build strong { color: var(--ink); font-size: 1.3rem; }
.weapon-link { display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; color: var(--weapon); font-size: .86rem; font-weight: 800; text-decoration: none; }
.weapon-link:hover { text-decoration: underline; }
.weapon-rules { margin: 30px 0 60px; padding: 24px 28px; border: 1px solid rgba(255,184,46,.25); border-radius: 20px; background: rgba(255,184,46,.04); }
.weapon-rules h3 { margin: 0 0 10px; color: var(--sun); font-size: 1.2rem; }
.weapon-rules p, .weapon-numbers { color: var(--muted); line-height: 1.65; }
.weapon-rules p { margin: 0; }
.weapon-details { display: grid; gap: 56px; }
.weapon-detail { padding: clamp(20px, 3vw, 40px); border: 1px solid color-mix(in srgb, var(--weapon) 30%, transparent); border-radius: 28px; background: linear-gradient(145deg, color-mix(in srgb, var(--weapon) 5%, #0d1814), #09110e); }
.weapon-detail-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 32px; align-items: center; }
.weapon-detail .eyebrow { color: var(--weapon); font-size: .68rem; }
.weapon-detail h3 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.weapon-detail-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.weapon-costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.weapon-costs div { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.18); }
.weapon-costs dt { font-size: .76rem; color: var(--muted); line-height: 1.45; }
.weapon-costs dd { margin: 0; font-size: 1.5rem; font-weight: 900; color: var(--weapon); }
.weapon-costs dd span { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); }
.weapon-base { margin: 24px 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.weapon-base > strong { color: var(--weapon); }
.weapon-base p { margin: 12px 0 20px; line-height: 1.65; color: var(--muted); }
.weapon-base-stats { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 0; }
.weapon-base-stats dt { color: var(--muted); font-size: .74rem; }
.weapon-base-stats dd { margin: 5px 0 0; font-size: .95rem; font-weight: 900; }
.weapon-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.weapon-branch { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #0d1714; }
.weapon-branch h4 { margin: 0 0 12px; font-size: 1.35rem; color: var(--weapon); }
.upgrade-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px -10px 24px; }
.upgrade-models figure { margin: 0; background: radial-gradient(ellipse, color-mix(in srgb, var(--weapon) 9%, transparent), transparent 70%); }
.upgrade-models img { width: 100%; height: auto; }
.upgrade-models figcaption { text-align: center; padding: 6px; font-size: .76rem; font-weight: 800; color: var(--muted); }
.branch-levels { margin: 0; }
.branch-levels div { border-top: 1px solid var(--line); padding: 16px 0; }
.branch-levels dt { margin-bottom: 8px; font-weight: 900; font-size: .84rem; }
.branch-levels dd { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.branch-tip { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: #dae4d4; font-size: .86rem; line-height: 1.65; }
.weapon-numbers { margin: 28px 0 0; font-size: .86rem; }
@media (max-width: 1050px) {
  .weapon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weapon-detail-heading { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .arsenal { width: calc(100% - 32px); }
  .weapon-grid, .weapon-branches { grid-template-columns: 1fr; }
  .weapon-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 16px; }
  .weapon-portrait { grid-column: 1; grid-row: 1 / 4; align-self: center; }
  .weapon-card h3, .weapon-card .weapon-role, .weapon-card > p:not(.weapon-build) { grid-column: 2; }
  .weapon-card h3 { font-size: 1.1rem; }
  .weapon-card > p:not(.weapon-role):not(.weapon-build) { margin: 0 0 16px; font-size: .88rem; }
  .weapon-build, .weapon-link { grid-column: 1 / -1; }
  .weapon-branch { padding: 18px; }
  .weapon-rules { padding: 22px; margin-bottom: 40px; }
  .weapon-costs { gap: 6px; }
  .weapon-costs div { padding: 12px 9px; }
  .weapon-costs dt { font-size: .69rem; }
}
