/* ═══════════════════════════════════════════════════════════════
   Pavan Kahar — CRICKET PORTFOLIO
   Premium Dark Theme · Gold/Emerald/Blue Accents
═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  --bg:           #07090D;
  --bg2:          #0D1117;
  --card:         #10141C;
  --card2:        #141922;
  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(212,175,55,0.3);

  --gold:         #D4AF37;
  --gold-light:   #F0CE5E;
  --gold-dim:     rgba(212,175,55,0.15);
  --emerald:      #00D084;
  --emerald-dim:  rgba(0,208,132,0.12);
  --blue:         #00BFFF;
  --blue-dim:     rgba(0,191,255,0.12);

  --text:         #E8EAF0;
  --text-muted:   #7A8194;
  --text-dim:     #4A5166;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-gold:  0 0 40px rgba(212,175,55,0.15);
  --shadow-card:  0 8px 40px rgba(0,0,0,0.5);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.6);

  --z-cursor:    9999;
  --z-loader:    9998;
  --z-nav:        100;
  --z-lightbox:   200;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  max-width: 100vw;
  width: 100%;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-body);
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Custom Cursor ───────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}
.cursor-ring.hovering { width: 56px; height: 56px; opacity: 1; border-color: var(--gold-light); }
.cursor-dot.hovering { width: 4px; height: 4px; }

/* ── Scroll Progress Bar ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--emerald), var(--blue));
  z-index: calc(var(--z-nav) + 1);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Loader ──────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cricket-ball-loader {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 35% 35%, #c0392b, #7b241c);
  border-radius: 50%;
  position: relative;
  animation: ballSpin 1.2s linear infinite;
  box-shadow: 0 0 40px rgba(192,57,43,0.4);
}
.ball-seam {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
}
.seam-1 { width: 80px; height: 40px; top: 20px; left: 0; border-color: transparent rgba(255,255,255,0.5) transparent rgba(255,255,255,0.5); transform: rotate(-15deg); }
.seam-2 { width: 40px; height: 80px; top: 0; left: 20px; border-color: rgba(255,255,255,0.5) transparent rgba(255,255,255,0.5) transparent; transform: rotate(15deg); }
@keyframes ballSpin { to { transform: rotate(360deg); } }

.loader-text { display: flex; flex-direction: column; gap: 6px; }
.loader-name { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 0.15em; color: var(--gold); }
.loader-sub { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; }
.loader-bar-wrap { width: 240px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.loader-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--emerald)); width: 0%; transition: width 0.05s linear; }

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 var(--border), var(--shadow-card);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.logo-a { color: var(--gold); }
.logo-s { color: var(--text); }
.logo-num { font-size: 0.85rem; color: var(--text-muted); margin-left: 4px; }

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: #07090D;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,175,55,0.4); }
.btn-primary.btn-sm { padding: 10px 22px; font-size: 0.75rem; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 24px rgba(212,175,55,0.15); transform: translateY(-2px); }

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── Section Base ────────────────────────────────────────────── */
.section {
  padding: 120px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 16px;
}
.section-subtitle { color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.gold  { color: var(--gold); }
.emerald { color: var(--emerald); }
.blue  { color: var(--blue); }

/* ── Glass Card ──────────────────────────────────────────────── */
.glass-card {
  background: rgba(16, 20, 28, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(212,175,55,0.25);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-4px);
}

/* ── Reveal Animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.spotlight {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.2s ease, top 0.2s ease;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  transition: transform 8s ease;
  filter: brightness(0.35) saturate(0.8);
}
.hero-img.loaded { transform: scale(1); }
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7,9,13,0.92) 0%,
    rgba(7,9,13,0.7) 50%,
    rgba(7,9,13,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 800px;
  padding-top: 80px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  overflow: hidden;
}
.hero-name-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-name-line:nth-child(1) { animation-delay: 1.4s; }
.hero-name-line:nth-child(2) { animation-delay: 1.6s; color: transparent; -webkit-text-stroke: 2px var(--gold); }

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 1.9s forwards;
}
.role-pill {
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.role-sep { color: var(--text-dim); }

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.4;
  opacity: 0;
  animation: fadeUp 0.8s 2.1s forwards;
}
.hero-tagline em { color: var(--gold); font-style: italic; }

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.8s 2.3s forwards;
}

.hero-quick-stats {
  display: flex;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s 2.5s forwards;
}
.qs-item { display: flex; flex-direction: column; gap: 4px; padding: 0 28px 0 0; }
.qs-item:first-child { padding-left: 0; }
.qs-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  line-height: 1;
}
.qs-label { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.qs-divider { width: 1px; background: var(--border); margin: 0 28px 0 0; height: 40px; align-self: center; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 3s forwards;
}
.hero-scroll-hint span { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3}50%{opacity:1} }

/* Floating elements */
.float-el {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  font-size: 1.8rem;
}
.float-ball {
  width: 24px; height: 24px;
  background: radial-gradient(circle at 35% 35%, #e74c3c, #7b241c);
  border-radius: 50%;
  top: 20%;
  right: 12%;
  animation-delay: 0s;
  box-shadow: 0 0 20px rgba(231,76,60,0.3);
}
.float-bat { top: 65%; right: 8%; animation-delay: 2s; opacity: 0.4; }
.float-trophy { top: 30%; right: 20%; animation-delay: 4s; opacity: 0.35; font-size: 1.4rem; }

@keyframes float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(4deg); }
  66% { transform: translateY(-8px) rotate(-3deg); }
}

