/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Light elegant palette */
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f4f0;
  --bg-surface: #f0eeea;
  --bg-hero: #1b1b1f;
  --text: #1a1a1f;
  --text-muted: #6b6b76;
  --text-dim: #9b9ba6;
  --accent: #8b6914;
  --accent-hover: #a37d1a;
  --accent-light: #c9a84c;
  --accent-dim: rgba(139, 105, 20, 0.08);
  --accent-glow: rgba(201, 168, 76, 0.15);
  --success: #1a8a3e;
  --success-bg: rgba(26, 138, 62, 0.08);
  --danger: #c0392b;
  --danger-bg: rgba(192, 57, 43, 0.08);
  --info: #2563eb;
  --info-bg: rgba(37, 99, 235, 0.08);
  --border: #e2e0dc;
  --border-light: #eeedea;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 249, 247, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(250, 249, 247, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
/* Dark navbar on hero */
.navbar.on-hero {
  background: transparent;
  border-bottom-color: transparent;
}
.navbar.on-hero .logo { color: #fff; }
.navbar.on-hero .nav-link { color: rgba(255,255,255,0.7); }
.navbar.on-hero .nav-link:hover, .navbar.on-hero .nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }
.navbar.on-hero .nav-toggle span { background: #fff; }
.navbar.on-hero.scrolled {
  background: rgba(250, 249, 247, 0.95);
  border-bottom-color: var(--border);
}
.navbar.on-hero.scrolled .logo { color: var(--text); }
.navbar.on-hero.scrolled .nav-link { color: var(--text-muted); }
.navbar.on-hero.scrolled .nav-link:hover,
.navbar.on-hero.scrolled .nav-link.active { color: var(--text); background: var(--accent-dim); }
.navbar.on-hero.scrolled .nav-link.active { color: var(--accent); }
.navbar.on-hero.scrolled .nav-toggle span { background: var(--text); }

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo-icon {
  font-size: 1.6rem; color: var(--accent-light);
  filter: drop-shadow(0 2px 4px rgba(201, 168, 76, 0.2));
}
.nav-links {
  display: flex; list-style: none; gap: 0.25rem;
}
.nav-link {
  color: var(--text-muted); padding: 0.5rem 1rem;
  border-radius: var(--radius-sm); font-weight: 500; font-size: 0.9rem;
  transition: all var(--transition); letter-spacing: -0.01em;
}
.nav-link:hover { color: var(--text); background: var(--accent-dim); }
.nav-link.active { color: var(--accent); background: var(--accent-dim); }
.nav-link-admin { color: var(--accent) !important; border: 1px solid var(--accent-light); padding: 0.4rem 0.9rem; }
.nav-link-admin:hover { background: var(--accent) !important; color: #fff !important; }
.navbar.on-hero .nav-link-admin { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.9) !important; }
.navbar.on-hero .nav-link-admin:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text);
  transition: all var(--transition); border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--bg-hero);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(27, 27, 31, 0.5) 0%, transparent 80%);
}
.hero-chess-bg {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: repeating-conic-gradient(#fff 0% 25%, transparent 0% 50%);
  background-size: 90px 90px;
  transform: perspective(800px) rotateX(45deg) scale(2.5);
  transform-origin: center 20%;
}
.hero-content {
  position: relative; text-align: center; padding: 2rem;
  animation: fadeInUp 1s ease-out;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201, 168, 76, 0.12); color: var(--accent-light);
  padding: 0.5rem 1.5rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800; line-height: 1.05; margin-bottom: 1.5rem;
  color: #fff;
}
.hero h1 .accent-word { color: var(--accent-light); }
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 auto 3rem; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; color: rgba(255,255,255,0.3);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeInUp 1.5s ease-out 0.5s both;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%; background: rgba(255,255,255,0.5);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: all var(--transition); border: none; font-family: var(--font);
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(139, 105, 20, 0.2);
}
.btn-primary:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.25);
}
.btn-hero {
  background: var(--accent-light); color: var(--bg-hero);
  padding: 1rem 2.25rem; font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}
