:root {
  --ink: #08060a;
  --paper: #f3f0f2;
  --pink: #ff2f9b;
  --pink-hot: #ff70bd;
  --muted: #938b94;
  --line: rgba(255,255,255,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  padding: 0 3.5vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: .9; letter-spacing: .08em; font-weight: 700; }
.brand strong { color: var(--pink-hot); }
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  border-radius: 6px;
  background: url("assets/star-pink-ship-logo.png") center/cover no-repeat;
  box-shadow: 0 0 20px rgba(255, 91, 155, .2);
}
.brand-mark:before, .brand-mark i, .brand-mark b { display: none; }
nav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
nav a { color: #bbb4bc; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; transition: color .2s; }
nav a:hover { color: #fff; }
.header-actions { margin-left: 35px; display: flex; align-items: center; gap: 8px; }
.buy-button, .play-button {
  min-height: 43px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.play-button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pump-icon { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; color: #090909; background: #7bf08b; }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-button i { display: block; width: 23px; height: 1px; margin: 6px auto; background: white; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 68% 44%, #271124 0, #09070c 45%, #030205 100%);
}
#heroCanvas, #footerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,2,5,.78), transparent 52%), linear-gradient(0deg, rgba(3,2,5,.62), transparent 42%); }
.hero-copy { position: absolute; z-index: 2; left: 7vw; top: 50%; width: min(570px, 42vw); transform: translateY(-43%); }
.eyebrow, .kicker { margin: 0 0 22px; color: var(--pink-hot); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .2em; }
h1, h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: .01em; line-height: .82; }
h1 { font-size: clamp(78px, 9.5vw, 158px); }
h1 span, h2 em { color: var(--pink); font-style: normal; }
.lead { max-width: 470px; margin: 28px 0 32px; color: #c7c0c8; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.primary-cta {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  background: var(--pink);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: transform .25s, background .25s;
}
.primary-cta:hover { transform: translateY(-3px); background: var(--pink-hot); }
.text-link { color: #ddd6de; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.live-status { position: absolute; z-index: 2; right: 4vw; bottom: 62px; display: grid; grid-template-columns: 10px auto; gap: 3px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.live-status i { width: 7px; height: 7px; margin-top: 2px; border-radius: 50%; background: #75ff9b; box-shadow: 0 0 12px #75ff9b; animation: pulse 1.4s infinite; }
.live-status strong { grid-column: 2; color: var(--pink-hot); font-size: 11px; }
.flight-data { position: absolute; z-index: 2; left: 3.5vw; bottom: 28px; display: flex; gap: 28px; color: #69616c; font: 9px monospace; }
.reveal { opacity: 0; transform: translateY(20px); animation: reveal .8s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .12s; } .delay-2 { animation-delay: .25s; } .delay-3 { animation-delay: .4s; }

.mission { min-height: 760px; padding: 100px 7vw; display: grid; grid-template-columns: 1fr 2.2fr 1.3fr; gap: 5vw; align-items: center; background: var(--paper); color: var(--ink); }
.section-label { align-self: start; color: #8b8188; font: 10px monospace; letter-spacing: .12em; }
.mission-heading h2, .arsenal h2, .economy h2, .leaderboard h2, .final-cta h2 { font-size: clamp(60px, 7vw, 112px); }
.mission-body { max-width: 410px; color: #5c555a; line-height: 1.75; }
.mission-stats { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #cfc8cd; }
.mission-stats div { padding: 28px 0; border-right: 1px solid #cfc8cd; }
.mission-stats strong { display: block; font: 42px Impact, sans-serif; }
.mission-stats span { color: #716970; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }

.arsenal { min-height: 900px; display: grid; grid-template-columns: 1.1fr .9fr; background: #0b080d; }
.arsenal-visual { position: relative; min-height: 740px; overflow: hidden; background: radial-gradient(circle, rgba(255,47,155,.2), transparent 60%), repeating-linear-gradient(0deg, transparent 0 49px, rgba(255,255,255,.035) 50px), repeating-linear-gradient(90deg, transparent 0 49px, rgba(255,255,255,.035) 50px); }
.ship-blueprint { position: absolute; inset: 0; display: grid; place-items: center; }
.blueprint-ring { position: absolute; border: 1px solid rgba(255,105,188,.38); border-radius: 50%; animation: spin 24s linear infinite; }
.ring-a { width: 68%; aspect-ratio: 1; border-style: dashed; }
.ring-b { width: 45%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 16s; }
.blueprint-ship { position: relative; width: 47%; height: 150px; filter: drop-shadow(0 0 25px rgba(255,47,155,.55)); transform: rotate(-10deg); }
.blueprint-ship:before { content: ""; position: absolute; inset: 35px 0; background: linear-gradient(90deg, #901353, #ff43a4 50%, #5b1239); clip-path: polygon(0 50%, 65% 0, 100% 50%, 65% 100%); }
.blueprint-ship i, .blueprint-ship b { position: absolute; left: 18%; width: 34%; height: 42%; background: #ff7cc2; clip-path: polygon(0 50%, 100% 0, 85% 100%); }
.blueprint-ship i { top: 2%; } .blueprint-ship b { bottom: 2%; transform: scaleY(-1); }
.blueprint-ship span { position: absolute; z-index: 2; width: 23%; height: 20%; left: 57%; top: 40%; background: #bcf8ff; border-radius: 60% 20% 20% 60%; box-shadow: 0 0 20px #7ff5ff; }
.ship-blueprint small { position: absolute; bottom: 9%; color: #ff6ab8; font: 10px monospace; letter-spacing: .2em; }
.arsenal-copy { padding: 100px 7vw 80px; display: flex; flex-direction: column; justify-content: center; }
.arsenal-copy > p:not(.kicker) { max-width: 490px; color: #9e959f; line-height: 1.7; }
.loadout-list { margin-top: 50px; border-top: 1px solid var(--line); }
.loadout-list button { width: 100%; padding: 21px 0; display: grid; grid-template-columns: 50px 1fr auto; text-align: left; border: 0; border-bottom: 1px solid var(--line); color: #817985; background: transparent; cursor: pointer; transition: color .2s, padding .2s; }
.loadout-list button.active, .loadout-list button:hover { color: white; padding-left: 12px; }
.loadout-list button span, .loadout-list button b { color: var(--pink); font: 10px monospace; }

.economy { padding: 120px 7vw; background: var(--pink); color: #16050f; }
.economy .section-label, .economy .kicker { color: #64103e; }
.economy h2 em { color: white; }
.economy-flow { margin-top: 90px; display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: center; }
.economy-flow article { border-top: 1px solid rgba(20,5,15,.4); padding-top: 20px; }
.economy-flow article span { font: 10px monospace; }
.economy-flow article strong { display: block; margin: 22px 0 8px; font: 36px Impact, sans-serif; text-transform: uppercase; }
.economy-flow article p { max-width: 250px; font-size: 13px; line-height: 1.6; }
.economy-flow > i { height: 1px; background: rgba(20,5,15,.35); }

.leaderboard { padding: 120px 7vw; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; background: var(--paper); color: var(--ink); }
.leaderboard .primary-cta { margin-top: 35px; }
.primary-cta.dark { background: var(--ink); }
.rank-table { align-self: end; border-top: 2px solid #161217; }
.rank-table > div { display: grid; grid-template-columns: 1fr 80px 120px; align-items: center; min-height: 74px; border-bottom: 1px solid #cfc8cd; }
.rank-table .rank-head { min-height: 44px; color: #8b8288; font: 9px monospace; text-transform: uppercase; }
.rank-table span b { display: inline-block; width: 42px; color: var(--pink); font: 11px monospace; }
.rank-table strong { font: 20px Impact, sans-serif; text-align: right; }
.rank-table .you { color: #857d82; }

.final-cta { position: relative; min-height: 680px; padding: 90px 7vw; display: flex; align-items: center; justify-content: space-between; overflow: hidden; background: #050306; }
.final-cta > div, .final-cta > a { position: relative; z-index: 2; }
.final-cta p { color: var(--pink-hot); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.final-cta h2 span { color: var(--pink); }
.final-cta > a { width: 180px; height: 180px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 50%; background: var(--pink); font-size: 12px; font-weight: 800; letter-spacing: .08em; transition: transform .3s; }
.final-cta > a:hover { transform: rotate(8deg) scale(1.05); }
.final-cta > a b { align-self: flex-end; font-size: 28px; }

footer { min-height: 130px; padding: 35px 4vw; display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #7e7680; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
footer > div { display: flex; gap: 20px; }
footer a:hover { color: white; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { height: 70px; padding: 0 20px; }
  .site-header nav, .site-header .header-actions { display: none; }
  .site-header.open nav { position: absolute; top: 70px; left: 0; width: 100%; padding: 24px; display: grid; gap: 20px; background: rgba(8,6,10,.98); }
  .menu-button { display: block; }
  .hero-copy { left: 24px; top: auto; bottom: 104px; width: calc(100% - 48px); transform: none; }
  h1 { font-size: clamp(70px, 20vw, 110px); }
  .lead { margin: 20px 0 24px; font-size: 13px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .live-status { right: 22px; bottom: 26px; }
  .flight-data { display: none; }
  .mission { padding: 80px 24px; display: block; }
  .mission-heading { margin: 60px 0 35px; }
  .mission-stats { margin-top: 55px; grid-template-columns: repeat(3,1fr); }
  .mission-stats strong { font-size: 30px; }
  .arsenal { grid-template-columns: 1fr; }
  .arsenal-visual { min-height: 520px; }
  .arsenal-copy { padding: 80px 24px; }
  .economy { padding: 90px 24px; }
  .economy-flow { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
  .economy-flow > i { display: none; }
  .leaderboard { padding: 90px 24px; grid-template-columns: 1fr; }
  .rank-table { margin-top: 50px; }
  .final-cta { min-height: 620px; padding: 80px 24px; align-items: flex-start; flex-direction: column; }
  .final-cta > a { align-self: flex-end; }
  footer { padding: 35px 24px; grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-copy h1 { font-size: 67px; }
  .primary-cta { gap: 20px; }
  .text-link { display: none; }
  .mission-heading h2, .arsenal h2, .economy h2, .leaderboard h2, .final-cta h2 { font-size: 54px; }
  .mission-stats { grid-template-columns: 1fr; }
  .mission-stats div { border-right: 0; border-bottom: 1px solid #cfc8cd; }
  .rank-table > div { grid-template-columns: 1fr 50px 82px; font-size: 11px; }
}
