/* GoalClash Landing Page — International & Club Matches brand */

:root {
  --red: #E8333A;
  --red-soft: #F06066;
  --blue: #1A6FC4;
  --blue-soft: #5499D8;
  --green: #1E9E52;
  --green-soft: #3CBF74;
  --dark-page: #06090F;
  --dark-hero: #0D1B2E;
  --dark-card: #111B2B;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark-page);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background orbs */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 18s ease-in-out infinite;
}

.orb-red {
  width: 420px;
  height: 420px;
  background: var(--red);
  top: -120px;
  right: -80px;
}

.orb-blue {
  width: 380px;
  height: 380px;
  background: var(--blue);
  bottom: 20%;
  left: -120px;
  animation-delay: -6s;
}

.orb-green {
  width: 300px;
  height: 300px;
  background: var(--green);
  top: 45%;
  right: 10%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

main,
nav,
footer {
  position: relative;
  z-index: 1;
}

/* Navbar */
.gc-nav {
  background: rgba(6, 9, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: box-shadow var(--transition);
}

.gc-nav.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  color: var(--text) !important;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.brand-logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text) !important;
}

.navbar-toggler {
  padding: 0.35rem 0.5rem;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.btn-beta-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #c42a30);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-beta-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 51, 58, 0.4);
  color: #fff;
}

/* Sections */
.section-pad {
  padding: 6rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 0.75rem;
}

.section-tag--inline {
  margin-bottom: 0;
}

.section-header-tag-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 575.98px) {
  .section-header-tag-row {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .section-header-tag-row .btn-primary-gc--sm {
    width: auto;
    max-width: 100%;
    align-self: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    min-height: 44px;
  }

  .hero-lb-panel {
    padding: 0.85rem 0.75rem;
  }

  .hero-lb-row {
    grid-template-columns: 28px 24px 1fr auto;
    gap: 6px;
    padding: 5px 7px;
  }

  .hero-lb-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.6875rem;
  }

  .hero-lb-points {
    font-size: 0.75rem;
  }
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* Pitch lines — subtle horizontal stadium texture (no center line) */
.pitch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 79px,
    rgba(255, 255, 255, 0.35) 79px,
    rgba(255, 255, 255, 0.35) 80px
  );
  background-size: 100% 80px;
}


.hero.has-pitch-lines {
  overflow: hidden;
}

.has-pitch-lines {
  position: relative;
  overflow: hidden;
}

.has-pitch-lines > .pitch-lines,
.has-pitch-lines::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 99px,
    rgba(255, 255, 255, 0.25) 99px,
    rgba(255, 255, 255, 0.25) 100px
  );
  z-index: 0;
}

.has-pitch-lines > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

/* Hero slider */
.hero-slider-container {
  width: 100%;
}

.hero-slider {
  position: relative;
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  transition: opacity 0.75s ease-in-out, visibility 0.75s ease-in-out;
  will-change: opacity, visibility;
}

