/* OWGA Golf League - Modern Redesign */
/* Clean, premium aesthetic with deep navy & gold */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=Cinzel:wght@400;600;700&display=swap');

:root {
  --navy: #0b1120;
  --navy-mid: #111827;
  --navy-card: #161f30;
  --navy-light: #1e2d45;
  --gold: #c9a84c;
  --gold-bright: #e2b84a;
  --gold-pale: #f0d080;
  --gold-muted: #a07830;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --white: #f8f4ee;
  --cream: #e8dfc8;
  --muted: #8a95a8;
  --border: rgba(201, 168, 76, 0.18);
  --border-strong: rgba(201, 168, 76, 0.35);

  --serif-display: 'Cinzel', 'Times New Roman', serif;
  --serif-body: 'DM Serif Display', 'Georgia', serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;

  --radius: 4px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--navy);
  color: var(--cream);
  line-height: 1.6;
}

/* ─── HEADER / NAV ─────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
}

.logo-container { display: flex; align-items: center; }
.logo { height: 46px; object-fit: contain; }

nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--gold-bright);
  background: var(--gold-glow);
}

/* ─── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #1a2d50 0%, var(--navy) 70%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(201,168,76,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(201,168,76,0.04) 60px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}

.hero-content h1 {
  font-family: var(--serif-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-family: var(--serif-body);
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-style: italic;
}

/* ─── SECTION UTILITIES ─────────────────────────── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-family: var(--serif-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 2.5rem;
}

.gold-rule.centered {
  margin: 1rem auto 2.5rem;
}

/* ─── LEAGUE INFO ────────────────────────────────── */
.league-info {
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.league-info > h2 {
  grid-column: 1 / -1;
  text-align: center;
}

.info-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
}

.card-icon {
  width: 72px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-card) 100%);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2.5rem;
}

.card-icon i {
  font-size: 1.5rem;
  color: var(--gold);
}

.card-content {
  padding: 2rem 2.5rem;
  flex: 1;
}

