/* ========================================
   YYAS — Yo-Yo Association of Singapore
   Rebrand: Bold, Bright, Fun Non-Profit
   Colours: Red + Yellow + Black + White
   Fonts: Anton (display) + Space Grotesk (body)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --red: #E31B23;
  --red-dark: #B9161C;
  --red-glow: rgba(227, 27, 35, 0.25);
  --yellow: #FFD700;
  --yellow-bright: #FFE44D;
  --yellow-glow: rgba(255, 215, 0, 0.35);
  --black: #111111;
  --black-soft: #1A1A1A;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #9A9A9A;
  --gray-600: #555555;
  --gradient-main: linear-gradient(135deg, var(--yellow) 0%, #FFAA00 100%);
  --gradient-horiz: linear-gradient(90deg, var(--yellow), #FFAA00);
  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-red: 0 8px 30px rgba(227, 27, 35, 0.25);
  --shadow-yellow: 0 8px 30px rgba(255, 215, 0, 0.35);
  /* Backward compatibility aliases */
  --font: var(--font-body);
  --gray: var(--gray-600);
  --gray-dark: var(--gray-400);
  --black-light: var(--black-soft);
  --black-lighter: #2A2A2A;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* ========================================
   ORBS — subtle, light mode
   ======================================== */
.orb-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15; animation: orbFloat 20s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: var(--red); top: -15%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: var(--yellow); top: 30%; right: -10%; animation-delay: -7s; opacity: 0.12; }
.orb-3 { width: 350px; height: 350px; background: var(--red); bottom: -10%; left: 40%; animation-delay: -14s; opacity: 0.08; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
}

/* ========================================
   NAVIGATION — light, clean, bold
   ======================================== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 2rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-bottom: 3px solid var(--black); transition: all 0.3s ease; }
.navbar.scrolled { padding: 0.75rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.nav-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { width: auto; height: 58px; }
.logo-text { display: none; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--black); position: relative; transition: color 0.3s ease; padding: 0.5rem 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 3px; background: var(--red); border-radius: 2px; transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { background: #1B8F4C; color: #fff !important; padding: 0.7rem 1.75rem !important; border-radius: 100px; font-weight: 800 !important; font-size: 0.85rem !important; transition: all 0.3s ease !important; border: 3px solid var(--black); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #157a3f; transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 25px rgba(27, 143, 76, 0.4); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { display: block; width: 28px; height: 3px; background: var(--black); border-radius: 2px; transition: all 0.3s ease; }

/* ========================================
   MAIN
   ======================================== */
.main-content { position: relative; z-index: 2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--gray-100); }

/* ========================================
   TYPOGRAPHY
   ======================================== */
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.heading-sm {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.text-gradient { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }

.body-text { font-size: 1.15rem; color: var(--gray-600); line-height: 1.7; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 3px solid var(--black);
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-red); }
.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-yellow); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 3px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--yellow); transform: translateY(-3px); }
.btn-dark {
  background: var(--black);
  color: var(--yellow);
}
.btn-dark:hover { background: var(--red); color: var(--white); transform: translateY(-3px); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: #1B8F4C;
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 3px solid var(--black);
}
.btn-whatsapp:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 25px rgba(27, 143, 76, 0.4); }

/* ========================================
   CARDS — light mode, thick borders
   ======================================== */
.card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
  opacity: 1;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}
.card:hover::before { background: var(--yellow); }

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 3px solid var(--black);
}

/* Sketch-style badge */
.sketch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  border: 3px solid var(--black);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.sketch-badge:hover { transform: rotate(0deg) scale(1.05); }