.btn-hero:hover {
  background: #dbb85c; color: var(--bg-hero);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}
.btn-hero-outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 2.25rem; font-size: 0.95rem;
}
.btn-hero-outline:hover {
  color: #fff; border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; border-radius: var(--radius-xs); }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }

/* === SECTIONS === */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-surface); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 550px; margin: 0 auto;
}
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  margin: 1rem auto 0; border-radius: 2px;
}

/* === NEXT EVENT BAR (top highlight) === */
.next-event-bar {
  background: linear-gradient(90deg, #1b1b1f 0%, #2a2832 50%, #1b1b1f 100%);
  color: #fff; padding: 1.25rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  position: relative; overflow: hidden;
}
.next-event-bar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.next-event-inner {
  display: flex; align-items: center; gap: 1.5rem;
  position: relative;
}
.next-event-icon {
  font-size: 2rem; flex-shrink: 0;
  width: 56px; height: 56px; display: flex;
  align-items: center; justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.next-event-info { flex: 1; min-width: 0; }
.next-event-label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-light);
  font-weight: 600; margin-bottom: 0.2rem;
}
.next-event-title {
  font-size: 1.15rem; font-weight: 700; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.next-event-detail {
  font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 0.1rem;
}
.next-event-countdown {
  flex-shrink: 0; text-align: right;
}
.next-event-countdown-value {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 800; color: var(--accent-light); line-height: 1.2;
}
.next-event-countdown-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}
@media (max-width: 600px) {
  .next-event-inner { flex-wrap: wrap; gap: 1rem; }
  .next-event-countdown { width: 100%; text-align: left; }
}

/* === UPCOMING MATCHES === */
.upcoming-matches-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.upcoming-match-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.upcoming-match-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.upcoming-match-date {
  flex-shrink: 0; text-align: center;
  background: var(--accent-dim); border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem; min-width: 52px;
  border: 1px solid rgba(139, 105, 20, 0.08);
}
.upcoming-match-day {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 800; color: var(--accent); line-height: 1;
}
.upcoming-match-month {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted);
  margin-top: 0.15rem; font-weight: 600;
}
.upcoming-match-teams {
  flex: 1; min-width: 0;
}
.upcoming-match-team {
  font-weight: 600; font-size: 0.95rem;
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; line-height: 1.3;
}
.upcoming-match-vs {
  font-size: 0.7rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 600; margin: 0.15rem 0;
}
.upcoming-match-meta {
  flex-shrink: 0; text-align: right;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.upcoming-match-comp {
  font-size: 0.75rem; color: var(--text-dim);
}
.upcoming-match-score {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 800; color: var(--accent);
}
.upcoming-match-pending {
  font-size: 0.8rem; color: var(--text-dim); font-weight: 500;
  background: var(--bg-surface); padding: 0.15rem 0.6rem;
  border-radius: 50px;
}

/* === EVENTS STRIP (upcoming) === */
.events-strip {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1b1b1f 0%, #2a2a32 100%);
  color: #fff; position: relative; overflow: hidden;
}
.events-strip::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.events-strip .section-header h2 { color: #fff; }
.events-strip .section-header p { color: rgba(255,255,255,0.5); }
.events-strip .section-divider {
  background: linear-gradient(90deg, var(--accent-light), transparent);
}

.events-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.event-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.event-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent-light); border-radius: 0 2px 2px 0;
}
.event-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-2px);
}
.event-date {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.event-date-box {
  background: rgba(201,168,76,0.15);
  border-radius: var(--radius-sm); padding: 0.6rem 0.85rem;
  text-align: center; min-width: 56px;
}
.event-date-day {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 800; color: var(--accent-light); line-height: 1;
}
.event-date-month {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5); margin-top: 0.15rem;
}
.event-date-info { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.event-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: #fff; }
.event-card p { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.event-type-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem; border-radius: 50px;
  margin-bottom: 0.75rem;
}
.event-type-tournament { background: rgba(201,168,76,0.15); color: var(--accent-light); }
.event-type-match { background: rgba(59,130,246,0.15); color: #60a5fa; }
.event-type-training { background: rgba(16,185,129,0.15); color: #34d399; }

/* === CARDS === */
.card-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-image {
  width: 100%; height: 220px; object-fit: cover;
  background: var(--bg-surface);
}
.card-image-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, #e8e6e0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: var(--accent-light); opacity: 0.35;
}
.card-body { padding: 1.75rem; }
.card-category {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 0.75rem;
  background: var(--accent-dim); padding: 0.25rem 0.65rem;
  border-radius: 50px;
}
.card-body h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem;
  line-height: 1.35; color: var(--text); letter-spacing: -0.01em;
}
.card-body p {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.75rem; border-top: 1px solid var(--border-light);
  font-size: 0.8rem; color: var(--text-dim);
}

/* === STATS === */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.about-club-home {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.about-club-lead,
.about-panel,
.about-detail-card,
.about-quote-card,
.about-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.about-club-lead {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.12), transparent 35%),
    linear-gradient(135deg, #201d18 0%, #31281a 100%);
  color: #fff;
  border-color: rgba(201, 168, 76, 0.2);
}
.about-club-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-club-lead h3,
.about-detail-card h2 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.about-club-lead h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.about-club-lead p {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  max-width: 56ch;
}
.about-club-actions { margin-top: 1.5rem; }
.about-club-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.about-panel { padding: 1.25rem; }
.about-panel-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.3rem;
}
.about-panel h4,
.about-timeline-content h4,
.about-side-card h3 {
  font-size: 1.02rem;
  line-height: 1.3;
}
.about-panel p,
.about-timeline-content p,
.about-side-card p,
.about-detail-text p,
.about-quote-card p,
.about-side-list li {
  color: var(--text-muted);
}
.about-timeline {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.about-timeline-item {
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.about-timeline-year {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.page-header-about p { max-width: 760px; }
.page-header-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.about-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
  gap: 1.5rem;
}
.about-detail-main {
  display: grid;
  gap: 1.5rem;
}
.about-detail-card { padding: 2rem; }
.about-detail-card h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}
.about-detail-text {
  display: grid;
  gap: 1rem;
}
.about-detail-text p {
  font-size: 1.02rem;
  line-height: 1.9;
}
.about-quote-card {
  padding: 1.6rem 1.75rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.16), rgba(201, 168, 76, 0.04));
}
.about-quote-mark {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.about-quote-card p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-detail-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.about-side-card { padding: 1.35rem; }
.about-side-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.about-side-list strong { color: var(--text); }
.about-side-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.stat-number {
  font-family: var(--font-display); font-size: 2.75rem;
  font-weight: 800; color: var(--accent); line-height: 1.1;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.35rem; font-weight: 500; }

/* === TABLES === */
.table-wrapper {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-card); box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg-surface); padding: 0.9rem 1.25rem;
  text-align: left; font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
