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

/* ═══════════════════════════════════════════
   SSPL Home — Light NPL-Inspired Theme
   ═══════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --dark: #111111;
  --text-primary: #1A1A2E;
  --text-secondary: #555;
  --text-muted: #999;
  --accent: #FFD700;
  --accent-dark: #E6C200;
  --accent-hover: #FFC400;
  --black: #222;
  --border: #E0E0E0;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 8px 28px rgba(0,0,0,0.10);
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── Sticky Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.5rem 3rem;
  display: flex; align-items: center;
  background: #1A6FEF;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1560D4;
  height: 56px;
  overflow: visible;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none;
  position: relative; z-index: 101;
  align-self: flex-start; margin-top: -12px; margin-left: -2.5rem; flex-shrink: 0;
}
.nav-logo {
  height: 130px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.85);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a.active::after { width: 100%; }
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.4rem; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0; border-radius: 2px;
  transition: all 0.3s var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ─── Hero ─── */
.hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: grayscale(100%) blur(2px);
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-bg.active { opacity: 0.18; }
.hero > *:not(.hero-bg) { position: relative; z-index: 1; }
.hero-label {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.hero-headline {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400; line-height: 1.05;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.hero-headline .accent { color: var(--accent-dark); }
.hero-slogan {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent); color: var(--dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.3);
}
.btn-secondary {
  background: transparent; color: var(--dark);
  border-color: var(--dark);
}
.btn-secondary:hover {
  background: var(--dark); color: var(--white);
  transform: translateY(-2px);
}

/* Countdown */
.countdown-container { margin-top: 1rem; }
.countdown-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.8rem;
}
.countdown-grid {
  display: flex; gap: 0.8rem; justify-content: center;
}
.countdown-unit {
  min-width: 72px; padding: 1rem 0.8rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  text-align: center;
}
.countdown-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--dark); line-height: 1;
}
.countdown-text {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.3rem;
}
.countdown-match-info {
  margin-top: 1rem; font-size: 0.85rem; color: var(--text-secondary);
}
.countdown-match-info strong {
  color: var(--dark); font-weight: 600;
}

