:root {
  color-scheme: dark;
  --bg: #111735;
  --panel: rgb(255 241 214 / 0.06);
  --panel-strong: rgb(255 241 214 / 0.1);
  --line: rgb(255 241 214 / 0.13);
  --text: #fff6e6;
  --muted: #c5c4d8;
  --red: #e2412f;
  --gold: #f6c33b;
  --cream: #fff1d6;
  --navy: #1d2d6b;
  --ink: #1b1530;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at top right, rgb(246 195 59 / 0.14), transparent 36%),
    radial-gradient(ellipse at bottom left, rgb(226 65 47 / 0.16), transparent 40%),
    linear-gradient(180deg, #17204a 0%, #111735 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.topbar, main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 32px; height: auto; }

.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

h1, h2, h3 { font-family: "Lilita One", "Space Grotesk", sans-serif; font-weight: 400; letter-spacing: 0.01em; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  padding: 32px 0 88px;
}

.hero-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

.hero-title-row img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgb(0 0 0 / 0.35);
}

.hero-title-row .eyebrow { margin: 0; }

.hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
}

.hero-copy h1 em { font-style: normal; color: var(--gold); }

.hero-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.primary-button,
.secondary-button,
.soon-pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}

.primary-button,
.soon-pill {
  background: linear-gradient(135deg, #ffd969 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 6px 0 #b9831a;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

/* The booth: a range backdrop under a striped awning, with live targets */
.booth {
  position: relative;
  padding-top: 34px;
}

.booth::before {
  content: "";
  position: absolute;
  inset: 0 -10px auto;
  z-index: 2;
  height: 54px;
  border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--cream) 40px 80px);
  -webkit-mask: radial-gradient(circle at 20px 54px, transparent 13px, #000 14px) 0 0 / 40px 54px;
  mask: radial-gradient(circle at 20px 54px, transparent 13px, #000 14px) 0 0 / 40px 54px;
  filter: drop-shadow(0 6px 6px rgb(0 0 0 / 0.3));
}

.booth-frame {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.45);
  aspect-ratio: 720 / 1000;
}

.booth-frame > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.booth .sprite {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 8px 6px rgb(0 0 0 / 0.3));
}

.booth .s-bullseye { width: 34%; left: 33%; top: 12%; animation: swing 2.6s ease-in-out infinite alternate; transform-origin: 50% -40%; }
.booth .s-duck { width: 26%; left: 4%; top: 52%; animation: slide 5s linear infinite; }
.booth .s-bomb { width: 18%; right: 9%; top: 18%; animation: bob 1.8s ease-in-out infinite alternate; }
.booth .s-clay { width: 22%; left: 8%; top: 8%; animation: bob 2.2s ease-in-out infinite alternate-reverse; }

@keyframes swing { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes slide { 0% { transform: translateX(0); } 50% { transform: translateX(230%); } 100% { transform: translateX(0); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  .booth .sprite { animation: none; }
}

/* ─── Sections ─── */
.section { padding: 72px 0; border-top: 1px solid var(--line); }

.section-heading { max-width: 640px; margin-bottom: 36px; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.card h3 { margin: 0; font-size: 24px; }

.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.card-kicker { color: var(--gold); font-size: 13px; font-weight: 700; }

.card-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  object-fit: contain;
}

.card-warning { border-color: rgb(226 65 47 / 0.5); background: rgb(226 65 47 / 0.1); }

/* ─── Places ─── */
.place-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.place-card { overflow: hidden; padding: 0; gap: 0; }

.place-art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.place-art > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.place-art .sprite {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 34%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 5px rgb(0 0 0 / 0.3));
}

.place-art .sprite.small { width: 16%; top: 40%; }
.place-art .sprite.wide { width: 42%; }
.place-art .sprite.second { left: 74%; width: 22%; top: 34%; }

.place-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }

.place-number { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ─── Guns ─── */
.gun-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gun-card { align-items: flex-start; }

.gun-card img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 110px;
  margin: 0 auto 4px;
  object-fit: contain;
  filter: drop-shadow(0 8px 6px rgb(0 0 0 / 0.35));
}

.gun-move {
  margin-top: auto !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--gold) !important;
  font-weight: 600;
}

.gun-card-more {
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgb(246 195 59 / 0.2), transparent 50%),
    var(--panel-strong);
}

/* ─── Progress ─── */
.rewards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.star-row { display: flex; gap: 6px; }
.star-row img { width: 40px; height: 40px; }

/* ─── CTA ─── */
.cta {
  margin: 24px 0 96px;
  padding: 64px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgb(246 195 59 / 0.28), transparent 40%),
    linear-gradient(135deg, #1d2d6b 0%, #8a2a3a 100%);
  text-align: center;
}

.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgb(0 0 0 / 0.35);
}

.cta h2 { margin: 18px 0 0; font-size: clamp(34px, 5vw, 54px); }

.cta > p:not(.eyebrow) { margin: 14px auto 0; max-width: 520px; color: var(--muted); line-height: 1.7; }

.cta .eyebrow { margin-top: 18px; }

.cta .actions { justify-content: center; }

.footnote { margin: -64px 0 64px; color: var(--muted); font-size: 13px; text-align: center; }

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

  .booth { max-width: 400px; }

  .card-grid,
  .place-grid,
  .gun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .topbar, main { width: calc(100% - 32px); }

  .nav-links { display: none; }

  .card-grid,
  .rewards-grid { grid-template-columns: 1fr; }

  .cta { padding: 44px 24px; }

  .actions > * { width: 100%; }
}

@media (max-width: 420px) {
  .place-grid,
  .gun-grid { grid-template-columns: 1fr; }
}