/* Keyframes */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes slideUp { from{opacity:0;transform:translateY(100%)} to{opacity:1;transform:none} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ══════════════════════════════════════════════════════════════
   2. ABOUT
══════════════════════════════════════════════════════════════ */
.about-section { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img {
  width: 100%; height: 580px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.about-img-wrap:hover .about-img { transform: scale(1.04); }
.about-img-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--gold);
  color: #07090D;
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
}
.badge-num { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.badge-text { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.about-lead { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 20px; line-height: 1.55; }
.about-body { color: var(--text-muted); margin-bottom: 20px; line-height: 1.75; }
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.about-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-card-icon { font-size: 1.5rem; }
.about-card strong { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; }
.about-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   3. STATISTICS
══════════════════════════════════════════════════════════════ */
.stats-section { background: var(--bg); }
.format-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.tab-btn {
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: #07090D; background: var(--gold); border-color: var(--gold); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.stat-card {
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.stat-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-icon { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.stat-label { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.stat-format { font-size: 0.65rem; color: var(--text-dim); margin-top: 6px; }

.stats-batting-bowling {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.discipline-title { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 24px; }
.bar-row { margin-bottom: 20px; }
.bar-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.78rem; }
.bar-name { color: var(--text); }
.bar-val { color: var(--gold); font-weight: 600; }
.bar-track { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.bar-fill.gold-bar { background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.bar-fill.emerald-bar { background: linear-gradient(90deg, var(--emerald-dim), var(--emerald)); }
.bar-fill.blue-bar { background: linear-gradient(90deg, var(--blue-dim), var(--blue)); }

/* ══════════════════════════════════════════════════════════════
   4. ANALYTICS
══════════════════════════════════════════════════════════════ */
.analytics-section { background: var(--bg2); }
.charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.chart-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chart-card canvas {
  width: 100% !important;
  max-width: 100%;
  height: auto;
}
.chart-card-wide { grid-column: 1 / -1; }
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.chart-header h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0.03em; }
.chart-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 50px;
}

/* ══════════════════════════════════════════════════════════════
   5. SCORECARDS
══════════════════════════════════════════════════════════════ */
.scorecards-section { background: var(--bg); }
.scorecards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scorecard {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.scorecard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.scorecard.win::before { background: var(--emerald); }
.scorecard.loss::before { background: #e74c3c; }
.scorecard.draw::before { background: var(--gold); }
.scorecard:hover { border-color: rgba(212,175,55,0.2); transform: translateY(-3px); box-shadow: var(--shadow-card); }

.sc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.sc-opponent { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.sc-flag { font-size: 1.4rem; }
.sc-format-badge {
  font-size: 0.65rem; font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.08em;
}
.sc-format-badge.test { background: rgba(212,175,55,0.15); color: var(--gold); }
.sc-format-badge.odi  { background: rgba(0,208,132,0.12); color: var(--emerald); }
.sc-format-badge.t20  { background: rgba(0,191,255,0.12); color: var(--blue); }

.sc-score { font-family: var(--font-display); font-size: 2.8rem; letter-spacing: 0.03em; line-height: 1; margin-bottom: 4px; }
.sc-score-detail { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }

.sc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sc-stat { text-align: center; }
.sc-stat-val { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); letter-spacing: 0.05em; }
.sc-stat-lbl { font-size: 0.62rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

.sc-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.sc-date { font-size: 0.7rem; color: var(--text-dim); }
.sc-venue { font-size: 0.7rem; color: var(--text-muted); }
.sc-result {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 50px;
}
.sc-result.win { background: rgba(0,208,132,0.12); color: var(--emerald); }
.sc-result.loss { background: rgba(231,76,60,0.12); color: #e74c3c; }
.sc-result.draw { background: var(--gold-dim); color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   6. TIMELINE
══════════════════════════════════════════════════════════════ */
.timeline-section { background: var(--bg2); }
.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; transform: translateX(30px); }
.timeline-item.visible { opacity: 1; transform: none; }

.timeline-content {
  flex: 1;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-year { font-family: var(--font-display); font-size: 2rem; color: var(--gold); letter-spacing: 0.05em; line-height: 1; margin-bottom: 4px; }
.timeline-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.timeline-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 32px;
  box-shadow: 0 0 20px rgba(212,175,55,0.5);
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   7. TROPHIES
══════════════════════════════════════════════════════════════ */
.trophies-section { background: var(--bg); }
.trophies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trophy-card {
  padding: 32px 20px 28px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.trophy-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--emerald));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}
.trophy-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-hover); }
.trophy-card:hover::after { opacity: 0.4; }
.trophy-emoji { font-size: 3rem; display: block; margin-bottom: 16px; filter: drop-shadow(0 4px 20px rgba(212,175,55,0.4)); }
.trophy-count { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); margin-bottom: 4px; }
.trophy-title { font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.trophy-detail { font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   8. GALLERY
══════════════════════════════════════════════════════════════ */
.gallery-section { background: var(--bg2); }
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,13,0.85), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { font-size: 0.8rem; font-weight: 500; color: var(--text); }
.gallery-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
  color: #07090D;
  font-size: 1.2rem;
  font-weight: 700;
}
.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7,9,13,0.97);
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2.5rem;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: none;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 16px;
  cursor: none;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); }
.lightbox-caption { position: absolute; bottom: 24px; font-size: 0.82rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   9. VIDEO HIGHLIGHTS
══════════════════════════════════════════════════════════════ */
.videos-section { background: var(--bg); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
  position: relative;
}
.video-card:hover { border-color: rgba(0,191,255,0.3); box-shadow: 0 0 40px rgba(0,191,255,0.1); transform: translateY(-4px); }
.video-card iframe {
  width: 100%; height: 260px;
  display: block;
  border: none;
}
.video-info { padding: 20px 24px; }
.video-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.video-meta { font-size: 0.75rem; color: var(--text-muted); }
.video-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 0.62rem; font-weight: 700;
  padding: 4px 10px;
  background: var(--blue);
  color: #07090D;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   10. RECORDS
══════════════════════════════════════════════════════════════ */
.records-section { background: var(--bg2); }
.records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.record-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
  text-align: center;
}
.record-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.record-icon { font-size: 2rem; display: block; margin-bottom: 16px; }
.record-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.record-title { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.record-detail { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   11. TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--bg); }
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  gap: 28px;
}
.testimonial-card {
  min-width: calc(33.333% - 20px);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  flex-shrink: 0;
}
.testimonial-quote { font-size: 2.5rem; color: var(--gold); line-height: 1; margin-bottom: 16px; opacity: 0.5; }
.testimonial-text { font-family: var(--font-serif); font-size: 1.02rem; color: var(--text); line-height: 1.65; margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.testimonial-name { font-weight: 600; font-size: 0.88rem; }
.testimonial-role { font-size: 0.72rem; color: var(--text-muted); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: none;
}
.carousel-dot.active { background: var(--gold); width: 24px; border-radius: 3px; }
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--text-muted);
  padding: 8px;
  transition: color var(--transition);
  z-index: 2;
}
.carousel-btn:hover { color: var(--gold); }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

/* ══════════════════════════════════════════════════════════════
   12. SPONSORS
══════════════════════════════════════════════════════════════ */
.sponsors-section { background: var(--bg2); padding: 80px 0; }
.sponsors-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.sponsor-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color var(--transition);
  padding: 12px 0;
}
.sponsor-logo:hover { color: var(--gold); text-shadow: 0 0 20px rgba(212,175,55,0.4); }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════════════════════════════════════
   13. SOCIAL
