﻿/* ============================================
   GreenFlagTV — Cutting-Edge Broadcast Website
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --green-primary: #70e23d;
  --green-accent: #aaff00;
  --green-dark: #00cc55;
  --green-glow: rgba(112, 226, 61, 0.35);
  --green-accent-glow: rgba(170, 255, 0, 0.3);
  --green-subtle: rgba(112, 226, 61, 0.08);
  --bg-dark: #0a0a0f;
  --bg-card: rgba(16, 16, 24, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --text-primary: #f0f0f5;
  --text-muted: #8888a0;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(112, 226, 61, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Rajdhani', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--green-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; text-shadow: 0 0 12px var(--green-glow); }

img, video { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-green { color: var(--green-primary); }
.glow-text { text-shadow: 0 0 20px var(--green-glow), 0 0 60px rgba(112, 226, 61, 0.15); }

/* "Transparent" word on pricing page — fades from solid white to outlined */
.transparent-word {
  display: inline-block;
  animation: goTransparent 1.2s ease-in-out 2.5s forwards;
}
@keyframes goTransparent {
  0%   {
    color: #ffffff;
    -webkit-text-stroke: 0px transparent;
  }
  100% {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.75);
  }
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ---------- Animated Background Grid ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(112, 226, 61, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 226, 61, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Pulsing grid cells (driven by JS) */
.grid-cell {
  position: fixed;
  width: 60px;
  height: 60px;
  background: rgba(112, 226, 61, 0);
  z-index: -2;
  pointer-events: none;
  transition: background 0s;
}
.grid-cell.pulse {
  animation: cellPulse var(--pulse-duration, 3s) ease-in-out forwards;
}
@keyframes cellPulse {
  0%   { background: rgba(112, 226, 61, 0); }
  50%  { background: rgba(112, 226, 61, var(--pulse-peak, 0.06)); }
  100% { background: rgba(112, 226, 61, 0); }
}

/* ---------- Gradient Orbs (ambient) ---------- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}
.orb--green { width: 500px; height: 500px; background: var(--green-primary); top: -150px; right: -100px; }
.orb--purple { width: 400px; height: 400px; bottom: -100px; left: -80px; opacity: 0.22; background: var(--green-primary); animation: orbShift 8s ease-in-out infinite; }

@keyframes orbShift {
  0%   { background: var(--green-primary); }
  50%  { background: var(--green-accent); }
  100% { background: var(--green-primary); }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__logo .logo-green { color: var(--green-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green-primary);
  box-shadow: 0 0 8px var(--green-glow);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--green-primary);
  text-shadow: none;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* 'Watch Previous Races' nav button — visible when NOT streaming */
.nav__vod-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.nav__vod-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  transform: scale(1.04);
  text-shadow: none;
}

/* Live 'Watch Now' nav button — only visible when streaming */
.nav__live-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(110deg, var(--green-primary), var(--green-accent));
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 100px;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
  animation: livePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

.nav__live-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.04);
}

.nav__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #000;
  opacity: 0.7;
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ==========================================
   HERO SECTION (Home)
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap video,
.hero__video-wrap .hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-wrap video {
  filter: blur(2px);
  /* scale up slightly so blurred edges don't show */
  transform: scale(1.04);
}

.hero__video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.3) 40%, rgba(10,10,15,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,15,0.7) 0%, transparent 50%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(112, 226, 61, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.hero__badge:hover {
  background: rgba(112, 226, 61, 0.18);
  box-shadow: 0 0 18px rgba(112, 226, 61, 0.25);
}

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

/* Live card (shown when stream is active) */
.hero__live-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 10px 18px 10px 10px;
  margin-bottom: 28px;
  text-decoration: none;
  animation: fadeInUp 0.8s ease both;
  transition: background 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 420px;
}
.hero__live-card:hover {
  background: rgba(112, 226, 61, 0.08);
  box-shadow: 0 0 24px rgba(112, 226, 61, 0.2);
}
.hero__live-card__thumb {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(112, 226, 61, 0.2);
}
.hero__live-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.hero__live-card__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-primary);
}
.hero__live-card__label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero__live-card__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 14px 22px;
}

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

/* CTA Buttons */
.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(110deg, var(--green-primary), var(--green-accent));
  color: #0a0a0f;
  box-shadow: 0 0 30px rgba(112, 226, 61, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  background: linear-gradient(110deg, #ccff55, #fff);
  color: #0a0a0f;
  box-shadow: 0 0 40px rgba(170, 255, 0, 0.45);
  transform: translateY(-2px);
  text-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  box-shadow: 0 0 20px rgba(112, 226, 61, 0.15);
  transform: translateY(-2px);
  text-shadow: none;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green-primary), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ==========================================
   FEATURES / STATS STRIP (Home)
   ========================================== */
.stats-strip {
  padding: 80px 0;
  position: relative;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-primary), var(--green-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card:hover::before { opacity: 1; }
.stat-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }

.stat-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-primary);
}