.hero-slide.is-active {
  position: relative;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero-title--slide {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
}

.hero-lb-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-actions--dual {
  flex-direction: row;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .hero-actions--dual {
    flex-direction: column;
  }

  .hero-actions--dual .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-lb-panel {
  max-width: 440px;
  margin-inline: auto;
  padding: 0.9rem 1rem 1rem;
  border-radius: 20px;
  background: rgba(17, 27, 43, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.hero-lb-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hero-lb-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.hero-lb-panel-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(26, 111, 196, 0.16);
  border: 1px solid rgba(84, 153, 216, 0.25);
  white-space: nowrap;
}

.hero-lb-state {
  text-align: center;
  padding: 1.5rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero-lb-state[hidden] {
  display: none !important;
}

.hero-lb-spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.65rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: heroLbSpin 0.8s linear infinite;
}

@keyframes heroLbSpin {
  to { transform: rotate(360deg); }
}

.hero-lb-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-lb-row {
  display: grid;
  grid-template-columns: 32px 28px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-lb-rank {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-lb-rank--1 { color: #ffd700; }
.hero-lb-rank--2 { color: #c0c0c0; }
.hero-lb-rank--3 { color: #cd7f32; }

.hero-lb-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
}

.hero-lb-avatar--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-lb-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-lb-user {
  min-width: 0;
}

.hero-lb-username {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-lb-country {
  margin: 1px 0 0;
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-lb-points {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-soft);
  white-space: nowrap;
}

.hero-slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  background: rgba(255, 255, 255, 0.45);
  outline: none;
  transform: scale(1.15);
}

.hero-slider-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--blue-soft);
  box-shadow: 0 0 16px rgba(84, 153, 216, 0.45);
}

.hero-slider.is-paused .hero-slider-dot.is-active {
  background: var(--green-soft);
}

/* Hero slide 3 — app update */
.edition-pill--update {
  border-color: rgba(30, 158, 82, 0.35);
  background: rgba(30, 158, 82, 0.08);
  color: var(--green-soft);
}

.hero-update-highlights {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 520px;
  width: 100%;
  text-align: left;
}

.hero-update-highlight {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.hero-update-highlight-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.hero-update-highlight-icon svg {
  width: 18px;
  height: 18px;
}

.hero-update-highlight--red .hero-update-highlight-icon {
  color: var(--red-soft);
  background: rgba(232, 51, 58, 0.14);
  border: 1px solid rgba(232, 51, 58, 0.22);
}

.hero-update-highlight--blue .hero-update-highlight-icon {
  color: var(--blue-soft);
  background: rgba(26, 111, 196, 0.14);
  border: 1px solid rgba(84, 153, 216, 0.22);
}

.hero-update-highlight--green .hero-update-highlight-icon {
  color: var(--green-soft);
  background: rgba(30, 158, 82, 0.14);
  border: 1px solid rgba(30, 158, 82, 0.22);
}

.hero-update-highlight-text {
  min-width: 0;
  text-align: left;
}

.hero-update-highlight-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  text-align: left;
}

.hero-update-highlight-text span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: left;
}

.hero-update-note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions--update .btn {
  min-height: 48px;
}

.hero-update-showcase {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 24px;
  background: rgba(17, 27, 43, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  text-align: center;
}

.hero-update-showcase-glow {
  position: absolute;
  inset: 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 111, 196, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-update-logo-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.hero-update-logo {
  width: clamp(120px, 28vw, 180px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45));
}

.hero-update-logo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-soft);
  background: rgba(30, 158, 82, 0.14);
  border: 1px solid rgba(30, 158, 82, 0.28);
}

.hero-update-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.hero-update-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-update-chip--red {
  color: var(--red-soft);
  background: rgba(232, 51, 58, 0.12);
  border: 1px solid rgba(232, 51, 58, 0.22);
}

.hero-update-chip--blue {
  color: var(--blue-soft);
  background: rgba(26, 111, 196, 0.12);
  border: 1px solid rgba(84, 153, 216, 0.22);
}

.hero-update-chip--green {
  color: var(--green-soft);
  background: rgba(30, 158, 82, 0.12);
  border: 1px solid rgba(30, 158, 82, 0.22);
}

@media (max-width: 991.98px) {
  .hero-update-highlights,
  .hero-update-note,
  .hero-lead {
    max-width: 100%;
  }

  .hero-actions--update {
    flex-direction: column;
  }

  .hero-actions--update .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-update-showcase {
    max-width: min(340px, 92vw);
    margin-top: 0.5rem;
    padding: 1.5rem 1.15rem 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title--slide {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
  }

  .hero-update-highlight {
    grid-template-columns: 32px 1fr;
    gap: 0.6rem;
    padding: 0.6rem 0.7rem;
  }

  .hero-update-highlight-icon {
    width: 32px;
    height: 32px;
  }

  .hero-update-highlight-icon svg {
    width: 16px;
    height: 16px;
  }

  .hero-update-chip {
    font-size: 0.625rem;
  }
}

/* Hero atmosphere */
.hero {
  padding-top: 7.5rem;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero.section-pad {
  padding-bottom: 1.5rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.stadium-spotlight {
  position: absolute;
  width: 55%;
  height: 120%;
  top: -10%;
  filter: blur(60px);
  opacity: 0.2;
  animation: spotlightSweep 12s ease-in-out infinite;
}

.stadium-spotlight-left {
  left: -15%;
  background: radial-gradient(ellipse at 30% 40%, var(--blue) 0%, transparent 65%);
}

.stadium-spotlight-right {
  right: -15%;
  background: radial-gradient(ellipse at 70% 50%, var(--green) 0%, transparent 65%);
  animation-delay: -6s;
}

@keyframes spotlightSweep {
  0%, 100% { transform: translateX(0) scale(1); opacity: 0.18; }
  50% { transform: translateX(40px) scale(1.08); opacity: 0.28; }
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  animation: particleDrift 8s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 35%; left: 78%; animation-delay: -1.2s; background: var(--red-soft); }
.hero-particles span:nth-child(3) { top: 62%; left: 25%; animation-delay: -2.5s; }
.hero-particles span:nth-child(4) { top: 72%; left: 65%; animation-delay: -3.8s; background: var(--blue-soft); }
.hero-particles span:nth-child(5) { top: 28%; left: 45%; animation-delay: -0.8s; width: 3px; height: 3px; }
.hero-particles span:nth-child(6) { top: 55%; left: 88%; animation-delay: -4.2s; background: var(--green-soft); }
.hero-particles span:nth-child(7) { top: 82%; left: 40%; animation-delay: -5.5s; }
.hero-particles span:nth-child(8) { top: 12%; left: 58%; animation-delay: -6s; width: 5px; height: 5px; }

@keyframes particleDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  25% { transform: translate(12px, -18px); opacity: 0.7; }
  50% { transform: translate(-8px, -30px); opacity: 0.5; }
  75% { transform: translate(15px, -12px); opacity: 0.8; }
}

.hero-football {
  position: absolute;
  right: 8%;
  top: 22%;
  width: 80px;
  height: 80px;
  opacity: 0.22;
  animation: footballFloat 7s ease-in-out infinite;
}

.football-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-football .football-icon {
  animation: footballSpin 14s linear infinite;
}

@keyframes footballFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

@keyframes footballSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll kick ball */
.scroll-kick-ball {
  position: fixed;
  left: -60px;
  top: 50%;
  width: 48px;
  height: 48px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.scroll-kick-ball.is-active {
  opacity: 1;
}

.scroll-kick-ball .football-icon {
  animation: footballSpin 3s linear infinite;
}

/* CTA button animations */
.btn-cta-pulse {
  position: relative;
  animation: ctaGlow 3s ease-in-out infinite;
}

.btn-cta-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--red), var(--blue), var(--green));
  opacity: 0;
  z-index: -1;
  animation: ctaRing 3s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(232, 51, 58, 0.3); }
  50% { box-shadow: 0 8px 36px rgba(232, 51, 58, 0.55); }
}

@keyframes ctaRing {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.04); }
}

.btn-football {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-primary-gc:hover .btn-football,
.btn-download:hover .btn-football {
  transform: translateX(4px) rotate(20deg);
}

.btn-download-pulse {
  position: relative;
  animation: downloadPulse 2.8s ease-in-out infinite;
}

@keyframes downloadPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(30, 158, 82, 0.35); }
  50% { box-shadow: 0 10px 40px rgba(30, 158, 82, 0.6), 0 0 0 4px rgba(30, 158, 82, 0.15); }
}

.edition-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tri-bar {
  display: inline-flex;
  gap: 2px;
  width: 28px;
  height: 8px;
  background:
    linear-gradient(var(--red) 0 0) 0 0 / 33% 100% no-repeat,
    linear-gradient(var(--blue) 0 0) 50% 0 / 33% 100% no-repeat,
    linear-gradient(var(--green) 0 0) 100% 0 / 33% 100% no-repeat;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--red-soft), var(--blue-soft), var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.btn-primary-gc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), #c42a30);
  color: #fff;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary-gc:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(232, 51, 58, 0.45);
  color: #fff;
}

.btn-primary-gc--sm {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
}

.btn-primary-gc--sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 51, 58, 0.4);
}