/* ─── Stats Strip ─── */
.stats-strip {
  background: linear-gradient(135deg, #1560D4 0%, #1A6FEF 50%, #2080FF 100%);
  color: var(--white);
  padding: 3rem 3rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.stats-strip-text {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #111;
  position: relative;
}
.stats-strip-list {
  max-width: 850px;
  margin: 1.5rem auto 0;
  text-align: left;
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}
.stats-strip-list li {
  padding: 1.2rem 1.2rem;
  border: 2px solid var(--accent);
  border-radius: 14px;
  background: rgba(0,0,0,0.15);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stats-strip-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.stats-strip-list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
}

/* ─── Section Shared ─── */
.section {
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 3rem;
}
.section-alt { background: var(--off-white); }
.section-full { max-width: none; }
.section-header {
  text-align: center; margin-bottom: 3rem;
}
.section-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--dark);
}
.section-desc {
  margin-top: 0.6rem;
  font-size: 0.95rem; color: var(--text-secondary);
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ─── Teams Grid ─── */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.team-card {
  border: none;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.35s var(--transition);
  position: relative; overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 140px;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.team-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: #fff; margin-bottom: 0.25rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.team-card-city {
  font-size: 0.8rem; color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.teams-cta {
  text-align: center; margin-top: 2rem;
}

/* ─── Schedule (HTML/CSS) ─── */
.schedule-section {
  background: #111;
  padding: 3.5rem 2rem 4rem;
  display: flex; flex-direction: column; align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #D5D5D5;
}
.schedule-header {
  text-align: left;
  width: 100%; max-width: 700px;
  margin-bottom: 1.2rem;
}
.schedule-league {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 400; color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
}
.schedule-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 700; color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.schedule-badge {
  display: inline-block;
  padding: 0.35rem 1.8rem;
  background: #1A6FEF;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid var(--accent);
  margin-bottom: 0.75rem;
}
.schedule-table {
  width: 100%; max-width: 700px;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}
.schedule-table thead th {
  background: #333;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  text-align: left;
  border-bottom: 2px solid var(--accent);
}
.schedule-table tbody tr {
  border-bottom: 1px solid #333;
}
.schedule-table tbody tr:last-child {
  border-bottom: none;
}
.schedule-table td {
  padding: 1rem 1.2rem;
  vertical-align: top;
}
.sched-td-date {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700; color: #fff;
  white-space: nowrap;
}
.sched-td-city {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600; color: var(--accent);
}
.sched-td-matchups {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 500; color: #aaa;
  line-height: 1.7;
}

/* ─── How It Works ─── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  transition: all 0.35s var(--transition);
  box-shadow: var(--card-shadow);
  cursor: pointer;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.how-card .how-card-detail {
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s var(--transition), opacity 0.3s var(--transition), margin-top 0.3s var(--transition);
}
.how-card.expanded .how-card-detail {
  max-height: 200px; opacity: 1;
  margin-top: 0.5rem;
}
.how-card-toggle {
  display: inline-block;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 0.5rem;
  transition: color 0.3s;
}
.how-card.expanded .how-card-toggle { color: var(--text-muted); }
.how-card-label {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.how-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.4rem;
}
.how-card-detail {
  font-size: 0.82rem; color: var(--text-secondary);
  line-height: 1.6;
}
.how-card-detail strong {
  color: var(--accent-dark); font-weight: 600;
}

/* ─── Board Section ─── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.board-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s var(--transition);
  box-shadow: var(--card-shadow);
}
.board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.board-card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #FFF8E1; border: 2px solid var(--accent);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.board-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.2rem;
}
.board-card-role {
  font-size: 0.72rem; color: var(--accent-dark);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.board-card-founder {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: #FFF8E1; color: var(--accent-dark);
  border: 1px solid var(--accent);
}

/* ─── Sponsor CTA ─── */
.sponsor-strip {
  background: var(--accent);
  padding: 3rem 2rem;
  text-align: center;
}
.sponsor-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--dark);
  margin-bottom: 0.5rem;
}
.sponsor-strip p {
  font-size: 0.95rem; color: rgba(26,26,46,0.75);
  max-width: 500px; margin: 0 auto 1.5rem;
}
.btn-sponsor {
  background: var(--dark); color: var(--white);
  border-color: var(--dark);
}
.btn-sponsor:hover {
  background: transparent; color: var(--dark);
  border-color: var(--dark);
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-links {
  display: flex; gap: 2rem;
  justify-content: center; margin-bottom: 1.2rem;
}
.footer-links a {
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer p {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}
.footer .heart { color: var(--accent); }

/* ─── Scroll Reveal ─── */
.scroll-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.scroll-reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-label { opacity: 0; animation: fadeUp 0.8s var(--transition) 0.1s forwards; }
.hero-headline { opacity: 0; animation: fadeUp 0.8s var(--transition) 0.2s forwards; }
.hero-slogan { opacity: 0; animation: fadeUp 0.8s var(--transition) 0.35s forwards; }
.hero-ctas { opacity: 0; animation: fadeUp 0.8s var(--transition) 0.5s forwards; }
.countdown-container { opacity: 0; animation: fadeUp 0.8s var(--transition) 0.65s forwards; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .teams-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 0.5rem 1.2rem; height: 48px; }
  .nav-brand { margin-left: -0.5rem; }
  .nav-logo { height: 80px; }
  .nav-hamburger { display: block; }
  .nav-links {
    display: none; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 0; min-width: 180px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 0.75rem 1.4rem; font-size: 0.82rem; color: #333; }
  .nav-links a:hover { color: #1A6FEF; }
  .nav-links a::after { display: none; }

  .hero { padding: 8rem 1.2rem 3rem; }
  .section { padding: 3rem 1.2rem; }

  .stats-strip { padding: 2rem 1.5rem; margin-bottom: 2rem; }
  .stats-strip-list { grid-template-columns: 1fr; }

  .teams-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .team-card { padding: 1.5rem 1rem; }

  .schedule-section { padding: 2.5rem 1rem 3rem; }
  .schedule-table td { padding: 0.8rem 0.8rem; }
  .schedule-table thead th { padding: 0.6rem 0.8rem; }

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

@media (max-width: 520px) {
  .nav-logo { height: 65px; }
  .hero { padding: 7rem 1rem 2.5rem; }
  .hero-headline { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .btn { font-size: 0.78rem; padding: 0.75rem 1.5rem; }

  .countdown-grid { gap: 0.5rem; }
  .countdown-unit { min-width: 58px; padding: 0.7rem 0.5rem; }
  .countdown-number { font-size: 1.4rem; }

  .stats-strip { padding: 1.5rem 1rem; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.65rem; }

  .teams-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .team-card { padding: 1.2rem 0.8rem; }
  .team-card-name { font-size: 1rem; }


  .board-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .board-card { padding: 1.5rem 1rem; }
  .how-grid { grid-template-columns: 1fr; }

  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 360px) {
  .nav-logo { height: 55px; }
  .teams-grid { grid-template-columns: 1fr; }
  .stats-strip { padding: 1.2rem 0.8rem; }
  .board-grid { grid-template-columns: 1fr; }
  .countdown-grid { flex-wrap: wrap; }
  .countdown-unit { min-width: 65px; }
}