/* ========================================
   HERO
   ======================================== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content { max-width: 600px; }
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.3rem; color: var(--gray-600); margin-bottom: 2.5rem; line-height: 1.6; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image-wrapper { position: relative; width: 100%; max-width: 500px; }
.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 2;
  border: 4px solid var(--black);
}

/* Floating doodles */
.doodle { position: absolute; z-index: 3; }
.doodle-1 { top: -30px; right: -20px; animation: doodleFloat 4s ease-in-out infinite; }
.doodle-2 { bottom: 50px; left: -30px; animation: doodleFloat 3s ease-in-out infinite reverse; }
.doodle-3 { top: 40%; right: -40px; animation: doodleFloat 5s ease-in-out infinite; }
@keyframes doodleFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(10deg); } }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background: var(--yellow);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--black); margin-top: 0.25rem; font-weight: 700; text-transform: uppercase; }

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--red);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  border: 3px solid var(--black);
  transform: rotate(-1deg);
}
.section-tag-yellow {
  background: var(--yellow);
  color: var(--black);
}

/* ========================================
   PROGRAMS GRID
   ======================================== */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}
.program-card-image { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--black); }
.program-card-content { padding: 1.5rem; }
.program-card-title { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.program-card-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }

/* ========================================
   PROGRAMS SHOWCASE
   ======================================== */
.programs-showcase { background: var(--gray-100); border-top: 3px solid var(--black); border-bottom: 3px solid var(--black); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program-showcase-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  padding: 0;
  box-shadow: var(--shadow-soft);
}
.program-showcase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.program-card-photo-wrap { width: 100%; height: 220px; overflow: hidden; position: relative; border-bottom: 3px solid var(--black); }
.program-card-photo-wrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(transparent, rgba(255,255,255,0.9)); }
.program-card-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-showcase-card:hover .program-card-photo { transform: scale(1.08); }
.program-card-body { padding: 1.75rem; }
.program-showcase-card h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.program-showcase-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* ========================================
   PRESS SLIDER
   ======================================== */
.press-slider {
  overflow: hidden;
  white-space: nowrap;
  padding: 3rem 0;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background: var(--gray-100);
}
.press-slider-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}
.press-track { display: inline-flex; align-items: center; gap: 3rem; animation: pressScroll 20s linear infinite; }
.press-logo { display: inline-flex; align-items: center; justify-content: center; height: 80px; transition: transform 0.3s ease; flex-shrink: 0; }
.press-logo:hover { transform: scale(1.05); }
.press-logo img { height: 70px; max-width: 220px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.press-logo:hover img { transform: scale(1.05); }
@keyframes pressScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========================================
   MARQUEE
   ======================================== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 2.5rem 0;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background: var(--red);
}
.marquee-content { display: inline-block; animation: marqueeScroll 20s linear infinite; }
.marquee-item {
  display: inline-block;
  padding: 0 2.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========================================
   TIMELINE
   ======================================== */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); border-radius: 3px; }
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.3rem;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  margin-left: -7px;
  border: 3px solid var(--black);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.02em; }
.timeline-text { color: var(--gray-600); line-height: 1.7; }
.timeline-text ul { list-style: none; padding: 0; }
.timeline-text ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; }
.timeline-text ul li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-weight: 900; }

/* ========================================
   PERFORMANCE GRID
   ======================================== */
.performance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.performance-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  border: 4px solid var(--black);
  box-shadow: var(--shadow-soft);
}
.performance-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.performance-card:hover img { transform: scale(1.1); }
.performance-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.performance-card-overlay h3,
.performance-card-overlay p { color: var(--white); }

/* ========================================
   CLUB CARDS
   ======================================== */
.club-card { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.club-card:nth-child(even) { direction: rtl; }
.club-card:nth-child(even) > * { direction: ltr; }
.club-card-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 4px solid var(--black);
}
.club-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.club-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--gray-600);
  border-bottom: 2px solid var(--gray-200);
}
.club-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 2px solid var(--black);
}

/* ========================================
   STORE CARDS
   ======================================== */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.store-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}