.btn-outline-gc {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-outline-gc:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.stat-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-card--tappable {
  position: relative;
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.stat-card--tappable:hover,
.stat-card--tappable:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(60, 191, 116, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(60, 191, 116, 0.15);
  outline: none;
}

.stat-card--tappable.is-open {
  border-color: rgba(60, 191, 116, 0.55);
  background: rgba(60, 191, 116, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(60, 191, 116, 0.25);
}

.stat-card-tap-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-soft);
  background: rgba(60, 191, 116, 0.12);
  border: 1px dashed rgba(60, 191, 116, 0.35);
}

.stat-card-tap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-soft);
  animation: statTapPulse 1.6s ease-in-out infinite;
}

@keyframes statTapPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.stat-card-chevron {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0.45rem auto 0;
  border-right: 2px solid var(--green-soft);
  border-bottom: 2px solid var(--green-soft);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.stat-card--tappable.is-open .stat-card-chevron {
  transform: rotate(-135deg);
  margin-top: 0.65rem;
}

.stat-value--total {
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  line-height: 1.15;
}

.stat-breakdown-wrap {
  overflow: hidden;
}

.stat-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.stat-breakdown-item {
  padding: 0.85rem 0.65rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color var(--transition);
}

.stat-breakdown-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-breakdown-pts {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-breakdown-name {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.stat-breakdown-item--red .stat-breakdown-pts { color: var(--red-soft); }
.stat-breakdown-item--blue .stat-breakdown-pts { color: var(--blue-soft); }
.stat-breakdown-item--green .stat-breakdown-pts { color: var(--green-soft); }

.stat-breakdown-item--red.is-visible { border-color: rgba(240, 96, 102, 0.35); }
.stat-breakdown-item--blue.is-visible { border-color: rgba(84, 153, 216, 0.35); }
.stat-breakdown-item--green.is-visible { border-color: rgba(60, 191, 116, 0.35); }

@media (max-width: 991.98px) {
  .stat-breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .stat-breakdown-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card:hover:not(.stat-card--tappable) {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-stats .col-4:nth-child(1) .stat-value { color: var(--red-soft); }
.hero-stats .col-4:nth-child(2) .stat-value { color: var(--blue-soft); }
.hero-stats .col-4:nth-child(3) .stat-value { color: var(--green-soft); }

/* Kickoff countdown — hero */
.hero-kickoff {
  margin-top: 1rem;
}

.hero-kickoff-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 0.35rem;
}

.hero-kickoff-match {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-kickoff-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(232, 51, 58, 0.65);
  animation: kickoffPulse 2s ease-in-out infinite;
}

@keyframes kickoffPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-kickoff-timer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-kickoff-block {
  min-width: 3.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  text-align: center;
}

.hero-kickoff-num {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--blue-soft);
  letter-spacing: 0.02em;
}

.hero-kickoff-unit {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-kickoff-sep {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  padding-bottom: 0.9rem;
  opacity: 0.55;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* App screenshot showcase */
.app-showcase-duo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  width: min(540px, 100%);
  padding: 0 0.5rem;
}

.app-showcase-duo .app-showcase {
  width: min(240px, 42vw);
  flex: 0 1 auto;
}

.app-showcase-back {
  transform: rotate(-5deg);
  z-index: 1;
}

.app-showcase-front {
  transform: rotate(4deg);
  z-index: 2;
  margin-bottom: 1.5rem;
}

.app-showcase-duo .app-showcase-front.app-showcase-float {
  animation-delay: -2.5s;
}

.phone-glow-duo {
  position: absolute;
  inset: 5% 0;
  z-index: 0;
  pointer-events: none;
}

.app-showcase {
  position: relative;
  width: min(320px, 82vw);
  z-index: 2;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.app-showcase-float {
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.app-showcase[data-tilt].is-tilting {
  animation: none;
}

.app-showcase-lg {
  width: min(340px, 88vw);
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.app-showcase:hover .app-screenshot {
  transform: translateY(-4px) scale(1.01);
}

/* Hero — tri-phone showcase (reference layout) */
.hero-phones {
  --hero-phone-height: clamp(400px, 56vh, 540px);
  --hero-phone-offset: clamp(72px, 9.5vw, 98px);
  --hero-phone-side-scale: 0.93;
  position: relative;
  height: calc(var(--hero-phone-height) + 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(520px, 100%);
  margin-inline: auto;
}

.hero-phones .phone-wrap {
  position: absolute;
  width: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-phones .phone-wrap img {
  height: var(--hero-phone-height);
  width: auto;
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: block;
}

.hero-phones .phone-main {
  z-index: 3;
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg) scale(1);
}

.hero-phones .phone-left {
  z-index: 2;
  transform: perspective(900px) rotateY(7deg) rotateX(2deg)
    translateX(calc(var(--hero-phone-offset) * -1))
    translateY(18px)
    scale(var(--hero-phone-side-scale));
  opacity: 0.82;
}

.hero-phones .phone-right {
  z-index: 2;
  transform: perspective(900px) rotateY(-9deg) rotateX(2deg)
    translateX(var(--hero-phone-offset))
    translateY(18px)
    scale(var(--hero-phone-side-scale));
  opacity: 0.82;
}

.hero-phones-glow {
  inset: 6% -4%;
  z-index: 0;
  pointer-events: none;
}

/* Phone mockup (legacy — kept for reference; not used inside .hero-phones) */
.phone-wrap {
  position: relative;
  width: min(280px, 80vw);
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #1a2233 0%, #0a0f18 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 2px #1e293b;
  z-index: 2;
}

.phone-frame-lg {
  width: min(300px, 85vw);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a0f18;
  border-radius: 20px;
  z-index: 4;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--dark-hero);
  position: relative;
}

.phone-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  z-index: 4;
}

.phone-glow {
  position: absolute;
  inset: 10% -20%;
  background: radial-gradient(ellipse, rgba(26, 111, 196, 0.35) 0%, transparent 70%);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.screen-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  margin: 8px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
}

.screen-placeholder-alt {
  background: linear-gradient(180deg, rgba(26, 111, 196, 0.08) 0%, transparent 40%);
}

.placeholder-icon svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 80%;
  margin-bottom: 1.25rem;
}

.placeholder-grid span {
  aspect-ratio: 1.4;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.placeholder-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.placeholder-sub {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
  margin: 0;
}

/* Features */
.features {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 46, 0.5) 50%, transparent 100%);
}

.feature-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--dark-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
  outline: none;
}

.feature-card {
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.feature-red::after { box-shadow: 0 0 24px rgba(232, 51, 58, 0.25); }
.feature-blue::after { box-shadow: 0 0 24px rgba(26, 111, 196, 0.25); }
.feature-green::after { box-shadow: 0 0 24px rgba(30, 158, 82, 0.25); }
.feature-neutral::after { box-shadow: 0 0 20px rgba(255, 255, 255, 0.08); }
.feature-gold::after { box-shadow: 0 0 24px rgba(255, 193, 7, 0.2); }

.feature-card:hover,
.feature-card:focus {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::after,
.feature-card:focus::after {
  opacity: 1;
}

.feature-card:hover .feature-icon,
.feature-card:focus .feature-icon {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.15) rotate(-5deg); }
  70% { transform: scale(0.95); }
}

.feature-red:hover,
.feature-red:focus { border-color: rgba(232, 51, 58, 0.35); }
.feature-blue:hover,
.feature-blue:focus { border-color: rgba(26, 111, 196, 0.35); }
.feature-green:hover,
.feature-green:focus { border-color: rgba(30, 158, 82, 0.35); }
.feature-neutral:hover,
.feature-neutral:focus { border-color: rgba(255, 255, 255, 0.15); }
.feature-gold:hover,
.feature-gold:focus { border-color: rgba(255, 193, 7, 0.3); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-red .feature-icon { background: rgba(232, 51, 58, 0.12); color: var(--red-soft); }
.feature-blue .feature-icon { background: rgba(26, 111, 196, 0.12); color: var(--blue-soft); }
.feature-green .feature-icon { background: rgba(30, 158, 82, 0.12); color: var(--green-soft); }
.feature-neutral .feature-icon { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.feature-gold .feature-icon { background: rgba(255, 193, 7, 0.1); color: #ffc107; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.feature-card p strong {
  color: var(--text);
  font-weight: 600;
}

.feature-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Points distribution */
.points {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 46, 0.35) 50%, transparent 100%);
}

.points-pool-highlight {
  color: var(--green-soft);
  font-weight: 700;
}

.points-tier-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.points-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.points-tier-red { border-top: 3px solid var(--red); }
.points-tier-blue { border-top: 3px solid var(--blue); }
.points-tier-green { border-top: 3px solid var(--green); }

.points-tier-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.points-tier-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.points-tier-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.points-tier-sub strong {
  color: var(--blue-soft);
}

.points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.points-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.points-list li:last-child {
  border-bottom: none;
}

.points-list-compact li {
  padding: 0.45rem 0;
}

.points-list-name {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.points-list-pts {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.points-tier-red .points-list-pts { color: var(--red-soft); }
.points-tier-blue .points-list-pts { color: var(--blue-soft); }
.points-tier-green .points-list-pts { color: var(--green-soft); }

.points-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  line-height: 1.5;
}

.points-note strong {
  color: var(--text);
}

.points-max-banner {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(232, 51, 58, 0.08) 0%, rgba(26, 111, 196, 0.08) 50%, rgba(30, 158, 82, 0.08) 100%),
    var(--dark-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.points-max-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.points-max-item {
  text-align: center;
  flex: 1 1 160px;
  max-width: 220px;
}

.points-max-value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--red-soft), var(--blue-soft), var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.points-max-value--static {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
}

.points-max-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.25rem;
}

.points-max-detail {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.points-max-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

/* Inside the App */
.inside-app {
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.35) 0%, rgba(6, 9, 15, 0.1) 100%);
  overflow: hidden;
}

.inside-app__intro {
  margin-bottom: 0.5rem;
  text-align: center;
}

.screenshots-track-wrap {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding-inline: 1rem;
}

.screenshots-track {
  display: flex;
  gap: 1.15rem;
  padding: 1.5rem 0 1rem;
  justify-content: center;
  margin-inline: auto;
  max-width: 1474px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-track::-webkit-scrollbar {
  display: none;
}

.screenshot-card {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 280px;
  min-width: 280px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  transition: transform var(--transition);
  background: rgba(6, 9, 15, 0.6);
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: top center;
}

.screenshot-caption {
  background: rgba(17, 27, 43, 0.95);
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.scroll-hint svg {
  opacity: 0.55;
}

.app-carousel {
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
}

.app-carousel__title {
  margin-bottom: 0.65rem;
}

.app-carousel__sub {
  margin-bottom: 2rem;
}

.app-carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.app-carousel-tabs-break {
  display: none;
}

.app-carousel-tab {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.app-carousel-tab:hover,
.app-carousel-tab.active {
  background: rgba(26, 111, 196, 0.18);
  border-color: rgba(84, 153, 216, 0.45);
  color: var(--text);
}

.app-carousel-main {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  text-align: left;
}

.app-carousel-phone {
  flex: 0 0 auto;
  width: min(280px, 42vw);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.app-carousel-phone:hover {
  transform: scale(1.02);
}

.app-carousel-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: top center;
  transition: opacity 0.25s ease;
}

.app-carousel-info {
  flex: 1;
  min-width: 0;
}

.app-carousel-screen {
  display: none;
}

.app-carousel-screen.active {
  display: block;
}

.app-carousel-screen h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.app-carousel-screen p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 1rem;
}

.app-screen-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(26, 111, 196, 0.15);
  border: 1px solid rgba(84, 153, 216, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-soft);
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .app-carousel-tabs-break {
    display: block;
    flex-basis: 100%;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
}

@media (max-width: 991.98px) {
  .app-carousel-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-carousel-phone {
    width: min(280px, 78vw);
    margin-inline: auto;
  }

  .app-carousel-info {
    width: 100%;
  }

  .app-carousel-screen p {
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .screenshot-card {
    width: min(280px, 78vw);
    min-width: min(280px, 78vw);
  }
}

/* Beta section */
.beta-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(232, 51, 58, 0.12) 0%, rgba(26, 111, 196, 0.1) 50%, rgba(30, 158, 82, 0.08) 100%),
    var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.beta-update-banner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: rgba(30, 158, 82, 0.1);
  border: 1px solid rgba(30, 158, 82, 0.28);
  position: relative;
  z-index: 1;
  overflow: hidden;
  animation: betaBannerGlow 2.8s ease-in-out infinite, betaBannerEnter 0.7s ease-out both;
}

.beta-update-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: betaBannerShimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.beta-update-banner__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--green-soft);
  background: rgba(30, 158, 82, 0.18);
  border: 1px solid rgba(30, 158, 82, 0.3);
  animation: betaBannerIconPop 2.4s ease-in-out infinite;
}

.beta-update-banner__icon svg {
  width: 15px;
  height: 15px;
}

.beta-update-banner__tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 2px 10px rgba(26, 111, 196, 0.25);
  animation: betaTagPulse 2s ease-in-out infinite;
}

