* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1b2340;
  --panel: #ffffff;
  --gold: #ffc53d;
  --gold-dark: #b97e0e;
  --radius: 18px;
  --quiz: #7c3aed;
  --quiz-dark: #5b21b6;
  --family: #1d4ed8;
  --family-dark: #173a7d;
  --bluff: #db2777;
  --bluff-dark: #9d174d;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(124, 58, 237, .45), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(29, 78, 216, .45), transparent 60%),
    radial-gradient(700px 420px at 50% 110%, rgba(219, 39, 119, .30), transparent 60%),
    linear-gradient(160deg, #141b4d 0%, #2b1055 48%, #173a7d 100%);
  min-height: 100vh;
  color: #fff;
  padding: 28px 16px 48px;
  overflow-x: hidden;
}

.wrap { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }

/* ---------- confetti (pure CSS) ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.confetti span {
  position: absolute; top: -24px; width: 10px; height: 16px; border-radius: 3px;
  opacity: .55; animation: fall linear infinite;
}
.confetti span:nth-child(1)  { left: 4%;  background: #ffc53d; animation-duration: 11s; animation-delay: 0s; }
.confetti span:nth-child(2)  { left: 12%; background: #7c3aed; animation-duration: 14s; animation-delay: 2s; }
.confetti span:nth-child(3)  { left: 21%; background: #22c55e; animation-duration: 12s; animation-delay: 5s; }
.confetti span:nth-child(4)  { left: 30%; background: #db2777; animation-duration: 15s; animation-delay: 1s; }
.confetti span:nth-child(5)  { left: 39%; background: #38bdf8; animation-duration: 11s; animation-delay: 4s; }
.confetti span:nth-child(6)  { left: 48%; background: #ffc53d; animation-duration: 13s; animation-delay: 7s; }
.confetti span:nth-child(7)  { left: 57%; background: #f97316; animation-duration: 12s; animation-delay: 3s; }
.confetti span:nth-child(8)  { left: 66%; background: #7c3aed; animation-duration: 14s; animation-delay: 6s; }
.confetti span:nth-child(9)  { left: 74%; background: #22c55e; animation-duration: 11s; animation-delay: 8s; }
.confetti span:nth-child(10) { left: 82%; background: #db2777; animation-duration: 13s; animation-delay: 2.5s; }
.confetti span:nth-child(11) { left: 90%; background: #38bdf8; animation-duration: 12s; animation-delay: 5.5s; }
.confetti span:nth-child(12) { left: 96%; background: #ffc53d; animation-duration: 15s; animation-delay: .5s; }
@keyframes fall {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(560deg); }
}
@media (prefers-reduced-motion: reduce) {
  .confetti { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 26px 0 8px; }
.hero-kicker {
  display: inline-block; font-weight: 700; font-size: .95rem; letter-spacing: .4px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.wordmark {
  font-size: clamp(3rem, 11vw, 6.2rem);
  font-weight: 900; letter-spacing: 2px; line-height: 1.02;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .35);
}
.wordmark span {
  background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, #f59e0b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .35));
}
.pitch { font-size: clamp(1.25rem, 3.4vw, 1.7rem); font-weight: 700; margin-top: 16px; }
.pitch strong { color: var(--gold); }
.subpitch { max-width: 640px; margin: 12px auto 0; font-size: 1.05rem; line-height: 1.55; opacity: .92; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-size: 1.05rem; transition: .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); border-color: var(--gold-dark); color: #231900; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.btn-gold:hover { border-color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- sections ---------- */
section { margin-top: 54px; }
.section-title {
  text-align: center; font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 900;
  letter-spacing: .5px; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); margin-bottom: 24px;
}

/* ---------- game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 920px) { .game-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.game-card {
  background: var(--panel); color: var(--ink); border-radius: var(--radius);
  padding: 28px 24px 24px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  display: flex; flex-direction: column; text-align: center;
  border-top: 10px solid #999; transition: .18s;
}
.game-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, .5); }
.game-card.quiz   { border-top-color: var(--quiz); }
.game-card.family { border-top-color: var(--family); }
.game-card.bluff  { border-top-color: var(--bluff); }

.game-badge {
  width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
  box-shadow: inset 0 -5px 10px rgba(0, 0, 0, .18), 0 8px 18px rgba(0, 0, 0, .22);
}
.quiz .game-badge   { background: linear-gradient(160deg, #a78bfa, var(--quiz)); }
.family .game-badge { background: linear-gradient(160deg, #60a5fa, var(--family)); }
.bluff .game-badge  { background: linear-gradient(160deg, #f472b6, var(--bluff)); }

.game-card h3 { font-size: 1.85rem; font-weight: 900; letter-spacing: .3px; }
.quiz h3   { color: var(--quiz-dark); }
.family h3 { color: var(--family-dark); }
.bluff h3  { color: var(--bluff-dark); }

.game-tag { font-weight: 700; font-size: 1.05rem; margin: 8px 0 16px; color: #333c5c; }

.game-feats { list-style: none; text-align: left; margin: 0 auto 16px; max-width: 300px; }
.game-feats li { padding: 6px 0 6px 26px; position: relative; line-height: 1.4; font-size: .98rem; }
.game-feats li::before { content: "⭐"; position: absolute; left: 0; top: 6px; font-size: .85rem; }

.players { font-weight: 800; color: #555f85; margin-bottom: 18px; margin-top: auto; }

.btn-play { color: #fff; font-size: 1.15rem; padding: 15px 26px; width: 100%; }
.quiz .btn-play   { background: var(--quiz); border-color: var(--quiz-dark); box-shadow: 0 8px 18px rgba(124, 58, 237, .45); }
.family .btn-play { background: var(--family); border-color: var(--family-dark); box-shadow: 0 8px 18px rgba(29, 78, 216, .45); }
.bluff .btn-play  { background: var(--bluff); border-color: var(--bluff-dark); box-shadow: 0 8px 18px rgba(219, 39, 119, .45); }
.btn-play:hover { filter: brightness(1.1); border-color: #fff; }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.how-step {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
  backdrop-filter: blur(4px);
}
.step {
  background: var(--gold); color: #231900; width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 900; box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
}
.how-step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.how-step p { line-height: 1.5; opacity: .93; }

/* ---------- made for game night ---------- */
.made-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .made-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.made-card {
  background: var(--panel); color: var(--ink); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.made-icon { font-size: 2.4rem; margin-bottom: 10px; }
.made-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.made-card p { line-height: 1.55; color: #333c5c; }

/* ---------- footer ---------- */
.footer { text-align: center; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .25); }
.footer-brand { font-size: 1.5rem; font-weight: 900; letter-spacing: 1.5px; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.footer-brand span { color: var(--gold); }
.footer-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 14px; }
.footer-links a {
  color: #fff; text-decoration: none; font-weight: 700; padding: 9px 18px;
  border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; transition: .15s;
}
.footer-links a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.footer-small { opacity: .8; font-size: .92rem; }

@media (max-width: 480px) {
  body { padding: 20px 12px 40px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  section { margin-top: 42px; }
}
