/* ==========================================================================
   HOME PAGE
   ========================================================================== */

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--red) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__mascot {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line), 0 10px 30px rgba(216,30,63,0.35);
}
.hero__eyebrow { justify-content: center; margin-bottom: 22px; }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--red); }

.hero h1 {
  font-size: clamp(3rem, 11vw, 7.2rem);
  color: var(--ink);
}
.hero h1 span { color: var(--red); }

.hero__sub {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1.08rem;
  color: var(--ink-dim);
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 34px 0 0;
  flex-wrap: wrap;
}

/* Socials */
.socials { padding: 90px 0 20px; }
.socials h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 30px; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.social-card {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.social-card:hover, .social-card:focus-visible {
  border-color: var(--red);
  transform: translateY(-3px);
  background: var(--bg-raised-2);
}
.social-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.social-card__icon { width: 26px; height: 26px; color: var(--red); }
.social-card__go { color: var(--ink-mute); font-family: var(--font-mono); font-size: 0.9rem; }
.social-card__name { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; }
.social-card__handle { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-mute); }

@media (max-width: 860px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}

/* We're Not Heroes teaser */
.teaser {
  padding: 90px 0 30px;
}
.teaser__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 60px 44px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(216,30,63,0.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 26px),
    var(--bg-raised);
  overflow: hidden;
}
.teaser__card h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}
.teaser__card p { max-width: 520px; font-size: 1.02rem; }
.teaser__chips {
  display: flex;
  gap: 10px;
  margin: 22px 0 30px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-dim);
}

/* Score display, under the hero CTAs */
.game-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}
.game-score__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.game-score__value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--red);
  transition: transform 0.15s ease;
}
.game-score__value.is-bumped { transform: scale(1.3); }

/* Mini game: mascot roams the whole viewport */
.game-stage {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.game-circle {
  position: absolute;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transform: scale(0);
  animation: game-pop-in 0.4s cubic-bezier(.34,1.56,.64,1) forwards;
  pointer-events: none;
}

.game-token {
  position: absolute;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  cursor: pointer;
  pointer-events: auto;
  transform: scale(0);
  animation: game-pop-in 0.4s 0.1s cubic-bezier(.34,1.56,.64,1) forwards;
  transition: left 6s linear, top 6s linear;
  z-index: 2;
}
.game-token img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.game-token.is-leaving {
  animation: game-pop-out 0.35s ease forwards;
  transition: none;
}
.game-token.is-popped {
  animation: game-pop-clicked 0.35s ease forwards;
  transition: none;
}

.game-plus {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  pointer-events: none;
  animation: game-plus-float 0.7s ease forwards;
  z-index: 3;
}

@keyframes game-pop-in {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes game-pop-out {
  0% { transform: scale(1); }
  100% { transform: scale(0); }
}
@keyframes game-pop-clicked {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}
@keyframes game-plus-float {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-36px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .game-token { transition: none !important; animation: none !important; transform: scale(1) !important; }
  .game-circle { animation: none !important; transform: scale(1) !important; }
}

/* Discount code modal */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 4, 5, 0.78);
  backdrop-filter: blur(6px);
  padding: 20px;
}
.game-modal[hidden] { display: none; }
.game-modal__card {
  max-width: 380px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  padding: 36px 30px;
}
.game-modal__card .eyebrow { justify-content: center; }
.game-modal__card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.game-modal__card p { margin: 0 0 20px; }
.game-modal__code {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px dashed color-mix(in srgb, var(--red) 45%, var(--line));
  border-radius: var(--radius);
  padding: 12px 18px;
  margin: 0 0 24px;
  background: color-mix(in srgb, var(--red) 8%, var(--bg-raised));
}