.beta-update-banner__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: betaBannerDotPulse 1.6s ease-in-out infinite;
}

.beta-update-banner__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.beta-update-banner__text strong {
  color: var(--green-soft);
  font-weight: 600;
  animation: betaTextHighlight 2.8s ease-in-out infinite;
}

@keyframes betaBannerEnter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes betaBannerGlow {
  0%, 100% {
    border-color: rgba(30, 158, 82, 0.28);
    box-shadow: 0 0 0 0 rgba(30, 158, 82, 0);
  }
  50% {
    border-color: rgba(60, 191, 116, 0.6);
    box-shadow:
      0 0 0 3px rgba(30, 158, 82, 0.14),
      0 0 28px rgba(30, 158, 82, 0.22);
  }
}

@keyframes betaBannerShimmer {
  0% { transform: translateX(-140%) skewX(-14deg); }
  100% { transform: translateX(320%) skewX(-14deg); }
}

@keyframes betaBannerIconPop {
  0%, 100% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.08) rotate(-6deg); }
  70% { transform: scale(1) rotate(6deg); }
}

@keyframes betaTagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes betaBannerDotPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
  }
}

@keyframes betaTextHighlight {
  0%, 100% {
    color: var(--green-soft);
    text-shadow: none;
  }
  50% {
    color: #6ee7a8;
    text-shadow: 0 0 14px rgba(60, 191, 116, 0.35);
  }
}

