/* ============================================
   MASTERS CHARITY POOL 2026 — Main Stylesheet
   Augusta National meets luxury sports editorial
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Augusta palette */
  --masters-green: #1a4731;
  --masters-green-deep: #0f2e1f;
  --masters-green-light: #2a6b4a;
  --masters-gold: #c9a84c;
  --masters-gold-light: #dcc277;
  --masters-gold-dim: #a68a3a;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d0;
  --cream-light: #faf7f2;
  --parchment: #ede7d9;
  --augusta-yellow: #fff2cc;
  --augusta-yellow-deep: #f5e6a3;
  --scoreboard-green: #355e3b;
  --white: #ffffff;
  --black: #1a1a1a;
  --text-primary: #2c2c2c;
  --text-secondary: #5a5a5a;
  --text-light: #8a8a7a;
  --red-movement: #c0392b;
  --green-movement: #27ae60;

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Cormorant Garamond', 'Garamond', serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #f0ece2;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---- Background: Augusta fairway gradient ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* Soft top-to-bottom fairway tint */
    linear-gradient(
      180deg,
      rgba(26, 71, 49, 0.07) 0%,
      rgba(240, 236, 226, 0) 35%,
      rgba(240, 236, 226, 0) 65%,
      rgba(26, 71, 49, 0.05) 100%
    ),
    /* Parchment grain lines */
    repeating-linear-gradient(
      0deg, transparent, transparent 3px,
      rgba(0,0,0,0.006) 3px, rgba(0,0,0,0.006) 4px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 3px,
      rgba(0,0,0,0.004) 3px, rgba(0,0,0,0.004) 4px
    );
}

/* ---- Botanical SVG overlays (azalea + magnolia) ---- */
/* Left side — azalea branch sweeping in from bottom-left */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 340px;
  height: 420px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 420'%3E%3C!-- Main branch --%3E%3Cpath d='M20 420 Q80 320 160 240 Q220 180 280 120 Q310 90 330 60' stroke='%231a4731' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C!-- Sub branches --%3E%3Cpath d='M100 350 Q130 310 170 290' stroke='%231a4731' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M160 240 Q120 220 90 200' stroke='%231a4731' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M220 180 Q250 150 260 110' stroke='%231a4731' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M280 120 Q260 100 240 80' stroke='%231a4731' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C!-- Azalea flowers (5-petal) at branch tips --%3E%3Cg transform='translate(170,290)'%3E%3Ccircle cx='0' cy='-12' r='7' fill='%23c0392b' opacity='0.7'/%3E%3Ccircle cx='11' cy='-4' r='7' fill='%23c0392b' opacity='0.7'/%3E%3Ccircle cx='7' cy='9' r='7' fill='%23c0392b' opacity='0.7'/%3E%3Ccircle cx='-7' cy='9' r='7' fill='%23c0392b' opacity='0.7'/%3E%3Ccircle cx='-11' cy='-4' r='7' fill='%23c0392b' opacity='0.7'/%3E%3Ccircle cx='0' cy='0' r='4' fill='%23f5d87a'/%3E%3C/g%3E%3Cg transform='translate(90,200)'%3E%3Ccircle cx='0' cy='-10' r='6' fill='%23e74c8b' opacity='0.65'/%3E%3Ccircle cx='9' cy='-3' r='6' fill='%23e74c8b' opacity='0.65'/%3E%3Ccircle cx='6' cy='8' r='6' fill='%23e74c8b' opacity='0.65'/%3E%3Ccircle cx='-6' cy='8' r='6' fill='%23e74c8b' opacity='0.65'/%3E%3Ccircle cx='-9' cy='-3' r='6' fill='%23e74c8b' opacity='0.65'/%3E%3Ccircle cx='0' cy='0' r='3.5' fill='%23f5d87a'/%3E%3C/g%3E%3Cg transform='translate(260,110)'%3E%3Ccircle cx='0' cy='-9' r='5.5' fill='%23c0392b' opacity='0.6'/%3E%3Ccircle cx='8' cy='-3' r='5.5' fill='%23c0392b' opacity='0.6'/%3E%3Ccircle cx='5' cy='7' r='5.5' fill='%23c0392b' opacity='0.6'/%3E%3Ccircle cx='-5' cy='7' r='5.5' fill='%23c0392b' opacity='0.6'/%3E%3Ccircle cx='-8' cy='-3' r='5.5' fill='%23c0392b' opacity='0.6'/%3E%3Ccircle cx='0' cy='0' r='3' fill='%23f5d87a'/%3E%3C/g%3E%3C!-- Leaves along main branch --%3E%3Cellipse cx='130' cy='295' rx='14' ry='7' fill='%231a4731' opacity='0.5' transform='rotate(-35,130,295)'/%3E%3Cellipse cx='190' cy='220' rx='13' ry='6' fill='%231a4731' opacity='0.5' transform='rotate(-50,190,220)'/%3E%3Cellipse cx='250' cy='155' rx='12' ry='6' fill='%231a4731' opacity='0.45' transform='rotate(-60,250,155)'/%3E%3Cellipse cx='300' cy='90' rx='10' ry='5' fill='%231a4731' opacity='0.4' transform='rotate(-70,300,90)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom left;
}

