/* ═══════════════════════════════════════════
   GGA — Greek Golf Association
   Global Stylesheet
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --royal:       #2b3fa0;
  --royal-deep:  #1e2d75;
  --royal-mid:   #3a52c4;
  --royal-light: #6b80d8;
  --royal-pale:  #e8ecf8;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --parchment:   #f3f1eb;
  --gold:        #b89a4e;
  --gold-light:  #d4b87a;
  --gold-pale:   #f5eed8;
  --charcoal:    #191d2e;
  --ink:         #2a2d3e;
  --muted:       #5a6080;
  --border:      #dde2f0;
  --border-dark: rgba(43,63,160,0.18);

  --serif: 'EB Garamond', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(30,45,117,0.08);
  --shadow-md: 0 8px 32px rgba(30,45,117,0.12);
  --shadow-lg: 0 20px 60px rgba(30,45,117,0.16);

  --radius: 4px;
  --radius-lg: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; }
p  { line-height: 1.75; }

.serif { font-family: var(--serif); }
.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.9rem;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  height: 1px; width: 28px;
  background: var(--gold);
  opacity: 0.6;
}

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5.5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { max-width: 540px; margin: 1rem auto 0; color: var(--muted); font-size: 1.05rem; }

/* ── Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 11px;
}
.nav-logo img { height: 42px; width: 42px; object-fit: contain; }
.nav-logo-text { font-family: var(--serif); font-size: 1.15rem; color: var(--royal-deep); font-weight: 600; letter-spacing: 0.01em; }
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--royal); }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 14px; right: 14px; height: 2px;
  background: var(--royal);
  border-radius: 1px;
}
.nav-cta {
  background: var(--royal);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  margin-left: 0.8rem;
}
.nav-cta:hover { background: var(--royal-deep) !important; color: var(--white) !important; }
.nav-cta::after { display: none !important; }

.nav-mobile-toggle {
  display: none;
  background: none; border: none;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 1px;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.83rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 30px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all 0.22s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(43,63,160,0.28);
}
.btn-primary:hover { background: var(--royal-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(43,63,160,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--royal);
  border: 1.5px solid var(--royal);
}
.btn-secondary:hover { background: var(--royal-pale); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(184,154,78,0.3);
}
.btn-gold:hover { background: #9e8238; transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.btn-lg { padding: 16px 38px; font-size: 0.88rem; }
.btn-sm { padding: 10px 20px; font-size: 0.78rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── Divider ── */
.divider {
  width: 52px; height: 2px;
  background: linear-gradient(to right, var(--royal), var(--gold));
  margin: 1.2rem auto;
}
.divider-left { margin: 1.2rem 0; }

/* ── Page Header ── */
.page-hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal) 60%, var(--royal-mid) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-top: 0.8rem; font-family: var(--serif); font-style: italic; }