@media (max-width: 575.98px) {
  .beta-update-banner {
    align-items: flex-start;
    padding: 0.65rem 0.8rem;
    flex-wrap: wrap;
  }

  .beta-update-banner__icon {
    width: 26px;
    height: 26px;
  }

  .beta-update-banner__text {
    font-size: 0.75rem;
    flex: 1 1 100%;
    padding-left: 0.15rem;
  }
}

.beta-panel__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .beta-panel__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas:
      "copy download"
      "counter download";
    column-gap: 2rem;
    row-gap: 1.25rem;
  }

  .beta-panel__copy { grid-area: copy; }
  .beta-panel__download { grid-area: download; }
  .beta-panel__counter { grid-area: counter; }
}

@media (max-width: 991.98px) {
  .beta-panel__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "download"
      "counter";
    gap: 1.25rem;
  }

  .beta-panel__copy { grid-area: copy; }
  .beta-panel__download { grid-area: download; }
  .beta-panel__counter { grid-area: counter; }
}

/* Goal celebration overlay (beta download success) */
.goal-celebration {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.goal-celebration.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.goal-celebration-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.goal-celebration-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 2.5s ease-out forwards;
}

@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}

.goal-celebration-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 420px;
  animation: goalContentPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes goalContentPop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.goal-scene {
  position: relative;
  width: 280px;
  height: 140px;
  margin: 0 auto 1.25rem;
}

.goal-kick-ball {
  position: absolute;
  left: -20%;
  top: 50%;
  width: 56px;
  height: 56px;
  object-fit: contain;
  z-index: 3;
  opacity: 0;
}

.goal-celebration.is-active .goal-kick-ball {
  animation: goalBallKick 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes goalBallKick {
  0% {
    opacity: 1;
    left: -20%;
    top: 55%;
    transform: rotate(0deg) scale(1);
  }
  55% {
    opacity: 1;
    left: 38%;
    top: 28%;
    transform: rotate(420deg) scale(0.95);
  }
  75% {
    left: 52%;
    top: 42%;
    transform: rotate(520deg) scale(0.85);
  }
  100% {
    opacity: 0;
    left: 58%;
    top: 48%;
    transform: rotate(600deg) scale(0.2);
  }
}

.goal-net {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 130px;
  height: 95px;
}

.goal-net-post {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
  border-radius: 2px;
}

.goal-net-post-left { left: 0; }
.goal-net-post-right { right: 0; }

.goal-net-crossbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e2e8f0, #f8fafc, #e2e8f0);
  border-radius: 2px;
}

.goal-net-mesh {
  position: absolute;
  inset: 5px 5px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(255, 255, 255, 0.12) 11px, rgba(255, 255, 255, 0.12) 12px),
    repeating-linear-gradient(90deg, transparent, transparent 11px, rgba(255, 255, 255, 0.12) 11px, rgba(255, 255, 255, 0.12) 12px);
  opacity: 0.7;
}

.goal-celebration.is-active .goal-net {
  animation: goalNetShake 0.5s ease 0.75s;
}

@keyframes goalNetShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 2px) rotate(-1deg); }
  40% { transform: translate(4px, -2px) rotate(1deg); }
  60% { transform: translate(-3px, 1px); }
  80% { transform: translate(2px, -1px); }
}

.goal-shout {
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, var(--red-soft), #ffc107, var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: scale(0.5);
}