td {
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-surface); }
.result-win { color: var(--success); font-weight: 700; }
.result-draw { color: var(--accent); font-weight: 700; }
.result-loss { color: var(--danger); font-weight: 700; }

/* === ARTICLE DETAIL === */
.article-detail {
  max-width: 760px; margin: 0 auto; padding: 7rem 2rem 4rem;
}
.article-detail h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700; margin-bottom: 1rem; line-height: 1.25;
  letter-spacing: -0.02em;
}
.article-meta {
  display: flex; gap: 1.5rem; color: var(--text-muted);
  font-size: 0.85rem; margin-bottom: 2.5rem; flex-wrap: wrap;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light);
}
.article-featured-image {
  width: 100%; border-radius: var(--radius); margin-bottom: 2.5rem;
  max-height: 480px; object-fit: cover; box-shadow: var(--shadow);
}
.article-content { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.article-content p { margin-bottom: 1.5rem; }
.article-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; font-weight: 700; }
.article-content h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; font-weight: 600; }
.article-content img { border-radius: var(--radius-sm); margin: 2rem 0; box-shadow: var(--shadow-sm); }
.article-content blockquote {
  border-left: 3px solid var(--accent-light); padding: 1rem 1.5rem;
  margin: 2rem 0; color: var(--text-muted);
  background: var(--accent-dim); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* === ARTICLE GAMES SECTION === */
.article-games { border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.article-game-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-light); font-size: 0.95rem; }
.article-game-row:last-child { border-bottom: none; }
.article-game-row:nth-child(even) { background: var(--bg); }
.article-game-row .board-label { font-weight: 700; color: var(--accent); min-width: 1.5rem; }
.article-game-row .players { flex: 1; }
.article-game-row .game-result-label { font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.85rem; background: var(--bg-card); border: 1px solid var(--border-light); min-width: 3rem; text-align: center; }
.lichess-btn { background: #769656; color: white; border: none; padding: 0.3rem 0.75rem; border-radius: 5px; font-size: 0.82rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: opacity .15s; }
.lichess-btn:hover { opacity: .85; }

.article-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.article-gallery img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.article-gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* === LIGHTBOX === */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92); display: none;
  align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); box-shadow: var(--shadow-xl); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1); border: none; color: white;
  font-size: 1.5rem; cursor: pointer; width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* === TEAM === */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.player-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.player-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.player-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent-glow));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem;
  color: var(--accent); font-weight: 700;
  border: 2px solid var(--accent-dim);
}
.player-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; font-weight: 600; }
.player-card .elo {
  color: var(--accent); font-weight: 600; font-size: 0.85rem;
  background: var(--accent-dim); padding: 0.15rem 0.6rem;
  border-radius: 50px; display: inline-block;
}

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); }
.contact-info-card h3 {
  font-size: 0.8rem; color: var(--accent); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
}