/* ── Gold rule ── */
.gold-rule {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-style: italic; font-size: 0.95rem;
  color: var(--gold); margin: 1.5rem 0;
}
.gold-rule::before, .gold-rule::after { content: ''; flex: 1; min-width: 40px; height: 1px; background: var(--gold); opacity: 0.4; }

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.badge-royal { background: var(--royal-pale); color: var(--royal); }
.badge-gold  { background: var(--gold-pale);  color: #7a6228; }
.badge-green { background: #e8f5ec; color: #2d6a4f; }

/* ── Forms ── */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--royal-deep); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--sans); font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(43,63,160,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.data-table thead { background: var(--royal-deep); }
.data-table thead th {
  padding: 14px 18px; text-align: left;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.data-table tbody tr { border-bottom: 1px solid var(--border); background: var(--white); transition: background 0.15s; }
.data-table tbody tr:hover { background: var(--royal-pale); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table td { padding: 15px 18px; vertical-align: middle; }
.data-table tbody tr:nth-child(even) { background: var(--off-white); }
.data-table tbody tr:nth-child(even):hover { background: var(--royal-pale); }

/* ── Stat bar ── */
.stats-bar {
  background: var(--royal-deep);
  padding: 2.5rem 0;
}
.stats-bar-inner {
  display: flex; justify-content: center;
  gap: 0; max-width: 900px; margin: 0 auto; padding: 0 2rem;
}
.stat-item {
  flex: 1; text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 6px;
}

/* ── Sponsor logos ── */
.sponsors-strip {
  background: var(--parchment);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.sponsors-strip-label {
  text-align: center; font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.8rem;
}
.sponsors-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.sponsor-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.65; transition: opacity 0.2s;
}
.sponsor-item:hover { opacity: 1; }
.sponsor-logo-box {
  width: 110px; height: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: var(--royal-deep);
}
.sponsor-item small {
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* ── Footer ── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand img { height: 52px; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(0.9); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: var(--serif); font-size: 1rem; color: var(--white);
  margin-bottom: 1rem; font-weight: 600;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── Page Visibility ── */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════════════
   HOME PAGE
══════════════════════════════════ */

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--royal-deep) 0%, #253694 50%, var(--royal-mid) 100%);
  display: flex; align-items: center;
  padding: 8rem 0 5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(107,128,216,0.15) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025' fill-rule='evenodd'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0L80 12v2L54 40h-2zm4 0L80 16v2L58 40h-2zm4 0L80 20v2L62 40h-2zm4 0L80 24v2L66 40h-2zm4 0L80 28v2L70 40h-2zm4 0L80 32v2L74 40h-2zm4 0L80 36v2L78 40h-2zm4 0L80 40v0h-2z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.hero-left {}
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); display: flex; align-items: center; gap: 10px; margin-bottom: 1.4rem;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-light); }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: rgba(255,255,255,0.72); margin-bottom: 2.5rem; line-height: 1.6;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-right {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero-logo-wrap {
  position: relative;
  width: 360px; height: 360px;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute; inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,128,216,0.25) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}
.hero-logo-wrap::after {
  content: '';
  position: absolute; inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(184,154,78,0.3);
  animation: spin-slow 30s linear infinite;
}
.hero-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative; z-index: 2;
  filter: none;
  background: transparent;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes glow-pulse { 0%,100%{opacity:0.6} 50%{opacity:1} }
@keyframes spin-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* About preview */
.about-preview {
  background: var(--parchment);
  padding: 5rem 0;
}
.about-preview-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center;
}
.about-preview-text h2 { color: var(--royal-deep); }
.about-preview-text p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.about-preview-img {
  background: linear-gradient(135deg, var(--royal) 0%, var(--royal-deep) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-preview-img img { width: 65%; opacity: 0.85; }
.about-preview-img::before {
  content: '⛳';
  position: absolute; right: -1rem; bottom: -1rem;
  font-size: 9rem; opacity: 0.06; line-height: 1;
}

/* School cards preview */
.school-preview-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem;
}
.school-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.school-preview-card:hover { border-color: var(--royal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.school-preview-card .school-rank {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 700;
  color: var(--royal); line-height: 1;
}
.school-preview-card h4 { font-size: 0.88rem; margin-top: 0.5rem; color: var(--ink); }
.school-preview-card .school-pts { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ══════════════════════════════════
   SCHOOLS PAGE
══════════════════════════════════ */
.schools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.school-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}
.school-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.school-card-header {
  background: linear-gradient(135deg, var(--royal-deep), var(--royal-mid));
  padding: 2rem;
  display: flex; align-items: center; gap: 1.2rem;
  position: relative; overflow: hidden;
}
.school-card-header::after {
  content: '';
  position: absolute; right: -1.5rem; top: -1.5rem;
  width: 100px; height: 100px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}
.school-logo-placeholder {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--white); flex-shrink: 0;
}
.school-card-header h3 { color: var(--white); font-size: 1.2rem; }
.school-card-header .school-tagline { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 2px; }
.school-rank-badge {
  margin-left: auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  color: var(--white); flex-shrink: 0;
}
.school-card-body { padding: 1.5rem; }
.school-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.2rem;
}
.school-stat {
  text-align: center; padding: 0.9rem 0.5rem;
  border-right: 1px solid var(--border);
}
.school-stat:last-child { border-right: none; }
.school-stat .s-val { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--royal); }
.school-stat .s-lbl { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.school-card-footer {
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.school-card-footer .captain { font-size: 0.82rem; color: var(--muted); }
.school-card-footer strong { color: var(--ink); }

/* ══════════════════════════════════
   LEADERBOARD PAGE
══════════════════════════════════ */
.lb-filters {
  display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.lb-filter-btn {
  background: transparent; border: 1.5px solid var(--border);
  color: var(--muted); font-family: var(--sans); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 20px; cursor: pointer; transition: all 0.2s;
}
.lb-filter-btn:hover, .lb-filter-btn.active {
  background: var(--royal); border-color: var(--royal); color: var(--white);
}
.rank-cell { display: flex; align-items: center; gap: 8px; }
.rank-medal {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}
.rank-1 { background: #ffd700; color: #7a5c00; }
.rank-2 { background: #c0c8d8; color: #3a4260; }
.rank-3 { background: #d4956a; color: #6a3a1e; }
.rank-other { background: var(--royal-pale); color: var(--royal-deep); font-size: 0.8rem; }
.school-cell { display: flex; align-items: center; gap: 10px; }
.school-mini-logo {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--royal-pale); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.78rem; font-weight: 700; color: var(--royal);
}
.pts-cell { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--royal); }
.change-up   { color: #2d9e5f; font-size: 0.78rem; font-weight: 600; }
.change-down { color: #c0392b; font-size: 0.78rem; font-weight: 600; }
.change-same { color: var(--muted); font-size: 0.78rem; }

/* ══════════════════════════════════
   JOIN PAGE
══════════════════════════════════ */
.join-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.join-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.join-card-start { background: var(--royal-deep); color: var(--white); }
.join-card-join  { background: var(--parchment); border: 1px solid var(--border); }
.join-card h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.join-card-start h3 { color: var(--white); }
.join-card-start p { color: rgba(255,255,255,0.7); }
.join-card-join h3  { color: var(--royal-deep); }
.join-card-join p   { color: var(--muted); }
.join-card p { margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.7; }
.steps-list { list-style: none; margin-bottom: 1.8rem; }
.steps-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
}
.join-card-join .steps-list li { border-bottom-color: var(--border); }
.step-num-badge {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.join-card-join .step-num-badge { background: var(--royal); }

.payment-section { background: var(--off-white); padding: 4rem 0; }
.payment-form-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.payment-form-header {
  background: linear-gradient(135deg, var(--royal-deep), var(--royal));
  padding: 2rem 2.5rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.payment-form-header img { height: 52px; filter: brightness(0) invert(1) opacity(0.9); }
.payment-form-header h3 { color: var(--white); font-size: 1.4rem; }
.payment-form-header p  { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-top: 3px; }
.payment-form-body { padding: 2.5rem; }
.price-tag {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 2rem; padding: 1.2rem 1.5rem;
  background: var(--gold-pale); border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.price-tag .price { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--royal-deep); }
.price-tag .period { font-size: 0.88rem; color: var(--muted); }
.price-tag .desc { margin-left: auto; font-size: 0.82rem; color: var(--muted); text-align: right; line-height: 1.5; }

/* ══════════════════════════════════
   ABOUT PAGE
══════════════════════════════════ */
.about-content { max-width: 800px; margin: 0 auto; }
.about-section-block { margin-bottom: 3.5rem; }
.about-section-block h3 { color: var(--royal-deep); margin-bottom: 1rem; }
.about-section-block p { color: var(--muted); font-size: 1.02rem; }
.rules-list { margin-top: 1rem; }
.rules-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.8rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--ink);
}
.rules-list li::before {
  content: '—'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.format-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem;
}
.format-card {
  padding: 1.8rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--off-white);
  border-top: 3px solid var(--royal);
  transition: all 0.22s;
}
.format-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.format-card .fc-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.format-card h4 { color: var(--royal-deep); margin-bottom: 0.5rem; }
.format-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════════
   SPONSORS PAGE
══════════════════════════════════ */
.sponsors-tier { margin-bottom: 4rem; }
.sponsors-tier-label {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 1.8rem;
}
.sponsors-tier-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sponsor-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.22s;
}
.sponsor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sponsor-card.title-sponsor {
  border-color: var(--gold);
  background: linear-gradient(to bottom, var(--gold-pale), var(--white));
}
.sponsor-card-logo {
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.sponsor-card-logo-text {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--royal-deep);
}
.sponsor-card h4 { font-size: 1rem; color: var(--ink); margin-bottom: 0.4rem; }
.sponsor-card p { font-size: 0.82rem; color: var(--muted); }
.become-sponsor {
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.become-sponsor::before {
  content: '⛳'; position: absolute; right: 2rem; bottom: -1rem;
  font-size: 8rem; opacity: 0.07; line-height: 1;
}
.become-sponsor h3 { color: var(--white); margin-bottom: 0.8rem; }
.become-sponsor p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.7; }
.contact-email {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; color: var(--gold-light);
  margin-bottom: 2rem; font-style: italic; font-family: var(--serif);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .school-preview-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-right { display: none; }
  .hero-logo-wrap { width: 240px; height: 240px; }
  .about-preview-grid { grid-template-columns: 1fr; }
  .about-preview-img { display: none; }
  .join-sections { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-mobile-toggle { display: flex; }
  .school-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-bar-inner { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 50%; }
}