.goal-celebration.is-active .goal-shout {
  animation: goalShoutBurst 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

@keyframes goalShoutBurst {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.goal-celebration-sub {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0;
}

.goal-celebration.is-active .goal-celebration-sub {
  animation: goalSubFade 0.4s ease 1s forwards;
}

@keyframes goalSubFade {
  to { opacity: 1; }
}

.goal-crowd-wave {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
  height: 32px;
  align-items: flex-end;
}

.goal-crowd-wave span {
  display: block;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--green-soft);
  opacity: 0;
}

.goal-celebration.is-active .goal-crowd-wave span {
  animation: crowdCheer 0.6s ease-in-out infinite alternate;
}

.goal-crowd-wave span:nth-child(1) { animation-delay: 1.1s; background: var(--red-soft); }
.goal-crowd-wave span:nth-child(2) { animation-delay: 1.2s; }
.goal-crowd-wave span:nth-child(3) { animation-delay: 1.15s; background: var(--blue-soft); }
.goal-crowd-wave span:nth-child(4) { animation-delay: 1.25s; }
.goal-crowd-wave span:nth-child(5) { animation-delay: 1.18s; background: var(--red-soft); }

@keyframes crowdCheer {
  from { opacity: 0.4; height: 8px; }
  to { opacity: 1; height: 28px; }
}

.beta-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 51, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .beta-panel::before {
    top: -30%;
    right: -35%;
    width: 260px;
    height: 260px;
  }
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(30, 158, 82, 0.15);
  border: 1px solid rgba(30, 158, 82, 0.35);
  color: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-soft);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(60, 191, 116, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(60, 191, 116, 0); }
}

.beta-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.beta-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
}

.beta-text strong {
  color: var(--text);
}

.beta-perks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.beta-perks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.beta-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-soft);
  font-weight: 700;
}

.beta-fan-counter {
  margin-top: 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.beta-fan-counter.is-boost {
  border-color: rgba(30, 158, 82, 0.45);
  box-shadow: 0 0 28px rgba(30, 158, 82, 0.18);
}

.beta-fan-counter__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.beta-fan-counter__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  min-width: 0;
  flex: 1;
}

.beta-fan-counter__analog {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
}

.beta-fan-counter__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.beta-fan-counter__ring-track,
.beta-fan-counter__ring-fill {
  fill: none !important;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.beta-fan-counter__ring-track {
  stroke: rgba(255, 255, 255, 0.12);
}

.beta-fan-counter__ring-fill {
  stroke: var(--green-soft);
  stroke-linecap: round;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 100.53;
}

.beta-fan-counter__analog-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green-soft);
  line-height: 1;
}

.beta-fan-counter__value {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  min-width: 1.25ch;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(30, 158, 82, 0.35);
  transition: transform 0.25s ease;
}

.beta-fan-counter__value.is-updating {
  transform: scale(1.04);
}

.beta-fan-counter__label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.beta-fan-counter__narration {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-soft);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.beta-fan-counter__narration.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.beta-fan-counter.is-error .beta-fan-counter__value {
  color: rgba(255, 255, 255, 0.45);
  text-shadow: none;
}

.beta-leaderboard-cta {
  align-self: flex-start;
  width: auto;
  margin-top: 0.75rem;
}

.beta-panel__counter {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.beta-panel__download {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.beta-action-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  padding: 0 0.15rem;
}

.beta-action-steps__label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.beta-action-steps__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .beta-action-steps {
    justify-content: flex-start;
  }
}

.beta-download-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  text-align: start;
  width: 100%;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  justify-content: flex-start;
}

.platform-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.platform-icon svg {
  width: 28px;
  height: 28px;
}

.platform-android { color: var(--green-soft); }

.platform-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.platform-version {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), #178a45);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(30, 158, 82, 0.45);
  color: #fff;
}

.btn-download.is-pending {
  background: linear-gradient(135deg, #475569, #334155);
  cursor: wait;
  opacity: 0.85;
}

.beta-download-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.beta-download-card--ios {
  border-color: rgba(84, 153, 216, 0.28);
  background: rgba(26, 111, 196, 0.08);
}

.beta-download-card--ios.is-highlighted {
  box-shadow: 0 0 0 1px rgba(84, 153, 216, 0.45), 0 16px 48px rgba(26, 111, 196, 0.18);
}

.platform-ios { color: var(--blue-soft); }

.btn-play-web {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #155a9e);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-play-web:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(26, 111, 196, 0.45);
  color: #fff;
}

.btn-play-web:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(26, 111, 196, 0.45);
  color: #fff;
}

.play-web-actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.play-web-actions--inline {
  width: auto;
}

.play-web-actions__btn {
  flex: 1 1 auto;
  min-width: 0;
}

.play-web-help {
  flex: 0 0 auto;
  width: 3rem;
  min-height: 3rem;
  border-radius: 14px;
  border: 1px solid rgba(84, 153, 216, 0.45);
  background: rgba(26, 111, 196, 0.15);
  color: var(--blue-soft);
  font-size: 1.15rem;
  font-weight: 800;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.play-web-help:hover,
.play-web-help:focus-visible {
  background: rgba(26, 111, 196, 0.28);
  border-color: rgba(84, 153, 216, 0.7);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.play-web-notice {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(84, 153, 216, 0.28);
  background: rgba(26, 111, 196, 0.1);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-download-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.play-web-notice--hero {
  margin-top: 0.65rem;
  width: 100%;
}

.play-web-notice strong,
.play-web-notice a {
  color: var(--blue-soft);
}

.play-web-notice a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.play-web-notice code {
  font-size: 0.78rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

body.refresh-modal-open {
  overflow: hidden;
}

.refresh-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.refresh-modal:not([hidden]) {
  display: flex;
}

.refresh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.78);
  backdrop-filter: blur(4px);
}

.refresh-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.25rem;
  padding-right: 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.98), rgba(10, 16, 28, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(84, 153, 216, 0.85) rgba(255, 255, 255, 0.06);
}

.refresh-modal__panel::-webkit-scrollbar {
  width: 9px;
}

.refresh-modal__panel::-webkit-scrollbar-track {
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.refresh-modal__panel::-webkit-scrollbar-thumb {
  border: 2px solid rgba(10, 16, 28, 0.85);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--blue) 55%, #155a9e 100%);
  box-shadow:
    0 0 10px rgba(84, 153, 216, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.refresh-modal__panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7eb8e8 0%, var(--blue-soft) 50%, var(--blue) 100%);
  box-shadow:
    0 0 14px rgba(84, 153, 216, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.refresh-modal__panel::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--blue) 0%, #124f8c 100%);
}

.refresh-modal__panel::-webkit-scrollbar-corner {
  background: transparent;
}

@media (max-width: 575.98px) {
  .refresh-modal__panel {
    padding-right: 0.85rem;
  }

  .refresh-modal__panel::-webkit-scrollbar {
    width: 6px;
  }
}

.refresh-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.refresh-modal__close:hover,
.refresh-modal__close:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.refresh-modal__title {
  margin: 0 2rem 0.65rem 0;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.refresh-modal__intro {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.refresh-modal__intro code {
  font-size: 0.82rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.refresh-modal__guides {
  display: grid;
  gap: 0.75rem;
}

.refresh-guide {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.refresh-guide h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-soft);
}

.refresh-guide ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.refresh-guide li + li {
  margin-top: 0.35rem;
}

.refresh-guide kbd {
  display: inline-block;
  padding: 0.08rem 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.78rem;
  color: var(--text);
}

.refresh-modal__footer {
  margin: 1rem 0 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.refresh-modal__footer a {
  color: var(--blue-soft);
}

.refresh-modal__done {
  width: 100%;
}

.beta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  text-align: start;
  line-height: 1.45;
}

.beta-note--ios {
  margin-bottom: 0;
}

/* Stores */
.store-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  border: 1px solid var(--border);
  text-align: center;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition);
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
}

.store-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: 0 auto 1.5rem;
}

