/* GoalClash Landing Page — WC2026 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;
}

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-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 stadium texture */
.pitch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.6) 49.5%, rgba(255, 255, 255, 0.6) 50.5%, transparent 50.5%),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255, 255, 255, 0.35) 79px, rgba(255, 255, 255, 0.35) 80px);
  background-size: 100% 100%, 100% 80px;
}

.pitch-lines-global {
  position: fixed;
  opacity: 0.025;
  z-index: 0;
}

.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:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.5) 49.5%, rgba(255, 255, 255, 0.5) 50.5%, transparent 50.5%),
    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 atmosphere */
.hero {
  padding-top: 7.5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.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-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:hover {
  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); }

.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);
}

/* Phone mockup (legacy — kept for reference) */
.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-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;
}

/* Preview */
.preview-stage {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

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

.preview-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.preview-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* 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;
}

/* 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;
}

.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: 1.75rem;
  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: inline-flex;
  flex-direction: column;
  gap: 0.65rem;
  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: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

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

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

.beta-fan-counter__ring-track,
.beta-fan-counter__ring-fill {
  fill: none;
  stroke-width: 3;
}

.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-download-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  text-align: start;
}

.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-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  text-align: center;
}

/* 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: 1.25rem;
}

.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;
}

.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 */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.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; }

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

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

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

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

  .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: 1rem;
  }

  .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-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;
  }
}