.store-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.store-card:hover::before { background: var(--yellow); }
.store-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  border: 3px solid var(--black);
}
.store-name { font-family: var(--font-body); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.store-desc { color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.6; }

/* ========================================
   SYYC / COMPETITIONS
   ======================================== */
.year-selector { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.year-pill {
  padding: 0.8rem 2rem;
  border-radius: 100px;
  border: 3px solid var(--black);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  transition: all 0.3s ease;
  cursor: pointer;
}
.year-pill:hover, .year-pill.active {
  background: var(--yellow);
  color: var(--black);
  transform: scale(1.05);
  box-shadow: var(--shadow-yellow);
}

.divisions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.division-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.division-card .champion-photo { width: 100%; height: 220px; object-fit: cover; background: var(--gray-100); border-bottom: 3px solid var(--black); }
.division-card .champion-info { padding: 1.5rem; }
.division-card .division-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.division-card .champion-name { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.division-card .champion-title { color: var(--gray-600); font-size: 0.9rem; }
.division-card .freestyle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.division-card .freestyle-link:hover { color: var(--red-dark); }

.podium-section { margin-top: 4rem; }
.podium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.podium-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.podium-card.gold { border-color: var(--yellow); background: var(--yellow); }
.podium-card.silver { border-color: var(--gray-400); background: var(--gray-100); }
.podium-card.bronze { border-color: #cd7f32; background: #FFF8F0; }
.podium-rank { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1; }
.podium-rank.gold-text { color: var(--black); }
.podium-rank.silver-text { color: var(--black); }
.podium-rank.bronze-text { color: #cd7f32; }
.podium-name { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; }
.podium-score { color: var(--gray-600); font-size: 0.9rem; margin-top: 0.25rem; }

/* ========================================
   IMAGE GRID
   ======================================== */
.image-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.image-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 32/13;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius);
  transition: all 0.4s ease;
  border: 3px solid var(--black);
  box-shadow: var(--shadow-soft);
}
.image-grid img:hover { transform: scale(1.05) rotate(-1deg); box-shadow: var(--shadow-medium); border-color: var(--red); }
.press-screenshot { display: block; transition: all 0.3s ease; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--black); }
.press-screenshot:hover { transform: scale(1.02); box-shadow: var(--shadow-medium); border-color: var(--red); }
.press-screenshot img { border: none !important; border-radius: 0 !important; }

/* ========================================
   BELIEF GRID
   ======================================== */
.belief-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.belief-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 3px solid var(--black);
  box-shadow: var(--shadow-soft);
}
.belief-icon {
  width: 48px;
  height: 80px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 2px solid var(--black);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 4px solid var(--black);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  background: var(--black);
  color: var(--white);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { max-width: 300px; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: var(--yellow) !important; }
.footer-desc { color: var(--gray-400); font-size: 0.95rem; line-height: 1.6; }
.footer-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.02em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--gray-400); font-size: 0.95rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 2px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: var(--gray-400);
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--yellow); color: var(--black); transform: translateY(-3px); border-color: var(--yellow); }

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   PAGE HERO
   ======================================== */
.page-hero { min-height: 55vh; display: flex; align-items: center; padding-top: 100px; text-align: center; }
.page-hero .container { max-width: 800px; }

/* Quote block */
.quote-block {
  background: var(--yellow);
  border-left: 6px solid var(--red);
  padding: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--black);
  border: 3px solid var(--black);
  border-left-width: 6px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  background: #FFF0F0;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}