.store-badge {
  display: block;
  width: min(200px, 75%);
  height: auto;
  opacity: 0.92;
  transition: opacity var(--transition), transform var(--transition);
}

.store-card:hover .store-badge {
  opacity: 1;
  transform: scale(1.03);
}

.store-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.store-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.store-beta-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-soft);
  text-decoration: none;
}

.store-beta-link:hover {
  color: #fff;
  text-decoration: underline;
}

.coming-soon-badge {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Early Fans / testimonials */
.early-fans {
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.55) 0%, var(--dark-page) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(84, 153, 216, 0.28);
  transform: translateY(-4px);
}

.t-stars {
  color: #ffc107;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.t-quote {
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.85);
  line-height: 1.65;
  margin: 0 0 1.15rem;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.t-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.t-country {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.45) 0%, rgba(6, 9, 15, 0.15) 100%);
}

.faq-list {
  max-width: 720px;
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
}

.faq-q:hover {
  color: var(--blue-soft);
}

.faq-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.faq-a a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-a a:hover {
  color: var(--text);
}

.faq-item.open .faq-a {
  max-height: 20rem;
  padding-bottom: 1.15rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--blue-soft);
}

/* Support (App Store Support URL) */
.support {
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.15) 0%, rgba(13, 27, 46, 0.55) 100%);
}

.support-layout {
  max-width: 980px;
  margin: 2.5rem auto 0;
}

.support-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(17, 27, 43, 0.85);
  border: 1px solid var(--border);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.support-meta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 8.5rem;
  text-align: center;
}

.support-meta__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.support-meta__value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.support-meta__link {
  color: var(--blue-soft);
  text-decoration: none;
}

.support-meta__link:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.section-sub a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.section-sub a:hover {
  color: var(--text);
}

.support-contact-card {
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.support-contact-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.35rem;
  background: rgba(26, 111, 196, 0.18);
  border: 1px solid rgba(84, 153, 216, 0.25);
  margin-bottom: 1.25rem;
}

.support-contact-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.support-contact-card__text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.support-email-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
}

.support-contact-card__note {
  margin: 1.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.support-contact-card__note a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.support-panel {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--dark-card);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.support-panel--delete {
  border-color: rgba(232, 51, 58, 0.22);
  background: linear-gradient(135deg, rgba(232, 51, 58, 0.06) 0%, var(--dark-card) 100%);
}

.support-panel__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.support-panel__text {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.support-panel__text a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.support-topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.support-topic-list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue);
}

.support-topic-list strong {
  font-size: 0.95rem;
  color: var(--text);
}

.support-topic-list span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.support-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.support-steps li + li {
  margin-top: 0.35rem;
}

.support-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 0.5rem;
  padding: 1rem 0 0;
}

.support-quick-links__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-right: 0.15rem;
}

.support-quick-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-soft);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(84, 153, 216, 0.28);
  background: rgba(26, 111, 196, 0.1);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.support-quick-link:hover {
  color: var(--text);
  border-color: rgba(84, 153, 216, 0.5);
  background: rgba(26, 111, 196, 0.18);
}

.reveal.visible .store-card-animate .store-badge {
  animation: storeFadeIn 0.8s ease forwards;
}

.reveal.visible .coming-soon-animate {
  animation: badgeSlideUp 0.7s ease 0.3s both, badgePulse 2.5s ease-in-out 1s infinite;
}

@keyframes storeFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 0.92; transform: scale(1); }
}

@keyframes badgeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04); }
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text);
}

.footer-divider {
  color: var(--text-muted);
  margin: 0 0.5rem;
  opacity: 0.4;
}

.tri-footer {
  display: flex;
  gap: 4px;
  margin-top: 2rem;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
}

.tri-footer span {
  flex: 1;
}

.tri-red { background: var(--red); }
.tri-blue { background: var(--blue); }
.tri-green { background: var(--green); }

/* Scroll reveal animations — hero active slide always visible (see .hero-slide.is-active .reveal) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safety net: no-JS and slow iOS loads should not leave the page blank below hero */
@media (max-width: 991.98px) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

