:root {
  background: #061229;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; overflow: hidden; }

body { min-width: 320px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.prelander { height: 100dvh; isolation: isolate; min-height: 620px; overflow: hidden; position: relative; width: 100vw; }

.hero-video, .video-overlay, .center-overlay, .edge-vignette { height: 100%; inset: 0; position: absolute; width: 100%; }

.hero-video { object-fit: cover; object-position: center; z-index: -4; }
.video-overlay { background: rgb(0 0 0 / 14%); z-index: -3; }
.center-overlay { display: none; }
.edge-vignette { box-shadow: inset 0 0 12vw rgb(1 8 24 / 20%); pointer-events: none; z-index: -1; }

.brand-logo {
  display: block;
  flex: 0 0 auto;
  height: auto;
  margin: 0 0 clamp(0.9rem, 1.4vh, 1.35rem);
  max-width: 22rem;
  width: min(20vw, 22rem);
}

/* The gameplay video is the sole large visual; keep this asset available for later testing. */
.character { display: none; }
body.no-character .character { display: none; }

.hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  left: 50%;
  max-width: 900px;
  position: absolute;
  text-align: center;
  bottom: calc(clamp(1.75rem, 4.25vh, 3.5rem) + 1.5rem);
  top: auto;
  transform: translateX(-50%);
  width: min(900px, 88vw);
  z-index: 2;
}

.hero-content::before {
  background: radial-gradient(ellipse at center, rgb(5 18 45 / 42%) 0%, rgb(5 18 45 / 20%) 45%, transparent 72%);
  content: '';
  filter: blur(10px);
  inset: -100px -140px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.headline {
  display: flex;
  flex-direction: column;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 3.65vw, 4.55rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.84;
  margin: 0;
  text-transform: uppercase;
}

.headline span { white-space: nowrap; }

.headline__gold {
  background: linear-gradient(180deg, #fff8cc 0%, #ffdc80 38%, #e9a642 72%, #c87a20 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 -0.02em 0.035em rgb(255 253 224 / 42%)) drop-shadow(0 0.05em 0.05em rgb(100 54 12 / 42%));
}

.headline__blue {
  background: linear-gradient(180deg, #ffffff 0%, #e1efff 54%, #b9d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0.06em 0.1em rgb(67 157 255 / 30%));
  margin-top: 0.1em;
}

.subtitle {
  align-items: center;
  color: rgb(255 255 255 / 94%);
  display: flex;
  font-size: clamp(0.95rem, 1.2vw, 1.5rem);
  font-weight: 700;
  gap: clamp(0.55rem, 0.75vw, 0.9rem);
  justify-content: center;
  margin: clamp(1.5rem, 1.4vw, 1.75rem) 0 clamp(2.15rem, 2.1vw, 2.6rem);
  text-shadow: 0 0.1rem 0.35rem rgb(2 19 58 / 65%);
  white-space: nowrap;
}

.subtitle b { color: #ffe180; font-size: 1.1em; }
.subtitle__line { background: linear-gradient(90deg, transparent, #f5cf72); height: 1px; max-width: 4.2rem; min-width: 2.5rem; width: 3.4vw; }
.subtitle__line:last-child { background: linear-gradient(90deg, #f5cf72, transparent); }

.steam-cta {
  align-items: center;
  animation: cta-heartbeat 1.8s cubic-bezier(.25, .8, .25, 1) infinite;
  background: linear-gradient(180deg, #173f93 0%, #0d2e76 48%, #071c55 100%);
  border: 2px solid #f2cf70;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgb(91 56 16 / 68%), 0 0.35rem 1.45rem rgb(24 143 238 / 40%), inset 0 0.12rem 0.3rem rgb(255 255 255 / 34%), inset 0 -0.45rem 0.9rem rgb(0 9 48 / 42%);
  color: #fff;
  display: flex;
  font-size: clamp(1.65rem, 2.35vw, 3rem);
  font-weight: 900;
  gap: clamp(0.9rem, 1.2vw, 1.35rem);
  justify-content: center;
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: 42rem;
  min-height: clamp(5.75rem, 7.25vw, 7.75rem);
  overflow: hidden;
  padding: 0.5rem clamp(1.3rem, 1.7vw, 1.9rem);
  position: relative;
  text-decoration: none;
  text-shadow: 0 0.11rem 0.14rem rgb(1 20 64 / 70%);
  transition: filter 180ms ease, transform 180ms ease;
  transform-origin: center;
  width: clamp(34rem, 33.5vw, 42rem);
}

.steam-cta > span { position: relative; z-index: 2; }
.steam-cta::before { animation: cta-shine 4s ease-in-out infinite; background: linear-gradient(105deg, transparent 0%, rgb(184 234 255 / 0%) 28%, rgb(203 244 255 / 60%) 50%, rgb(255 255 255 / 12%) 61%, transparent 100%); content: ''; height: 130%; left: -55%; pointer-events: none; position: absolute; top: -15%; transform: skewX(-20deg); width: 46%; z-index: 1; }
.steam-cta::after { border: 1px solid rgb(196 233 255 / 60%); border-radius: inherit; content: ''; inset: 0.45rem; pointer-events: none; position: absolute; z-index: 3; }
.steam-cta:hover { animation-play-state: paused; filter: brightness(1.08); transform: scale(1.055); }
.steam-cta:hover::before { animation-play-state: paused; }
.steam-cta:focus-visible { outline: 4px solid #fff5bd; outline-offset: 0.5rem; }

.steam-cta__icon-shell { align-items: center; background: #fff; border-radius: 50%; box-shadow: 0 0 0.65rem rgb(132 211 255 / 34%); display: flex; flex: 0 0 auto; height: clamp(4rem, 4.15vw, 5.1rem); justify-content: center; width: clamp(4rem, 4.15vw, 5.1rem); }
.steam-icon { height: 78%; object-fit: contain; width: 78%; }

.vip-reward { align-items: center; color: #fff2bf; display: flex; font-size: clamp(0.8rem, 0.95vw, 1.18rem); font-weight: 700; gap: clamp(0.5rem, 0.58vw, 0.68rem); justify-content: center; margin: clamp(1.75rem, 1.75vw, 2.25rem) 0 0; text-shadow: 0 0.06rem 0.2rem rgb(5 18 52 / 45%); white-space: nowrap; }
.vip-reward img { filter: drop-shadow(0 0.15rem 0.28rem rgb(41 6 99 / 32%)); height: clamp(1.85rem, 2.1vw, 2.45rem); width: clamp(1.85rem, 2.1vw, 2.45rem); }
.vip-reward strong { color: #ffe38b; }
.vip-reward__line { background: linear-gradient(90deg, transparent, #f6d677); height: 1px; width: clamp(1.25rem, 2.1vw, 2.5rem); }
.vip-reward__line:last-child { background: linear-gradient(90deg, #f6d677, transparent); }

@media (max-width: 1100px) {
  .hero-content { max-width: 88vw; }
  .brand-logo { max-width: 18rem; width: 21vw; }
  .steam-cta { width: min(52vw, 42rem); }
}

@media (max-width: 760px) {
  .prelander { min-height: 540px; }
  .brand-logo { margin-bottom: 0.85rem; width: 8rem; }
  .hero-content { bottom: 2.75rem; top: auto; transform: translateX(-50%); width: min(94vw, 34rem); }
  .hero-content::before { inset: -72px -44px; }
  .headline { font-size: clamp(2.5rem, 11vw, 4rem); }
  .subtitle { flex-wrap: wrap; font-size: 0.92rem; gap: 0.45rem 0.65rem; margin: 1.2rem 0 1.45rem; white-space: normal; }
  .subtitle__line { display: none; }
  .steam-cta { font-size: clamp(1.4rem, 6.1vw, 2rem); gap: 0.75rem; min-height: 5.1rem; padding: 0.55rem 1rem; width: min(91vw, 31rem); }
  .steam-cta::after { inset: 0.34rem; }
  .steam-cta__icon-shell { height: 3.15rem; width: 3.15rem; }
  .vip-reward { font-size: 0.9rem; gap: 0.45rem; margin-top: 1.15rem; }
  .vip-reward img { height: 2.25rem; width: 2.25rem; }
  .vip-reward__line { width: 1.2rem; }
}

/* Preserve a clean logo/title separation in short desktop preview windows. */
@media (min-width: 761px) and (max-height: 560px) {
  .brand-logo {
    margin-bottom: 0.6rem;
    max-width: 10rem;
    width: 18vw;
  }
}

@keyframes cta-heartbeat {
  0%, 50%, 100% {
    box-shadow: 0 0 0 2px rgb(91 56 16 / 68%), 0 0.35rem 1.45rem rgb(24 143 238 / 40%), inset 0 0.12rem 0.3rem rgb(255 255 255 / 34%), inset 0 -0.45rem 0.9rem rgb(0 9 48 / 42%);
    transform: scale(1);
  }
  10%, 30% {
    box-shadow: 0 0 0 3px rgb(255 215 110 / 84%), 0 0.42rem 2.8rem rgb(24 143 238 / 86%), 0 0 3.4rem rgb(62 190 255 / 36%), inset 0 0.12rem 0.4rem rgb(255 255 255 / 48%), inset 0 -0.45rem 0.9rem rgb(0 9 48 / 42%);
    transform: scale(1.06);
  }
  20% {
    box-shadow: 0 0 0 2px rgb(126 202 255 / 76%), 0 0.36rem 1.7rem rgb(24 143 238 / 55%), inset 0 0.12rem 0.3rem rgb(255 255 255 / 40%), inset 0 -0.45rem 0.9rem rgb(0 9 48 / 42%);
    transform: scale(1);
  }
}

@keyframes cta-shine {
  0%, 60%, 100% { transform: translateX(0) skewX(-20deg); }
  30% { transform: translateX(390%) skewX(-20deg); }
}

@media (prefers-reduced-motion: reduce) { .steam-cta { animation: none; transition: none; } }

/* Verification dialog is isolated from the approved PL1 layout. */
.verification-overlay[hidden], .verification-retry[hidden] { display: none; }
.verification-overlay {
  align-items: center;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: rgb(2 8 24 / 76%);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 20;
}
.verification-dialog {
  background: linear-gradient(160deg, #101c36, #080f20 72%);
  border: 1px solid rgb(236 197 112 / 68%);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 65%), 0 0 2.5rem rgb(27 116 204 / 25%), inset 0 0 0 1px rgb(255 255 255 / 8%);
  color: #fff;
  max-height: calc(100dvh - 2.5rem);
  max-width: 34rem;
  overflow: auto;
  position: relative;
  width: 100%;
}
.verification-close {
  align-items: center;
  background: rgb(4 13 32 / 88%);
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 1.7rem/1 Arial, sans-serif;
  height: 2.5rem;
  justify-content: center;
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 2.5rem;
  z-index: 1;
}
.verification-close:hover { background: #204279; }
.verification-close:focus-visible, .verification-retry:focus-visible, .verification-continue:focus-visible {
  outline: 3px solid #ffe7a0;
  outline-offset: 3px;
}
.verification-art {
  align-items: flex-end;
  background: #172e5d url('./assets/verification-header-poster.jpg') center / cover;
  border-bottom: 1px solid rgb(245 207 114 / 45%);
  display: flex;
  justify-content: center;
  height: clamp(9rem, 29vh, 12rem);
  overflow: hidden;
  position: relative;
}
.verification-art::after {
  background: linear-gradient(180deg, rgb(4 10 25 / 10%) 30%, rgb(4 10 25 / 72%));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.verification-video { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.verification-art-logo {
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 85%));
  height: auto;
  margin: 0 0 0.7rem;
  max-height: 4rem;
  max-width: 8rem;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}
.verification-body { padding: 1.35rem 2rem 1.5rem; text-align: center; }
.verification-eyebrow { color: #f1cf83; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.24em; margin: 0 0 0.5rem; }
.verification-body h2 { font: 700 clamp(1.7rem, 4vw, 2.15rem)/1.12 Georgia, 'Times New Roman', serif; margin: 0; }
.verification-description { color: #cbd7e8; font-size: 0.9rem; line-height: 1.4; margin: 0.6rem 0 1.15rem; }
.verification-continue {
  align-items: center;
  background: linear-gradient(180deg, #173f93, #0a2563);
  border: 2px solid #eac879;
  border-radius: 999px;
  box-shadow: 0 0.35rem 1.3rem rgb(25 117 207 / 30%), inset 0 0.1rem 0.3rem rgb(255 255 255 / 20%);
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 800 clamp(1rem, 3.5vw, 1.25rem)/1 Arial, sans-serif;
  gap: 0.7rem;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 3.8rem;
  transition: background 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  width: 100%;
}
.verification-continue { text-decoration: none; }
.verification-continue[aria-disabled="true"] {
  pointer-events: none;
  background: linear-gradient(180deg, #263a60, #172542);
  box-shadow: inset 0 0.1rem 0.3rem rgb(255 255 255 / 8%);
  color: #d5dceb;
  cursor: wait;
}
.verification-continue:not([aria-disabled="true"]):hover { filter: brightness(1.12); }
.verification-spinner {
  animation: verification-spin 900ms linear infinite;
  border: 2px solid rgb(255 255 255 / 35%);
  border-top-color: #ffe199;
  border-radius: 50%;
  height: 1.1rem;
  width: 1.1rem;
}
.verification-dialog[data-state="server_verified"] .verification-spinner { display: none; }
.verification-widget { margin: 0.8rem auto 0; min-height: 4.2rem; width: min(100%, 320px); }
.verification-status { color: #e8d5a9; font-size: 0.8rem; line-height: 1.4; margin: 0.55rem 0 0; min-height: 2.4em; }
.verification-dialog[data-state="error"] .verification-status,
.verification-dialog[data-state="unverified"] .verification-status,
.verification-dialog[data-state="expired"] .verification-status { color: #ffd2c5; }
.verification-retry {
  background: #183b7c;
  border: 1px solid #e9c678;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: 700 0.9rem Arial, sans-serif;
  margin-top: 0.7rem;
  padding: 0.7rem 1.5rem;
}
.verification-retry:hover { background: #26509a; }
.verification-skip {
  display: block;
  width: fit-content;
  margin: 0.55rem auto 0;
  padding: 0.3rem 0.5rem;
  border: 0;
  background: transparent;
  color: #d6e1f0;
  font: inherit;
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
}
.verification-skip:focus-visible { outline: 2px solid #f2cf70; outline-offset: 2px; }
.pc-only[hidden], .offers-page[hidden], .prelander[hidden], .offer-fallback[hidden] { display: none; }
.pc-only, .offers-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 1rem;
  background: radial-gradient(ellipse at center, #14294f, #061229 65%);
  color: #fff;
}
.pc-only__card {
  width: min(100%, 34rem);
  padding: clamp(1.25rem, 5vw, 2.5rem);
  border: 1px solid #a7854d;
  border-radius: 1rem;
  background: #0a152c;
  text-align: center;
}
.pc-only__card img { width: min(10rem, 100%); }
.pc-only__card h1 { color: #f2cf70; font-family: Georgia, serif; }
.pc-only__card p { line-height: 1.5; color: #d6e1f0; }
.offer-fallback { display: inline-block; padding: 0.6rem; color: #f2cf70; }
.pl1-offer-fallback {
  position: absolute;
  top: 100%;
  font-size: 0.875rem;
  text-shadow: 0 1px 4px #061229;
}
.pl1-offer-fallback:focus-visible { outline: 2px solid #f2cf70; outline-offset: 2px; }
.verification-note { border-top: 1px solid rgb(255 255 255 / 12%); color: #aabbd1; font-size: 0.72rem; line-height: 1.4; margin: 0.8rem 0 0; padding-top: 0.7rem; }
@keyframes verification-spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .verification-overlay { padding: 0.65rem; }
  .verification-dialog { border-radius: 1rem; max-height: calc(100dvh - 1.3rem); }
  .verification-art { height: 8.5rem; }
  .verification-body { padding: 1.15rem 1rem 1.25rem; }
  .verification-continue { min-height: 3.5rem; }
}
@media (max-width: 360px) {
  .verification-overlay { padding: 0.25rem; }
  .verification-dialog { max-height: calc(100dvh - 0.5rem); }
  .verification-body { padding-inline: 0.25rem; }
}
@media (max-height: 650px) {
  .verification-art { height: 7rem; }
  .verification-body { padding-top: 0.8rem; padding-bottom: 0.8rem; }
  .verification-description { margin-bottom: 0.7rem; }
  .verification-continue { min-height: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .verification-spinner { animation: none; }
  .verification-continue { transition: none; }
}