.card-content h3 {
  font-family: var(--serif-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.card-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Upcoming Events */
.upcoming-events {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.upcoming-events h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.upcoming-events ul { list-style: none; }

.upcoming-events li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--cream);
}

.date {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 120px;
}

/* Standings */
.standings {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.standings-header,
.standings-row {
  display: grid;
  grid-template-columns: 48px 1fr 100px;
  padding: 0.75rem 1.25rem;
}

.standings-header {
  background: rgba(201,168,76,0.08);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
}

.standings-row {
  font-size: 0.9rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}

.standings-row:last-child { border-bottom: none; }
.standings-row:hover { background: rgba(255,255,255,0.03); }

.standings-row span:first-child {
  font-family: var(--serif-display);
  font-size: 1rem;
  color: var(--gold-pale);
  font-weight: 700;
}

.standings-row span:last-child {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--gold);
  text-align: right;
}

/* Course info */
.courses { margin-top: 1rem; }

.course {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.course h4 {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.course p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--cream);
}

.course strong {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course ul {
  margin: 0.5rem 0 0.5rem 1.2rem;
}

.course li {
  font-size: 0.88rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

/* ─── PLAYERS PAGE ───────────────────────────────── */
.player-hero { min-height: 340px; }

.players-section {
  padding: 4rem 0;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-container {
  position: relative;
  flex: 0 0 280px;
}

.player-search {
  width: 100%;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.player-search:focus { border-color: var(--gold-muted); }
.player-search::placeholder { color: var(--muted); }

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-muted);
  font-size: 0.8rem;
  pointer-events: none;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}

.player-sort {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.player-sort:focus { border-color: var(--gold-muted); }

/* Players Grid */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.player-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  opacity: 0;
  transform: translateY(20px);
}

.player-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.25s, box-shadow 0.25s;
}

.player-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.player-profile {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.player-initials {
  font-family: var(--serif-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: rgba(0,0,0,0.55);
  position: relative;
  z-index: 2;
  letter-spacing: 0.05em;
}

.player-info {
  padding: 1.25rem;
}

.player-name {
  font-family: var(--serif-body);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.player-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.player-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.detail-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-value {
  color: var(--gold);
  font-weight: 600;
}

/* No results */
.no-results {
  text-align: center;
  padding: 4rem 0;
  color: var(--muted);
}

/* Player stats cards */
.player-stats {
  padding: 3rem 0 5rem;
}

.player-stats h2 {
  margin-bottom: 0.4rem;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: var(--border-strong); }

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-glow);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i { color: var(--gold); font-size: 1.1rem; }

.stat-content h3.stat-value {
  font-family: var(--serif-display);
  font-size: 2rem;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ─── RULES PAGE ─────────────────────────────────── */
.rules-content {
  padding: 4rem 5%;
  max-width: 900px;
  margin: 0 auto;
}

.rules-content section {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 2rem;
}

.rules-content h1 {
  font-family: var(--serif-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.rules-content h2 {
  text-align: center;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.rules-content h3 {
  font-family: var(--serif-body);
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.rules-content h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.rules-content h5 {
  font-family: var(--serif-body);
  font-size: 1rem;
  color: var(--cream);
  font-style: italic;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.rules-content ul {
  margin-left: 1rem;
  margin-bottom: 1.5rem;
}

.rules-content li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--cream);
}

.rules-content li strong { color: var(--gold-pale); }

/* ─── CHAMPIONS PAGE ─────────────────────────────── */
.champions-gallery {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--navy), var(--navy-mid));
}

.champions-gallery h2 { text-align: center; }

.champions-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 0;
}

.champions-carousel::-webkit-scrollbar { display: none; }

.champion-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.champion-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
}

.champion-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-pale) 0%, var(--gold) 50%, var(--gold-muted) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.champion-year {
  font-family: var(--serif-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1;
}

.champion-course {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11,17,32,0.65);
  margin-top: 0.2rem;
}

.champion-name {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.champion-details {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.carousel-control {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-control:hover {
  background: var(--gold-glow);
}

/* Hall of Fame */
.hall-of-fame {
  background: var(--navy-mid);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.hall-of-fame h2 { text-align: center; }

.testimonial {
  max-width: 680px;
  margin: 2rem auto 0;
  text-align: center;
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-author {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-muted);
}

.hall-of-fame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.hall-of-fame-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.hall-of-fame-card:hover { border-color: var(--border-strong); }

.hall-of-fame-card h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hall-of-fame-card ul { list-style: none; }

.hall-of-fame-card li {
  font-size: 0.92rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  position: relative;
}

.hall-of-fame-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-muted);
  font-size: 0.8rem;
}

.gold-text {
  color: var(--gold-bright);
  font-weight: 600;
}

.gold-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0.75rem auto 0;
}

/* ─── FOOTER ──────────────────────────────────────── */
#footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 5%;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── LEADERBOARD ─────────────────────────────────── */
.leaderboard-section {
  padding: 5rem 5%;
  max-width: 900px;
  margin: 0 auto;
}

/* ─── SCROLL INDICATOR ───────────────────────────── */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: var(--navy-card);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold);
  font-size: 0.9rem;
  transition: opacity 0.3s, background 0.2s;
  z-index: 200;
}

.scroll-indicator:hover { background: var(--gold-glow); }

/* ─── HAMBURGER BUTTON (hidden on desktop) ───────── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gold);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--gold-glow); }

/* ─── RESPONSIVE ─────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 700px) {

  /* Header — logo + hamburger only */
  #header {
    padding: 0 4%;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 200;
  }

  .nav-toggle { display: flex; }

  /* Nav slides down from header when open */
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 199;
    padding: 0.75rem 0;
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 4%;
  }

  nav ul li a {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    border-radius: var(--radius);
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  nav ul li:last-child a { border-bottom: none; }

  /* Hero */
  .hero { min-height: 320px; }
  .hero-content { padding: 2.5rem 1.5rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }

  /* League info */
  .league-info { padding: 2.5rem 4%; gap: 1.25rem; }
  .info-card { flex-direction: column; }
  .card-icon {
    width: 100%; height: 48px; padding-top: 0;
    border-right: none; border-bottom: 1px solid var(--border);
    flex-direction: row; gap: 0.6rem;
    padding-left: 1rem;
    justify-content: flex-start;
  }
  .card-icon i { font-size: 1.1rem; }
  .card-content { padding: 1.25rem; }
  .card-content h3 { font-size: 1.1rem; }

  .upcoming-events li { flex-wrap: wrap; gap: 0.4rem; }
  .date { min-width: unset; }

  /* Index home grid */
  .home-grid { grid-template-columns: 1fr; padding: 2rem 4%; gap: 1.5rem; }

  /* Round pills — smaller on mobile */
  .rounds-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.5rem; }
  .round-pill { padding: 0.6rem; }
  .round-pill .rday { font-size: 1.3rem; }

  /* Players */
  .players-section { padding: 2.5rem 0; }
  .players-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
  .player-controls { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .search-container { flex: none; width: 100%; }
  .player-stats { padding: 2rem 0 3rem; }
  .stats-cards { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Rules */
  .rules-content { padding: 2rem 4%; }
  .rules-content section { padding: 1.5rem; }

  /* Champions */
  .champions-gallery { padding: 3rem 0; }
  .champions-gallery .container { width: 94%; }
  .champions-carousel { padding: 1.5rem 0; gap: 1rem; }
  .champion-card { flex: 0 0 260px; padding: 1.5rem; }

  .hall-of-fame { padding: 3rem 0; }
  .hall-of-fame .container { width: 94%; }
  .hall-of-fame-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
  .testimonial { padding: 0 1rem; }

  /* Leaderboard */
  .lb-wrap { padding: 2rem 4%; }
  .lb-tabs { overflow-x: auto; gap: 0; }
  .lb-tab { padding: 0.6rem 0.9rem; font-size: 0.76rem; white-space: nowrap; }

  .lb-table th, .lb-table td { padding: 0.6rem 0.6rem; font-size: 0.78rem; }
  /* Hide less critical columns on small screens */
  .lb-table .hide-mobile { display: none; }

  .weekly-scroll { -webkit-overflow-scrolling: touch; }
  .weekly-table { font-size: 0.72rem; }
  .weekly-table th, .weekly-table td { padding: 0.4rem 0.3rem; }

  /* Admin editor */
  .score-editor-grid { grid-template-columns: 1fr 1fr; }
  .save-bar { flex-direction: column; align-items: flex-start; }
  .save-actions { width: 100%; justify-content: flex-end; }
  .champ-editor-grid { grid-template-columns: 1fr; }
  .champ-row { grid-template-columns: 36px 1fr 64px 64px; }
  .admin-toolbar { flex-direction: column; align-items: flex-start; }

  /* Scroll indicator */
  .scroll-indicator { bottom: 1.25rem; right: 1.25rem; width: 36px; height: 36px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-content h1 { font-size: 1.7rem; }
  .players-grid { grid-template-columns: 1fr 1fr; }
  .stats-cards { grid-template-columns: 1fr; }
  .score-editor-grid { grid-template-columns: 1fr; }
  .rounds-grid { grid-template-columns: repeat(3, 1fr); }
}