.stat-card__label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ==========================================
   SERVICES SECTION (Home)
   ========================================== */
.services {
  padding: 100px 0;
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__header .section-subtitle {
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at bottom, rgba(112,226,61,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover { border-color: var(--border-glow); transform: translateY(-6px); }
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-subtle);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================
   LEAGUES / PARTNER LOGOS (Home)
   ========================================== */
.leagues-section {
  padding: 80px 0 60px;
}

.leagues-section__header {
  text-align: center;
  margin-bottom: 52px;
}

.leagues-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 24px;
}

.league-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.league-logo:hover {
  border-color: var(--border-glow);
  background: var(--bg-glass);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.league-logo img {
  max-width: 160px;
  max-height: 70px;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.3s ease;
}

.league-logo:hover img {
  filter: grayscale(0) brightness(1);
}

@media (max-width: 640px) {
  .leagues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .league-logo {
    padding: 16px 12px;
    width: 100%;
  }
  .league-logo img { max-width: 110px; max-height: 50px; }
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  padding: 100px 0;
}

.cta-banner__inner {
  background: linear-gradient(135deg, rgba(112,226,61,0.1), rgba(170,255,0,0.07));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: var(--green-primary);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ==========================================
   PAGE HEADER (Inner pages)
   ========================================== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(112,226,61,0.1), transparent 70%);
  pointer-events: none;
}

.page-header .section-title,
.page-header .section-subtitle {
  position: relative;
}

.page-header .section-subtitle {
  margin: 0 auto;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-section {
  padding: 0 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  padding-top: 20px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-subtle);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info__text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-info__text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 40px 36px;
  backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(112, 226, 61, 0.1);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

.form-status {
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(112, 226, 61, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--green-primary);
}

.form-status.error {
  display: block;
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: #ff5555;
}

.recaptcha-notice {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
  opacity: 0.7;
  line-height: 1.5;
}
.recaptcha-notice a { color: var(--green-primary); text-decoration: none; }
.recaptcha-notice a:hover { text-decoration: underline; }

/* ==========================================
   PRICING
   ========================================== */
.pricing-section {
  padding: 0 0 120px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 40px 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--green-primary);
  box-shadow: 0 0 40px rgba(112, 226, 61, 0.1);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-accent));
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
}

.pricing-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--green-primary);
  color: #0a0a0f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  font-family: var(--font-heading);
}

.pricing-card__tier {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 8px;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card__note {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 28px;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
}

.pricing-card__features li:last-child { border-bottom: none; }

.pricing-card__features li .check {
  color: var(--green-primary);
  font-weight: bold;
  font-size: 1rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* Pricing examples */
.pricing-examples {
  margin-top: 40px;
}

.pricing-examples__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.example-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.example-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.example-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--green-primary);
}

.example-card__details {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.example-card__price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

/* ==========================================
   PAINT POLICY PAGE
   ========================================== */
.policy-section {
  padding: 0 0 120px;
}

.policy-embed-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  max-width: 860px;
  margin: 0 auto;
}

.policy-embed-wrap iframe {
  width: 100%;
  height: 3000px;
  border: none;
  display: block;
  overflow: hidden;
}

.policy-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 20px;
}

.policy-note a {
  color: var(--green-primary);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.7;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer__col ul { list-style: none; }

.footer__col ul li { margin-bottom: 10px; }

.footer__col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__col ul a:hover { color: var(--green-primary); text-shadow: none; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  color: var(--text-muted);
  font-size: 1.35rem;
  transition: var(--transition);
  line-height: 1;
}

.footer__socials a:hover { color: var(--green-primary); text-shadow: none; }

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(24px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border-glass);
  }

  .nav__links.open { display: flex; }

  .nav__links a {
    padding: 12px 0;
    font-size: 1rem;
  }

  .nav__toggle { display: block; }

  .hero__title { font-size: clamp(2rem, 8vw, 3.6rem); }

  .stats-strip__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .example-cards { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ==========================================
   LOADING / TRANSITION OVERLAY
   ========================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.page-loader__spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--border-glass);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(112, 226, 61, 0.3); }

/* ==========================================
   SCHEDULE PAGE — CALENDAR LAYOUT
   ========================================== */
.schedule-section {
  padding: 0 0 120px;
}

.schedule-window-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.schedule-window-label span {
  color: var(--green-primary);
}

/* Month / date-range label above the grid */
.cal-month-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cal-tz-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cal-tz-note strong {
  color: var(--green-primary);
}

/* Horizontal scroll wrapper for narrow screens */
.cal-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

/* 7-column calendar grid */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border-glass);
  min-width: 560px;
}