/* Right side — magnolia branch from top-right (separate element via .page-botanical) */
.page-botanical-right {
  position: fixed;
  top: 320px;
  right: 0;
  width: 300px;
  height: 380px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 380'%3E%3C!-- Main branch top-right sweeping down-left --%3E%3Cpath d='M300 0 Q240 60 180 130 Q130 185 80 260 Q50 310 30 380' stroke='%231a4731' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M200 100 Q230 80 260 70' stroke='%231a4731' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M140 165 Q100 150 80 130' stroke='%231a4731' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M90 240 Q120 230 140 210' stroke='%231a4731' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C!-- Magnolia blooms (cup-shaped, cream petals) --%3E%3Cg transform='translate(200,100)'%3E%3Cellipse cx='0' cy='-14' rx='8' ry='14' fill='%23f5f0e8' opacity='0.9' transform='rotate(-15)'/%3E%3Cellipse cx='13' cy='-5' rx='8' ry='14' fill='%23f0e8d8' opacity='0.85' transform='rotate(30)'/%3E%3Cellipse cx='8' cy='12' rx='8' ry='14' fill='%23f5f0e8' opacity='0.9' transform='rotate(75)'/%3E%3Cellipse cx='-8' cy='12' rx='8' ry='14' fill='%23ede5d5' opacity='0.85' transform='rotate(105)'/%3E%3Cellipse cx='-13' cy='-5' rx='8' ry='14' fill='%23f5f0e8' opacity='0.9' transform='rotate(150)'/%3E%3Ccircle cx='0' cy='0' r='5' fill='%23c9a84c' opacity='0.8'/%3E%3C/g%3E%3Cg transform='translate(82,130)'%3E%3Cellipse cx='0' cy='-12' rx='7' ry='12' fill='%23f5f0e8' opacity='0.85' transform='rotate(-20)'/%3E%3Cellipse cx='11' cy='-4' rx='7' ry='12' fill='%23f0e8d8' opacity='0.8' transform='rotate(25)'/%3E%3Cellipse cx='7' cy='10' rx='7' ry='12' fill='%23f5f0e8' opacity='0.85' transform='rotate(70)'/%3E%3Cellipse cx='-7' cy='10' rx='7' ry='12' fill='%23ede5d5' opacity='0.8' transform='rotate(110)'/%3E%3Cellipse cx='-11' cy='-4' rx='7' ry='12' fill='%23f5f0e8' opacity='0.85' transform='rotate(155)'/%3E%3Ccircle cx='0' cy='0' r='4' fill='%23c9a84c' opacity='0.75'/%3E%3C/g%3E%3Cg transform='translate(135,210)'%3E%3Cellipse cx='0' cy='-10' rx='6' ry='10' fill='%23f5f0e8' opacity='0.8' transform='rotate(-10)'/%3E%3Cellipse cx='9' cy='-3' rx='6' ry='10' fill='%23f0e8d8' opacity='0.75' transform='rotate(32)'/%3E%3Cellipse cx='6' cy='8' rx='6' ry='10' fill='%23f5f0e8' opacity='0.8' transform='rotate(74)'/%3E%3Cellipse cx='-6' cy='8' rx='6' ry='10' fill='%23ede5d5' opacity='0.75' transform='rotate(106)'/%3E%3Cellipse cx='-9' cy='-3' rx='6' ry='10' fill='%23f5f0e8' opacity='0.8' transform='rotate(148)'/%3E%3Ccircle cx='0' cy='0' r='3.5' fill='%23c9a84c' opacity='0.7'/%3E%3C/g%3E%3C!-- Leaves --%3E%3Cellipse cx='160' cy='150' rx='16' ry='8' fill='%231a4731' opacity='0.5' transform='rotate(40,160,150)'/%3E%3Cellipse cx='110' cy='200' rx='14' ry='7' fill='%231a4731' opacity='0.45' transform='rotate(55,110,200)'/%3E%3Cellipse cx='70' cy='280' rx='13' ry='6' fill='%231a4731' opacity='0.4' transform='rotate(70,70,280)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--masters-green);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

a {
  color: var(--masters-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--masters-gold);
}

/* --- Site Header --- */
.site-header {
  background: linear-gradient(180deg, var(--masters-green-deep) 0%, var(--masters-green) 100%);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--masters-gold) 20%, 
    var(--masters-gold-light) 50%, 
    var(--masters-gold) 80%, 
    transparent 100%
  );
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-crest {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--masters-gold-light), var(--masters-gold-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: 2px solid var(--masters-gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--masters-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Navigation --- */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
}

.main-nav a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--cream-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--masters-gold);
  transition: width var(--transition-medium);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a.active {
  color: var(--masters-gold);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

/* --- Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--masters-green-deep) 0%, var(--masters-green) 50%, var(--masters-green-light) 100%);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--cream), transparent);
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.page-hero .hero-subtitle {
  color: var(--masters-gold);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--masters-gold);
  margin: var(--space-md) auto;
  position: relative;
  z-index: 1;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  background: var(--masters-gold);
  border-radius: 50%;
}

.hero-divider::before { left: -4px; }
.hero-divider::after { right: -4px; }

/* --- Charity Banner --- */
.charity-banner {
  background: var(--masters-gold);
  padding: var(--space-sm) 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--masters-green-deep);
  letter-spacing: 0.05em;
}

