:root {
  --bg: #0a0a0d;
  --bg-2: #141016;
  --ink: #fdf6ea;
  --muted: #e6d9c8;
  --accent: #f4c07a;
  --accent-2: #e49b5a;
  --shadow: 0 30px 80px rgba(5, 4, 6, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Gill Sans", "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Tahoma, sans-serif;
  color: var(--ink);
  background: radial-gradient(1100px 600px at 18% 10%, rgba(228, 155, 90, 0.18), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(244, 192, 122, 0.16), transparent 60%),
    linear-gradient(140deg, var(--bg) 0%, var(--bg-2) 60%, #080608 100%);
  min-height: 100vh;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.scroll-shell {
  position: relative;
  z-index: 2;
  height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-top: env(safe-area-inset-top, 0px);
  opacity: 0;
  animation: shellReveal 0.01s linear 0.05s forwards;
}

@supports (height: 100svh) {
  .scroll-shell {
    height: 100svh;
    min-height: 100svh;
  }
}

@supports (height: 100dvh) {
  .scroll-shell {
    height: 100dvh;
    min-height: 100dvh;
  }
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 80px;
  position: relative;
  z-index: 1;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.fireflies {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}

.fireflies span {
  position: absolute;
  width: calc(var(--size) * 1px);
  height: calc(var(--size) * 1px);
  border-radius: 999px;
  background: rgba(255, 230, 185, 0.95);
  left: var(--x);
  top: var(--y);
  opacity: var(--alpha);
  filter: blur(0.2px);
  box-shadow: 0 0 16px rgba(255, 210, 150, 0.7);
  animation: var(--anim) var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

.bg-layer picture,
.bg-layer img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 78%;
  transform: scale(1.005);
  filter: saturate(1.08) contrast(1.05);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 8, 15, 0.35) 0%, rgba(10, 14, 23, 0.18) 45%, rgba(5, 8, 15, 0.35) 100%);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 52px 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  padding: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: var(--accent-2);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: "Bodoni MT", "Didot", "Garamond", "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  margin: 0 0 18px;
  line-height: 1.02;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 540px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 170, 0.18);
  background: rgba(18, 10, 8, 0.65);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 8, 15, 0.55);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  height: 46px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.cta-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(5, 8, 15, 0.25);
}

.cta-link.steam {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0c0c0c;
  font-weight: 600;
  padding: 0 16px 0 10px;
  gap: 12px;
  box-shadow: 0 18px 30px rgba(8, 8, 10, 0.25);
  height: 46px;
}

.cta-link.steam:hover {
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(8, 8, 10, 0.3);
}

.cta-link.trailer {
  background: rgba(5, 8, 15, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
  height: 46px;
  font-size: 1.2rem;
  padding: 0 18px;
  min-width: 160px;
  justify-content: center;
  line-height: 1;
}

.steam-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #ffffff;
  background-image: url("/media/steam-logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.steam-text {
  display: grid;
  gap: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.steam-text span:first-child {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.steam-text span:last-child {
  font-size: 1.02rem;
  letter-spacing: 0.28em;
}

.form-card {
  background: rgba(14, 9, 8, 0.52);
  border: 1px solid rgba(244, 192, 122, 0.35);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow:
    0 28px 64px rgba(2, 6, 23, 0.7),
    0 0 18px rgba(255, 255, 255, 0.06);
  position: relative;
  transform: scale(1.03);
}

.form-card::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 42px;
  background: radial-gradient(circle at 70% 20%, rgba(244, 192, 122, 0.18), transparent 70%);
  z-index: -1;
  filter: blur(22px);
}

.notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(10, 8, 8, 0.85);
  border: 1px solid rgba(255, 121, 69, 0.6);
  color: #fdf6ea;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.form-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  border: 1px solid rgba(239, 68, 68, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd0cb;
  background: rgba(140, 36, 28, 0.45);
  backdrop-filter: blur(6px);
}

.form-card h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(214, 179, 140, 0.3);
  background: rgba(10, 6, 6, 0.85);
  color: var(--ink);
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(244, 192, 122, 0.45);
  outline-offset: 2px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

button {
  border: none;
  background: linear-gradient(120deg, #f4c07a, #e08b4a);
  color: #2b1b12;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(244, 192, 122, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(244, 192, 122, 0.28);
}

.fineprint {
  font-size: 0.85rem;
  color: rgba(203, 213, 245, 0.7);
}

.video-section {
  margin-top: 48px;
}

.video-stack {
  display: grid;
  gap: 92px;
}

.video-player {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #05070c;
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.5);
}

.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  background: #05070c;
}

.video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  background: #05070c;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  margin-top: 72px;
  padding-bottom: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(253, 246, 234, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shellReveal {
  to {
    opacity: 1;
  }
}

@keyframes firefly-float-a {
  0% { transform: translate(0, 0); }
  20% { transform: translate(1vw, -2vh); }
  45% { transform: translate(-2vw, -4vh); }
  70% { transform: translate(2.5vw, -6vh); }
  100% { transform: translate(-1vw, -8vh); }
}

@keyframes firefly-float-b {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5vw, -2vh); }
  55% { transform: translate(2vw, -5vh); }
  80% { transform: translate(-2.5vw, -7vh); }
  100% { transform: translate(1vw, -9vh); }
}

@keyframes firefly-float-c {
  0% { transform: translate(0, 0); }
  30% { transform: translate(1.2vw, -1vh); }
  60% { transform: translate(-2.2vw, -3.5vh); }
  85% { transform: translate(2.2vw, -6vh); }
  100% { transform: translate(-1vw, -7.5vh); }
}

.hero-copy {
  max-width: 520px;
  animation: fadeUp 0.4s ease 0.1s both;
}

.form-card {
  animation: fadeUp 0.4s ease 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .scroll-shell {
    opacity: 1 !important;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .page {
    padding: 14px 12px 56px;
  }

  .hero {
    min-height: auto;
    padding: 4px 0 18px;
    align-items: flex-start;
  }

  .hero-content {
    padding: 10px 12px 6px;
    gap: 28px;
  }

  .hero-copy {
    order: 2;
  }

  .form-card {
    order: 1;
    transform: none;
    margin-bottom: 2px;
  }

  .lead {
    margin-bottom: 12px;
  }

  .hero-copy {
    margin-top: 4px;
  }

  .cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .cta-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .cta-link.trailer {
    min-width: 0;
    font-size: 0.92rem;
    padding: 0 8px;
  }

  .cta-link.steam {
    padding: 0 8px 0 6px;
    gap: 6px;
  }

  .steam-badge {
    width: 28px;
    height: 28px;
  }

  .steam-text span:first-child {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .steam-text span:last-child {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .form-badge {
    top: 8px;
    right: 12px;
  }

  .video-player {
    width: calc(100% + 20px);
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}