/* Day-name header cells */
.cal-header {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
}

/* Highlight Sunday column header */
.cal-header:first-child {
  color: var(--green-primary);
}

/* Day cells */
.cal-cell {
  background: var(--bg-card);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  min-height: 110px;
  padding: 10px 8px;
  vertical-align: top;
  transition: background 0.2s;
}

/* Past days — faded/grayed out */
.cal-cell--past {
  background: rgba(10, 10, 15, 0.55);
  opacity: 0.38;
}

/* Today — subtle green tint */
.cal-cell--today {
  background: rgba(112, 226, 61, 0.04);
}

/* Day number badge */
.cal-cell__num {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 7px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.cal-cell--has-events .cal-cell__num {
  color: var(--text-primary);
}

/* Today's number — filled green circle */
.cal-cell--today .cal-cell__num {
  background: var(--green-primary);
  color: #0a0a0f;
}

/* Event pill inside a cell */
.cal-event {
  background: rgba(112, 226, 61, 0.07);
  border: 1px solid rgba(112, 226, 61, 0.18);
  border-left: 3px solid var(--green-primary);
  border-radius: 5px;
  padding: 5px 6px;
  margin-bottom: 5px;
  line-height: 1.3;
}

.cal-event__time {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.67rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.cal-event__league {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-word;
}

.cal-event__track {
  display: block;
  font-size: 0.69rem;
  color: var(--text-muted);
  word-break: break-word;
}

/* Empty / loading states */
.schedule-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.schedule-empty__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.schedule-empty__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.schedule-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 80px 0;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.schedule-loading__spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--border-glass);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Desktop/mobile view toggles */
.cal-desktop { display: block; }
.cal-mobile  { display: none; }

/* Date label — unused in desktop calendar, only used in mobile */
.cal-cell__date-label { display: none; }

/* ── Mobile list view ───────────────────────────────────── */
@media (max-width: 640px) {
  .cal-desktop { display: none; }
  .cal-mobile  { display: block; }

  .cal-list__day {
    margin-bottom: 36px;
  }

  .cal-list__day-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }

  .cal-list__day-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-primary);
    white-space: nowrap;
  }

  .cal-list__day-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-glow), transparent);
  }

  .cal-list__event {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-left: 3px solid var(--green-primary);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: stretch;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .cal-list__event-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 18px;
    min-width: 80px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-glass);
    text-align: center;
  }

  .cal-list__event-clock {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
  }

  .cal-list__event-ampm {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
  }

  .cal-list__event-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 20px;
    min-width: 0;
  }

  .cal-list__event-league {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .cal-list__event-track {
    color: var(--text-muted);
    font-size: 0.82rem;
  }
}

/* ==========================================
   NEWS TICKER BAR (fixed bottom)
   ========================================== */

/* Push page content up so it isn't hidden behind the ticker */
body { padding-bottom: 50px; }

.ticker-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2000;
  height: 46px;
  display: flex;
  align-items: stretch;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-top: 1px solid var(--border-glass);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(112,226,61,0.08);
  font-family: var(--font-heading);
}

/* Left branding pill */
.ticker-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: var(--green-primary);
  color: #0a0a0f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  padding-right: 26px;
}

.ticker-bar__brand .brand-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0a0a0f;
  animation: pulse 2s ease-in-out infinite;
}

/* Category badge — background color set dynamically per-league */
.ticker-bar__category {
  display: flex;
  align-items: center;
  padding: 0 16px 0 14px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(112,226,61,0.15);
  color: var(--green-primary);
  border-right: 1px solid var(--border-glass);
  min-width: 60px;
  justify-content: center;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Text scroll area */
.ticker-bar__text {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 24px 0 20px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  position: relative;
}

.ticker-bar__text span {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

/* Separator chevrons on the right */
.ticker-bar__sep {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--green-primary);
  font-size: 0.75rem;
  letter-spacing: 3px;
  opacity: 0.5;
  flex-shrink: 0;
  border-left: 1px solid var(--border-glass);
  font-family: monospace;
}

/* Fade transitions */
.ticker-fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ticker-fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* League-change flash on the category */
@keyframes leagueFlash {
  0%   { box-shadow: inset 0 0 0 0 rgba(var(--pulse-color,0,255,106), 0); }
  30%  { box-shadow: inset 0 0 0 40px rgba(var(--pulse-color,0,255,106), 0.25); }
  100% { box-shadow: inset 0 0 0 0 rgba(var(--pulse-color,0,255,106), 0); }
}

.ticker-bar__category.league-change {
  animation: leagueFlash 0.8s ease forwards;
}

/* Loading state */
.ticker-bar__text.ticker-loading::after {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--border-glass);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 768px) {
  .ticker-bar { display: none !important; }
  body { padding-bottom: 0; }
}