/* === PAGINATION === */
.pagination {
  display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem;
}
.pagination button {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  cursor: pointer; font-family: var(--font); transition: all var(--transition);
  font-weight: 500;
}
.pagination button:hover, .pagination button.active {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
}

/* === FILTER BAR === */
.filter-bar {
  display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.5rem 1.25rem;
  border-radius: 50px; cursor: pointer; font-family: var(--font);
  font-size: 0.85rem; font-weight: 500;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
}

/* === MATCH DETAIL === */
.match-header {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; padding: 3rem 0; text-align: center;
}
.match-team { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.match-score {
  font-family: var(--font-display); font-size: 3.5rem;
  color: var(--accent); font-weight: 800; line-height: 1;
}
.match-vs {
  color: var(--text-dim); font-size: 0.85rem; margin-top: 0.5rem;
}
.match-score-divider {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
}

/* === PAGE HEADER === */
.page-header {
  padding: 8rem 0 3rem; text-align: center; position: relative;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg) 100%);
}
.page-header h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; margin-bottom: 0.75rem; position: relative;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--text-muted); font-size: 1.05rem; position: relative;
}

/* === FOOTER === */
.footer {
  background: var(--bg-hero); color: rgba(255,255,255,0.6);
  padding: 5rem 0 0; margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer h3 {
  color: #fff; font-size: 1.1rem; margin-bottom: 1rem; font-weight: 700;
}
.footer h4 {
  color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: rgba(255,255,255,0.45); font-size: 0.9rem; }
.footer ul a:hover { color: var(--accent-light); }
.footer p { font-size: 0.9rem; line-height: 1.6; }
.footer-bottom {
  margin-top: 4rem; padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease-out both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%); opacity: 0;
    transition: all var(--transition); pointer-events: none;
  }
  .navbar.on-hero .nav-links {
    background: rgba(27, 27, 31, 0.98);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-club-home,
  .about-detail-shell { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .match-header { flex-direction: column; gap: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .events-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .about-club-lead,
  .about-detail-card,
  .about-side-card,
  .about-quote-card,
  .about-timeline-item { padding: 1.2rem; }
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center; padding: 4rem 2rem; color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text); font-weight: 600; }

/* === LOADING === */
.loading {
  display: flex; align-items: center; justify-content: center;
  padding: 4rem; color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin-right: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === FORMS (public-facing) === */
select, input[type="text"], input[type="date"], input[type="number"], textarea {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.9rem; width: 100%;
  transition: all var(--transition);
}
select:focus, input:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea { resize: vertical; min-height: 120px; }
label {
  display: block; font-weight: 600; margin-bottom: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.form-group { margin-bottom: 1.25rem; }

/* === TAB NAVIGATION === */
.tabs {
  display: flex; gap: 0.25rem; border-bottom: 2px solid var(--border-light);
  margin-bottom: 2rem; overflow-x: auto;
}
.tab {
  padding: 0.75rem 1.5rem; background: none; border: none;
  color: var(--text-muted); font-family: var(--font);
  font-weight: 500; cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* === BACK LINK === */
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem;
  font-weight: 500;
}
.back-link:hover { color: var(--accent); }
