:root {
  --bg: #08130e;
  --text: #f4f0df;
  --muted: rgba(244, 240, 223, .72);
  --soft: rgba(244, 240, 223, .12);
  --softer: rgba(244, 240, 223, .075);
  --line: rgba(244, 240, 223, .20);
  --accent: #d5c89d;
  --green: #91d379;
  --shadow: 0 28px 90px rgba(0,0,0,.45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07100c;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2,6,4,.92), rgba(2,6,4,.62) 45%, rgba(2,6,4,.86)),
    linear-gradient(180deg, rgba(2,6,4,.36), rgba(2,6,4,.95)),
    url("assets/background.jpg") center / cover no-repeat;
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(145,211,121,.24), transparent 28rem),
    radial-gradient(circle at 84% 30%, rgba(213,200,157,.18), transparent 30rem);
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.site-header {
  width: min(1180px, calc(100vw - 34px));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  width: clamp(142px, 18vw, 210px);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.45));
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 7px;
}
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}
.site-nav a:hover { background: var(--soft); color: var(--text); }

.section-pad {
  width: min(1180px, calc(100vw - 34px));
  margin: 0 auto;
  padding: 54px 0;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 12px;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  font-size: clamp(48px, 7.7vw, 104px);
  line-height: .86;
  letter-spacing: -.075em;
  margin-bottom: 24px;
}
.intro {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.24);
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.button.primary {
  background: var(--accent);
  color: #10120c;
  border-color: transparent;
}
.button.large { padding-inline: 24px; }

.feature-card,
.game-card,
.focus-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.feature-card {
  border-radius: 36px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px;
  height: 260px;
  background: rgba(145,211,121,.20);
  border-radius: 50%;
  filter: blur(45px);
}
.feature-text {
  display: grid;
  gap: 4px;
  padding: 18px 4px 2px;
}
.feature-text span,
.number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
}
.feature-text h2,
.card-copy h3 {
  margin: 0;
  letter-spacing: -.045em;
  line-height: .95;
}
.feature-text h2 { font-size: 38px; }
.feature-text p,
.card-copy p,
.focus-card p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }

.phone-frame {
  width: min(320px, 72vw);
  aspect-ratio: 9 / 19.35;
  margin: 0 auto;
  position: relative;
  border-radius: 42px;
  padding: 11px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.025) 28%, rgba(0,0,0,.9) 70%),
    #070807;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 30px 86px rgba(0,0,0,.52), inset 0 0 0 2px rgba(255,255,255,.035);
}
.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 21px;
  border-radius: 0 0 16px 16px;
  background: #060706;
}
.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
  background: #050705;
}
.phone-frame.small { width: min(250px, 70vw); }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.section-title h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  letter-spacing: -.06em;
  line-height: .95;
  margin-bottom: 0;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.game-card {
  min-height: 560px;
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  align-items: center;
  gap: 22px;
  overflow: hidden;
}
.mobile-card {
  grid-template-columns: minmax(190px, 280px) 1fr;
}
.card-copy h3 {
  font-size: clamp(36px, 4.3vw, 64px);
  margin: 8px 0 12px;
}
.card-copy p { max-width: 360px; font-size: 16px; }
.wide-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  min-height: auto;
}
.wide-video {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #050705;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.wide-video video { width: 100%; height: 100%; object-fit: cover; }
.wide-copy { align-self: center; }

.focus-card {
  border-radius: 34px;
  padding: clamp(26px, 5vw, 54px);
  background: linear-gradient(135deg, rgba(145,211,121,.18), rgba(213,200,157,.09));
}
.focus-card h2 {
  max-width: 880px;
  font-size: clamp(34px, 5.3vw, 74px);
  line-height: .92;
  letter-spacing: -.06em;
  margin-bottom: 14px;
}
.focus-card p { font-size: 19px; }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.contact h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: .92;
  letter-spacing: -.06em;
  margin-bottom: 0;
}
.site-footer {
  width: min(1180px, calc(100vw - 34px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero,
  .mobile-card,
  .wide-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 42px; }
  .feature-card { max-width: 430px; margin: 0 auto; width: 100%; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: auto; }
  .wide-copy { padding: 2px 4px 8px; }
}

@media (max-width: 620px) {
  .site-header { height: auto; padding: 18px 0; align-items: flex-start; }
  .site-nav { display: none; }
  .section-pad { width: min(100vw - 22px, 1180px); padding: 38px 0; }
  h1 { font-size: 50px; }
  .intro { font-size: 16px; }
  .feature-text h2 { font-size: 32px; }
  .game-card { padding: 14px; border-radius: 24px; }
  .phone-frame { width: min(280px, 82vw); border-radius: 38px; }
  .phone-frame.small { width: min(238px, 78vw); }
  .contact { display: grid; }
  .button.large { width: 100%; }
}