.testimonial-hearts {
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}
.testimonial-photo {
  width: 100%;
  height: 200px;
  background: repeating-linear-gradient(
    45deg,
    var(--gray-100),
    var(--gray-100) 10px,
    var(--gray-200) 10px,
    var(--gray-200) 20px
  );
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 2px dashed var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}
.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.testimonial-text {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--black);
  background: var(--gray-100);
}
.testimonial-name {
  font-weight: 700;
  color: var(--black);
  font-size: 0.95rem;
}
.testimonial-age {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ========================================
   WINNERS HISTORY (new)
   ======================================== */
.winners-history { background: var(--gray-100); border-top: 3px solid var(--black); border-bottom: 3px solid var(--black); }
.winners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.winner-year-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.winner-year-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.winner-year-card .year-header {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.winner-year-card .year-venue {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-weight: 600;
}
.winner-year-card .champ-list { list-style: none; padding: 0; }
.winner-year-card .champ-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
}
.winner-year-card .champ-list li:last-child { border-bottom: none; }
.winner-year-card .champ-list .division { font-weight: 700; color: var(--black); }
.winner-year-card .champ-list .name { font-weight: 600; color: var(--red); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  /* Navbar: switch to hamburger on all tablets */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem 1.25rem 3.5rem 1.25rem;
    gap: 2.5rem;
    border-top: 3px solid var(--black);
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: visible;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 1rem 0; font-size: 1.2rem; border-bottom: none; width: 100%; text-align: center; }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active { color: var(--red); }
  .nav-links .nav-cta { margin-top: 0; margin-bottom: 0; padding: 1.1rem 3rem !important; font-size: 1rem !important; text-align: center; justify-content: center; border-radius: 50px; border-bottom: 3px solid var(--black) !important; }
  .mobile-menu-btn { display: flex; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .sketch-badge { margin-top: 1rem; }

  /* Grids */
  .program-grid, .store-grid, .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .event-card, .club-card { grid-template-columns: 1fr; }
  .club-card:nth-child(even), .event-card:nth-child(even) { direction: ltr; }
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .podium-grid { grid-template-columns: repeat(2, 1fr); }

  /* Inline 2-column grids: stack on tablet */
  .program-card[style*="1fr 1fr"],
  .card > div[style*="1fr 1fr"],
  .event-card[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .program-card[style*="rtl"],
  .card > div[style*="rtl"],
  .event-card[style*="rtl"] {
    direction: ltr !important;
  }
}

@media (max-width: 768px) {
  .main-content { padding-top: 2.5rem; }
  .navbar { padding: 1rem; }
  .logo img { height: 42px; }
  .hero { padding-top: 140px; }
  .page-hero { padding-top: 140px; }
  .hero-visual { order: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem 1.25rem 3.5rem 1.25rem;
    gap: 2.5rem;
    border-top: 3px solid var(--black);
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: visible;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 1rem 0; font-size: 1.2rem; border-bottom: none; width: 100%; text-align: center; }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active { color: var(--red); }
  .nav-links .nav-cta { margin-top: 0; margin-bottom: 0; padding: 1.1rem 3rem !important; font-size: 1rem !important; text-align: center; justify-content: center; border-radius: 50px; border-bottom: 3px solid var(--black) !important; }
  .container { padding: 0 1.25rem; }
  .mobile-menu-btn { display: flex; }
  .program-grid, .store-grid, .performance-grid, .image-grid, .programs-grid { grid-template-columns: 1fr; }
  .event-card[style*="1fr 1fr"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .event-card img { width: 100% !important; }
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .marquee {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section { padding: 4rem 0; }
  .belief-grid { grid-template-columns: 1fr; }
  .divisions-grid { grid-template-columns: 1fr; }
  .podium-grid { grid-template-columns: 1fr; }
  .winners-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Fix inline 2-column grids: stack vertically on mobile */
  .program-card[style*="1fr 1fr"],
  .card > div[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .program-card[style*="rtl"] {
    direction: ltr !important;
  }
  .card > div[style*="rtl"] {
    direction: ltr !important;
  }
  /* Images on top when stacked */
  .program-card[style*="1fr 1fr"] img,
  .card > div[style*="1fr 1fr"] img {
    min-height: 220px !important;
    height: 220px !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    order: -1;
  }
  /* Reset padding on mobile for grid text blocks */
  .program-card[style*="1fr 1fr"] > div,
  .card > div[style*="1fr 1fr"] > div {
    padding: 1.5rem !important;
  }
  /* Widen event cards on mobile by reducing outer card padding */
  .card[style*="padding: 3rem"] {
    padding: 1rem !important;
  }
  /* Reduce heading sizes on mobile */
  .heading-xl { font-size: clamp(3.2rem, 14vw, 5rem); }
  .heading-lg { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .heading-md { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  /* Hero image sizing on mobile */
  .hero-visual img { max-width: 80%; margin: 0 auto; }
}