.feature-grid .reveal-stagger:nth-child(1) { transition-delay: 0s; }
.feature-grid .reveal-stagger:nth-child(2) { transition-delay: 0.1s; }
.feature-grid .reveal-stagger:nth-child(3) { transition-delay: 0.2s; }
.feature-grid .reveal-stagger:nth-child(4) { transition-delay: 0.3s; }
.feature-grid .reveal-stagger:nth-child(5) { transition-delay: 0.4s; }
.feature-grid .reveal-stagger:nth-child(6) { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-top: 6.75rem;
  }

  .hero-slider-container {
    padding-top: 0.4rem;
  }

  .hero-slide .col-lg-6:first-child {
    text-align: center;
  }

  .hero .edition-pill {
    display: inline-flex;
    margin-top: 0.35rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .hero-title,
  .hero .hero-title--slide {
    text-align: center;
  }

  .hero .hero-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero .hero-download-group {
    width: 100%;
    margin-inline: auto;
  }

  .hero-football {
    width: 56px;
    height: 56px;
    right: 4%;
    top: 8%;
    opacity: 0.16;
  }

  .scroll-kick-ball {
    display: none;
  }

  .app-showcase,
  .app-showcase-duo {
    margin-top: 1rem;
  }

  .hero-slide .row.g-5 {
    --bs-gutter-y: 1.15rem;
  }

  .hero .hero-phones {
    margin-top: 0;
  }

  .hero-phones .phone-wrap {
    margin-top: 0;
  }

  .hero-phones {
    --hero-phone-height: 340px;
    --hero-phone-offset: 78px;
    --hero-phone-side-scale: 0.9;
    height: calc(var(--hero-phone-height) + 48px);
    max-width: 100%;
  }

  .hero-phones .phone-left {
    transform: perspective(700px) rotateY(7deg) rotateX(2deg)
      translateX(calc(var(--hero-phone-offset) * -1))
      translateY(14px)
      scale(var(--hero-phone-side-scale));
  }

  .hero-phones .phone-main {
    transform: perspective(700px) rotateY(-4deg) rotateX(2deg);
  }

  .hero-phones .phone-right {
    transform: perspective(700px) rotateY(-9deg) rotateX(2deg)
      translateX(var(--hero-phone-offset))
      translateY(14px)
      scale(var(--hero-phone-side-scale));
  }

  .app-showcase-duo {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: min(280px, 88vw);
  }

  .app-showcase-duo .app-showcase {
    width: min(260px, 78vw);
  }

  .app-showcase-back,
  .app-showcase-front {
    transform: none;
    margin-bottom: 0;
  }

  .beta-download-card {
    margin-top: 0;
  }

  .beta-panel {
    padding: 1.75rem 1.25rem 2rem;
  }

  .beta-fan-counter {
    padding: 1rem 1.1rem;
  }

  .beta-fan-counter__value {
    font-size: 1.85rem;
  }

  .beta-fan-counter__label {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .beta-title {
    font-size: 1.5rem;
  }

  .beta-text {
    font-size: 0.98rem;
  }

  .navbar-collapse {
    background: rgba(6, 9, 15, 0.95);
    border-radius: 14px;
    padding: 1rem;
    margin-top: 0.75rem;
    border: 1px solid var(--border);
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 4rem 0;
  }

  .hero .hero-title,
  .hero .hero-title--slide {
    font-size: clamp(1.85rem, 8.3vw, 2.35rem);
    line-height: 1.12;
  }

  .hero-slide .row.g-5 {
    --bs-gutter-y: 0.85rem;
  }

  .hero .hero-lead {
    font-size: 1rem;
    line-height: 1.55;
    padding-inline: 0.35rem;
  }

  .hero .edition-pill {
    font-size: 0.78rem;
    padding: 0.45rem 0.85rem;
  }

  .beta.section-pad {
    padding-bottom: 5rem;
  }

  .beta-panel {
    padding: 1.35rem 1rem 1.5rem;
  }

  .beta-panel__layout {
    gap: 1rem;
  }

  .beta-download-card {
    padding: 1.25rem;
  }

  .beta-fan-counter__inner {
    gap: 0.75rem;
  }

  .beta-fan-counter__analog {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .points-max-divider {
    display: none;
  }

  .points-max-item {
    max-width: none;
    flex: 1 1 100%;
  }

  .footer-divider {
    display: none;
  }

  .site-footer .col-md-6.text-md-end {
    text-align: left !important;
  }

  .site-footer .footer-link {
    display: inline-block;
    margin-right: 1rem;
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-kick-ball,
  .hero-football,
  .hero-particles {
    display: none;
  }

  .app-showcase-float {
    animation: none;
  }

  .goal-celebration.is-active .goal-kick-ball,
  .goal-celebration.is-active .goal-shout,
  .goal-celebration.is-active .goal-celebration-sub,
  .goal-celebration.is-active .goal-net,
  .goal-celebration.is-active .goal-crowd-wave span {
    animation: none;
  }

  .goal-celebration.is-active .goal-kick-ball {
    opacity: 1;
    left: 52%;
    top: 42%;
  }

  .goal-celebration.is-active .goal-shout {
    opacity: 1;
    transform: scale(1);
  }

  .goal-celebration.is-active .goal-celebration-sub {
    opacity: 1;
  }
}

/* Hero — desktop layout (must load after base hero/showcase rules) */
@media (min-width: 992px) {
  .hero.section-pad {
    padding-top: 5.25rem;
    padding-bottom: 1.25rem;
    min-height: 100svh;
  }

  .hero .row.align-items-center {
    --bs-gutter-y: 1.5rem;
  }

  .hero .edition-pill {
    margin-bottom: 0.85rem !important;
  }

  .hero .hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .hero .hero-lead {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
  }

  .hero .hero-actions .btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1.05rem;
  }

  .hero .hero-stats {
    margin-top: 0.25rem !important;
  }

  .hero .hero-stats .stat-value {
    font-size: 1.5rem;
  }

  .hero .hero-kickoff {
    margin-top: 0.85rem;
  }

  .hero .hero-kickoff-num {
    font-size: 1.85rem;
  }

  .hero .hero-kickoff-block {
    min-width: 3.5rem;
    padding: 0.5rem 0.65rem;
  }

  .hero .hero-phones {
    --hero-phone-height: clamp(460px, 58vh, 560px);
    --hero-phone-offset: clamp(84px, 8vw, 104px);
    --hero-phone-side-scale: 0.94;
    max-width: min(480px, 100%);
  }

  .hero-slide .col-lg-6:has(.hero-phones) {
    overflow: hidden;
  }
}

@media (min-width: 992px) and (min-height: 900px) {
  .hero .hero-phones {
    --hero-phone-height: 580px;
    --hero-phone-offset: 96px;
    --hero-phone-side-scale: 0.95;
  }
}

/* Hero phones — must override legacy .phone-wrap positioning */
.hero-phones > .phone-wrap {
  position: absolute;
  width: auto;
  max-width: none;
}
