:root {
  --sand: #f5ecdd;
  --sand-deep: #ebdfca;
  --foam: #fffaf2;
  --line: #e0d2bb;
  --navy: #0d2436;
  --navy-soft: #1b3a52;
  --ink: #0d2436;
  --ink-soft: #3f5262;
  --ink-muted: #6d7b86;
  --coral: #ff5a36;
  --coral-deep: #d63d1c;
  --sea: #1f6f78;
  --doom-bg: #150908;
  --doom-line: #3b1d1a;
  --doom-red: #ff3030;
  --doom-red-deep: #b4140f;
  --doom-gold: #ffd166;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --radius: 20px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--sand) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-brand img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:active {
  transform: translateY(2px);
}

.btn-small {
  padding: 8px 18px;
  font-size: 15px;
  background: var(--navy);
  color: var(--foam);
}

.btn-small:hover {
  background: var(--navy-soft);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-deep);
}

.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--foam);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--gutter) 112px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lede {
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-mark {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 90 54 / 0.22), transparent 65%);
}

.hero-mark svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sun {
  fill: var(--coral);
}

.wave {
  animation: drift 8s linear infinite;
}

.wave-b {
  animation-duration: 11s;
  animation-direction: reverse;
}

@keyframes drift {
  to { transform: translateX(24px); }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 64px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head > p:last-child:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 18px;
}

.game {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  color: #f7efe7;
  background:
    radial-gradient(circle at 78% 40%, rgb(255 90 20 / 0.38), transparent 42%),
    radial-gradient(circle at 78% 45%, rgb(200 20 15 / 0.45), transparent 70%),
    var(--doom-bg);
  box-shadow: 0 30px 70px -30px rgb(13 36 54 / 0.55);
  overflow: hidden;
}

.game-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-copy > p {
  max-width: 32em;
  color: #cdbdb3;
}

.game-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.game-icon {
  flex: none;
  border-radius: 16px;
  image-rendering: pixelated;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.5);
}

.game-wordmark {
  width: min(100%, 420px);
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 0 #000);
}

.game-tagline {
  font-family: var(--font-pixel);
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.6;
  color: var(--doom-gold) !important;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tags li {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--doom-line);
  background: rgb(255 255 255 / 0.04);
  font-size: 14px;
  color: #cdbdb3;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.btn-play {
  border-radius: 12px;
  padding: 10px 24px 10px 18px;
  background: var(--doom-red);
  color: #fff;
  box-shadow: 0 5px 0 var(--doom-red-deep);
  text-align: left;
}

.btn-play:hover {
  background: #ff4646;
}

.btn-play span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 18px;
}

.btn-play small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

.btn-dark-ghost {
  border-radius: 12px;
  border-color: var(--doom-line);
  color: #cdbdb3;
}

.btn-dark-ghost:hover {
  border-color: #95817a;
  color: #fff;
}

.game-shot {
  display: flex;
  justify-content: center;
}

.phone {
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1 / 2;
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(160deg, #3a3434, #141010 55%);
  box-shadow:
    inset 0 0 0 2px #4d4545,
    0 30px 60px -20px rgb(0 0 0 / 0.8),
    0 0 0 1px #000;
  transform: rotate(3deg);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--foam);
  border: 1px solid var(--line);
}

.card p {
  flex: 1;
  color: var(--ink-soft);
  font-size: 16px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--navy);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status {
  align-self: flex-start;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sand-deep);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: 1px;
  animation: pulse 1.8s ease-in-out infinite;
}

.status-live::before {
  background: var(--sea);
  animation: none;
}

@keyframes pulse {
  50% { opacity: 0.25; }
}

.contact {
  position: relative;
  margin-top: 96px;
  background: var(--navy);
  color: var(--foam);
}

.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
  background: var(--navy);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12q30-14 60 0t60 0V24H0z'/%3E%3C/svg%3E") repeat-x bottom / 120px 24px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12q30-14 60 0t60 0V24H0z'/%3E%3C/svg%3E") repeat-x bottom / 120px 24px;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--gutter) 72px;
}

.contact .eyebrow {
  color: var(--coral);
}

.contact h2 {
  max-width: 16em;
}

.contact p:not(.eyebrow) {
  color: #b7c3cc;
  font-size: 18px;
}

.contact-mail {
  align-self: flex-start;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--coral);
  text-decoration: none;
  border-bottom: 3px solid currentColor;
  overflow-wrap: anywhere;
}

.contact-mail:hover {
  color: #ff7d5e;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  padding: 40px var(--gutter) 48px;
  background: var(--navy);
  border-top: 1px solid var(--navy-soft);
  font-size: 14px;
  color: #93a3af;
}

.footer > * {
  max-width: var(--max);
}

.footer img {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  color: #b7c3cc;
}

.footer-copy {
  margin-left: auto;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero-mark {
    order: -1;
    justify-self: start;
    width: 140px;
  }

  .game {
    grid-template-columns: 1fr;
  }

  .phone {
    max-width: 230px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .nav-brand img {
    height: 28px;
  }

  .game-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-icon {
    width: 60px;
    height: 60px;
  }

  .footer-copy {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
}