══════════════════════════════════════════════════════════════ */
.social-section { background: var(--bg); }
.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.social-card {
  padding: 32px 20px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.social-card:hover { transform: translateY(-6px); }
.social-card.insta:hover { border-color: #e1306c; box-shadow: 0 0 30px rgba(225,48,108,0.15); }
.social-card.twitter:hover { border-color: #1DA1F2; box-shadow: 0 0 30px rgba(29,161,242,0.15); }
.social-card.facebook:hover { border-color: #1877f2; box-shadow: 0 0 30px rgba(24,119,242,0.15); }
.social-card.youtube:hover { border-color: #FF0000; box-shadow: 0 0 30px rgba(255,0,0,0.15); }
.social-card.linkedin:hover { border-color: #0A66C2; box-shadow: 0 0 30px rgba(10,102,194,0.15); }
.social-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.social-name { font-size: 0.8rem; font-weight: 600; }
.social-handle { font-size: 0.72rem; color: var(--text-muted); }
.social-followers { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   14. CONTACT
══════════════════════════════════════════════════════════════ */
.contact-section { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.contact-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 0.82rem; color: var(--text-muted); }

.contact-form { padding: 40px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group select option { background: var(--card2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { display: block; font-size: 0.72rem; color: #e74c3c; margin-top: 6px; min-height: 16px; }
.form-success { text-align: center; color: var(--emerald); font-size: 0.85rem; margin-top: 16px; min-height: 20px; }

/* ══════════════════════════════════════════════════════════════
   15. FOOTER
══════════════════════════════════════════════════════════════ */
.footer { background: var(--bg); padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social-icon svg { width: 18px; height: 18px; }
.footer-social-icon:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.footer-links-group h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.footer-links-group li { margin-bottom: 12px; }
.footer-links-group a { font-size: 0.85rem; color: var(--text-dim); transition: color var(--transition); }
.footer-links-group a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }
.footer-legal { font-size: 0.75rem; color: var(--text-dim); }
.footer-legal a { transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ── Back to Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  z-index: 50;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--gold); color: #07090D; border-color: var(--gold); transform: translateY(-2px); }

/* ── Magnetic Button ─────────────────────────────────────────── */
.magnetic { position: relative; display: inline-flex; align-items: center; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — mobile-first, full coverage
══════════════════════════════════════════════════════════════ */

/* ── 1280 px — large laptops ─────────────────────────────────── */
@media (max-width: 1280px) {
  .container { padding: 0 32px; }

  /* Stats: 5 cols still fine */
  .stats-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }

  /* Trophies: 4 → 3 */
  .trophies-grid { grid-template-columns: repeat(3, 1fr); }

  /* Social: 5 → 3 */
  .social-grid { grid-template-columns: repeat(3, 1fr); }

  /* Charts: 3 → 2 (wide card still spans full) */
  .charts-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-card-wide { grid-column: 1 / -1; }
}

/* ── 1024 px — tablets landscape / small laptops ────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }

  /* ── Navbar ── */
  .nav-cta  { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 9, 13, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: calc(var(--z-nav) - 1);
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.3rem; letter-spacing: 0.12em; }

  /* ── Hero ── */
  .hero-content { max-width: 100%; padding: 0 28px; padding-top: 90px; }
  .hero-quick-stats { gap: 20px; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img  { height: 420px; }
  .about-cards { grid-template-columns: repeat(2, 1fr); }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .stats-batting-bowling { grid-template-columns: 1fr; gap: 36px; }

  /* ── Charts ── */
  .charts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .chart-card-wide { grid-column: 1 / -1; }

  /* ── Scorecards ── */
  .scorecards-grid { grid-template-columns: 1fr; }

  /* ── Timeline ── */
  .timeline-wrap { max-width: 100%; }

  /* ── Trophies ── */
  .trophies-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  /* ── Gallery ── */
  .gallery-masonry { columns: 3; }

  /* ── Videos ── */
  .videos-grid { grid-template-columns: 1fr; }

  /* ── Testimonial ── */
  .testimonial-card { min-width: calc(50% - 14px); }

  /* ── Social ── */
  .social-grid { grid-template-columns: repeat(3, 1fr); }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── 768 px — tablets portrait ──────────────────────────────── */
@media (max-width: 768px) {
  /* Base */
  .section  { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Section headings */
  .section-title { font-size: 2.4rem; }
  .section-eyebrow { font-size: 0.68rem; }

  /* ── Cursor — hide on touch ── */
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }

  /* ── Navbar ── */
  .navbar { padding: 14px 20px; gap: 0; }
  .navbar.scrolled { padding: 10px 20px; }
  .nav-logo { font-size: 1.5rem; }

  /* ── Hero ── */
  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 40px; }
  .hero-content {
    padding: 0 20px 0;
    padding-top: 0;
    max-width: 100%;
  }
  .hero-name { font-size: clamp(3.5rem, 16vw, 6rem); margin-bottom: 16px; }
  .hero-name-line:nth-child(2) { -webkit-text-stroke: 1.5px var(--gold); }
  .hero-tagline { font-size: 1rem; margin-bottom: 28px; }
  .hero-eyebrow { font-size: 0.65rem; margin-bottom: 12px; }
  .hero-roles { gap: 6px; margin-bottom: 16px; }
  .role-pill { font-size: 0.65rem; padding: 5px 12px; }
  .hero-btns {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
  }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-quick-stats {
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-bottom: 0;
  }
  .qs-divider { display: none; }
  .qs-item { padding: 0; min-width: calc(50% - 12px); }
  .qs-num { font-size: 1.9rem; }
  .qs-label { font-size: 0.65rem; }
  .float-el { display: none; } /* hide distract
  ing floaters on mobile */
  .hero-scroll-hint { display: none; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img  { height: 800px; }
  .about-img-badge { padding: 12px 14px; }
  .badge-num { font-size: 1.6rem; }
  .about-lead { font-size: 1.05rem; }
  .about-cards { grid-template-columns: 1fr; gap: 12px; }

  /* ── Stats ── */
  .format-tabs { flex-wrap: wrap; gap: 6px; justify-content: center; }
  .tab-btn { padding: 8px 18px; font-size: 0.72rem; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-card { padding: 20px 14px; }
  .stat-value { font-size: 1.9rem; }
  .stat-icon { font-size: 1.3rem; }
  .stats-batting-bowling {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 28px;
  }
  .discipline-title { font-size: 1.3rem; margin-bottom: 16px; }

  /* ── Charts ── */
  .charts-grid { grid-template-columns: 1fr; gap: 16px; }
  .chart-card { padding: 20px 16px; }
  .chart-card-wide { grid-column: 1 / -1; }
  .chart-card canvas { width: 100% !important; height: 220px !important; }

  /* ── Scorecards ── */
  .scorecards-grid { grid-template-columns: 1fr; gap: 14px; }
  .scorecard { padding: 18px 20px; }
  .sc-score { font-size: 2.2rem; }
  .sc-stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sc-stat-val { font-size: 1.1rem; }

  /* ── Timeline ── */
  .timeline-wrap::before { left: 16px; transform: none; }
  .timeline-item {
    flex-direction: column !important;
    padding-left: 44px;
    gap: 12px;
    position: relative;
  }
  .timeline-item:nth-child(even) {
    flex-direction: column !important;
    transform: none !important;
  }
  .timeline-item:nth-child(even) .timeline-content { text-align: left; }
  .timeline-dot {
    position: absolute;
    left: 8px;
    top: 28px;
    margin-top: 0;
  }
  .timeline-spacer { display: none; }
  .timeline-content { padding: 18px 20px; }
  .timeline-year { font-size: 1.6rem; }

  /* ── Trophies ── */
  .trophies-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trophy-card { padding: 24px 14px 20px; }
  .trophy-emoji { font-size: 2.2rem; }
  .trophy-count { font-size: 2rem; }

  /* ── Gallery ── */
  .gallery-masonry { columns: 2; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }

  /* ── Videos ── */
  .videos-grid { grid-template-columns: 1fr; gap: 16px; }
  .video-card iframe { height: 220px; }

  /* ── Records ── */
  .records-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .record-card { padding: 22px 16px; }
  .record-value { font-size: 2rem; }

  /* ── Testimonials ── */
  .testimonial-carousel { padding: 0 8px; }
  .testimonial-card {
    min-width: 100%;
    padding: 28px 22px;
  }
  .testimonial-text { font-size: 0.92rem; }
  .carousel-prev { left: -4px; }
  .carousel-next { right: -4px; }

  /* ── Sponsors ── */
  .sponsors-section { padding: 60px 0; }
  .sponsor-logo { font-size: 1.1rem; }
  .marquee-track { gap: 40px; }

  /* ── Social ── */
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .social-card { padding: 24px 14px; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 28px 20px; }
  .contact-info { gap: 12px; }
  .contact-item { padding: 16px 18px; gap: 14px; }

  /* ── Footer ── */
  .footer { padding: 56px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .footer-links-group h4 { margin-bottom: 14px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 18px 0;
  }

  /* ── Back to top ── */
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ── 480 px — phones ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* Section headings */
  .section-title { font-size: 2rem; }
  .section-header { margin-bottom: 48px; }

  /* ── Hero ── */
  .hero-name { font-size: clamp(3rem, 18vw, 4.5rem); }
  .hero-quick-stats { gap: 10px 16px; }
  .qs-item { min-width: calc(50% - 8px); }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 16px 10px; }
  .stat-value { font-size: 1.7rem; }
  .stat-label { font-size: 0.62rem; }

  /* ── Charts ── */
  .chart-card canvas { height: 200px !important; }
  .chart-header h3 { font-size: 0.88rem; }

  /* ── Scorecards ── */
  .scorecard { padding: 16px; }
  .sc-score { font-size: 2rem; }
  .sc-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sc-footer { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* ── Trophies ── */
  .trophies-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trophy-card { padding: 20px 10px 16px; }

  /* ── Gallery ── */
  .gallery-masonry { columns: 1; }

  /* ── Records ── */
  .records-grid { grid-template-columns: 1fr; gap: 12px; }

  /* ── Social ── */
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .social-followers { font-size: 1.2rem; }

  /* ── About cards ── */
  .about-cards { grid-template-columns: 1fr; }

  /* ── Format tabs ── */
  .format-tabs { gap: 6px; }
  .tab-btn { padding: 8px 14px; font-size: 0.7rem; }

  /* ── Videos ── */
  .video-card iframe { height: 200px; }
  .video-info { padding: 14px 16px; }

  /* ── Contact form ── */
  .contact-form { padding: 22px 16px; }
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 12px 14px; font-size: 0.85rem; }

  /* ── Footer ── */
  .footer-socials { gap: 8px; }
  .footer-social-icon { width: 34px; height: 34px; }
}

/* ── 360 px — very small phones ─────────────────────────────── */
@media (max-width: 360px) {
  .hero-name { font-size: 2.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trophies-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .btn-primary, .btn-ghost { padding: 12px 20px; font-size: 0.78rem; }
  .scorecard { padding: 14px; }
}

/* ── Landscape phones (height < 500px) ──────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100vw; align-items: center; padding-bottom: 0; }
  .hero-content { padding-top: 70px; }
  .hero-name { font-size: clamp(2.4rem, 10vw, 4rem); margin-bottom: 10px; }
  .hero-tagline { display: none; }
  .hero-quick-stats { display: none; }
  .hero-btns { margin-bottom: 0; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .float-el { animation: none; }
  .scroll-line { animation: none; }
  .cricket-ball-loader { animation: none; }
}