.charity-banner span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

/* --- Main Content --- */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  z-index: 1;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-sm) 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--masters-gold);
}

.section-divider .ornament {
  color: var(--masters-gold);
  font-size: 1rem;
}

/* --- Card Styles --- */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: var(--space-lg);
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.08),
    0 4px 12px rgba(0,0,0,0.04);
  transition: all var(--transition-medium);
  border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.1),
    0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--white);
  border-radius: 8px;
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--masters-green);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* --- Last Updated --- */
.last-updated {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

/* ---- Live Reaction Bar ---- */
.reaction-bar {
  max-width: 620px;
  margin: var(--space-md) auto var(--space-lg);
  text-align: center;
}

.reaction-bar-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
}

.reaction-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reaction-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  min-width: 56px;
}

.reaction-btn:hover {
  border-color: var(--masters-gold-dim);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.reaction-btn:active,
.reaction-btn.reacted {
  transform: scale(1.2);
}

.reaction-emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.reaction-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 14px;
}

@media (max-width: 480px) {
  .reaction-buttons { gap: 6px; }
  .reaction-btn { padding: 6px 10px; min-width: 46px; }
  .reaction-emoji { font-size: 1.2rem; }
}

/* ---- Countdown Timer ---- */
.countdown-container {
  max-width: 620px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.countdown-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: var(--space-md);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px;
}

.countdown-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--masters-green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 6px;
}

.countdown-sep {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--masters-gold-dim);
  line-height: 1;
  padding-bottom: 18px;
  opacity: 0.5;
}

@media (max-width: 480px) {
  .countdown-unit { padding: 0 8px; }
  .countdown-sep  { padding-bottom: 14px; }
}

/* ---- Music Button ---- */
#music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b3425;
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  user-select: none;
}

#music-btn:hover {
  background: #2a5238;
  color: #ffffff;
  transform: scale(1.08);
}

#music-btn.playing {
  background: #c9a84c;
  color: #1b3425;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,0.3), 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 4px 14px rgba(0,0,0,0.3), 0 0 0 8px rgba(201,168,76,0); }
}

/* --- Footer --- */
.site-footer {
  background: var(--masters-green-deep);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--masters-gold) 20%, 
    var(--masters-gold-light) 50%, 
    var(--masters-gold) 80%, 
    transparent 100%
  );
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.footer-charity {
  color: var(--masters-gold);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-note {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-note a {
  color: var(--masters-gold-dim);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }
.animate-in:nth-child(7) { animation-delay: 0.7s; }
.animate-in:nth-child(8) { animation-delay: 0.8s; }
.animate-in:nth-child(9) { animation-delay: 0.9s; }
.animate-in:nth-child(10) { animation-delay: 1.0s; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding-top: var(--space-md);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-nav a::after {
    display: none;
  }

  .page-hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .main-content {
    padding: var(--space-lg) var(--space-md);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .stat-card {
    padding: var(--space-md);
  }

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

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-gold { color: var(--masters-gold); }
.text-green { color: var(--masters-green); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
