
/* === START OF index.css === */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ─────────────────────────────────────────
   DESIGN TOKENS — Badminton Sport Colors
   ▸ Court Green + Shuttlecock Yellow + White
───────────────────────────────────────── */
:root {
  /* ── Core Sport Palette ── */
  --green:        #16a34a;   /* BWF court green */
  --green-light:  #22c55e;
  --green-dark:   #14532d;
  --green-vivid:  #4ade80;   /* shuttlecock feather tip */

  --yellow:       #eab308;   /* shuttlecock cork / BWF gold */
  --yellow-light: #fde047;
  --yellow-dark:  #854d0e;

  --shuttle:      #84cc16;   /* lime-yellow: synthetic shuttlecock */
  --shuttle-light:#bef264;

  --primary: var(--green);
  --primary-color: var(--green);
  --primary-light: var(--green-light);
  --primary-hover: var(--green-dark);
  --primary-dark: var(--green-dark);
  --secondary: var(--green);
  --accent: #dc2626;
  --accent-light: #ef4444;
  --primary-rgb: 22, 163, 74;
  --bg-body: var(--bg-main);
  --bg-card-solid: var(--bg-card);

  /* ── Court Lines / Surfaces ── */
  --bg-deep:      #eeeef5;   /* user-defined background */
  --bg-main:      #eeeef5;
  --bg-card:      #ffffff;
  --bg-surface:   #eeeef5;
  --bg-surface-2: #e4e4ef;

  /* ── Text ── */
  --text-primary:   #052e16;  /* deep green-black */
  --text-secondary: #166534;
  --text-muted:     #4b7a5a;

  /* ── Borders ── */
  --border-primary: rgba(22, 163, 74, 0.18);
  --border-subtle:  rgba(22, 163, 74, 0.1);

  /* ── Shadows ── */
  --shadow-sm:   0 1px 4px rgba(22, 163, 74, 0.08);
  --shadow-card: 0 4px 24px rgba(22, 163, 74, 0.1);
  --shadow-lg:   0 12px 48px rgba(22, 163, 74, 0.14);

  /* ── Typography ── */
  --font-heading: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* ── Spacing ── */
  --section-pad: clamp(40px, 5vw, 70px);
  --radius:      10px;
  --radius-lg:   18px;
  --radius-pill: 50px;

  /* ── Transitions ── */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  background: rgba(22, 163, 74, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.section-pad { padding: var(--section-pad) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Primary — Court Green */
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

/* Gold — Shuttlecock Yellow */
.btn-gold {
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
}
.btn-gold:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.35);
}

/* Danger */
.btn-danger {
  background: #dc2626;
  color: white;
}
.btn-danger:hover { background: #b91c1c; transform: translateY(-1px); }

/* Outline */
.btn-outline {
  background: white;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

/* Outline Gold */
.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow-dark);
}
.btn-outline-gold:hover {
  background: var(--yellow);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 163, 74, 0.25);
}

/* ─────────────────────────────────────────
   BADGES
───────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-primary {
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.badge-accent {
  background: rgba(234, 179, 8, 0.12);
  color: var(--yellow-dark);
  border: 1px solid rgba(234, 179, 8, 0.25);
}
.badge-secondary {
  background: rgba(132, 204, 22, 0.12);
  color: #3f6212;
  border: 1px solid rgba(132, 204, 22, 0.25);
}
.badge-blue {
  background: rgba(22, 163, 74, 0.08);
  color: var(--green-dark);
  border: 1px solid rgba(22, 163, 74, 0.15);
}

/* ─────────────────────────────────────────
   FORMS
───────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-primary);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b7a5a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  background-color: var(--bg-surface);
}
.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 4px; }

/* ─────────────────────────────────────────
   DIVIDER
───────────────────────────────────────── */
.divider { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); }

/* ─────────────────────────────────────────
   PAGE HEADER
───────────────────────────────────────── */
.page-header {
  background: var(--green-dark);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-header__stripe {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--green-vivid), var(--yellow), var(--shuttle));
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: white;
  position: relative; z-index: 2;
}
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 0.75rem; position: relative; z-index: 2; }

/* ─────────────────────────────────────────
   GRAIN OVERLAY
───────────────────────────────────────── */
.grain-overlay {
  position: absolute; inset: 0;
  background-image: url("/badminton-grass-scaled.jpg");
  background-size: cover; background-position: center;
  opacity: 0.15; pointer-events: none; z-index: 1;
}

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-ring { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(2); opacity: 0; } }

.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade-in { animation: fadeIn 0.5s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ─────────────────────────────────────────
   UTILITY
───────────────────────────────────────── */
.text-center    { text-align: center; }
.text-secondary { color: var(--green); }
.text-primary   { color: var(--green-light); }
.text-accent    { color: var(--yellow-dark); }
.text-muted     { color: var(--text-muted); }
.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.gap-1  { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mt-1   { margin-top: 0.5rem; } .mt-2  { margin-top: 1rem; }
.mt-3   { margin-top: 1.5rem; } .mt-4  { margin-top: 2rem; }
.mb-0   { margin-bottom: 0; }
.fw-bold { font-weight: 700; }
.w-full  { width: 100%; }

/* ─────────────────────────────────────────
   PAGE TRANSITION
───────────────────────────────────────── */
.page-enter { animation: fadeInUp 0.5s ease both; }



/* === END OF index.css === */

/* === START OF components/Navbar.css === */
/* ═══════════════════════════════════════════════
   NAVBAR — FUTURISTIC SPORT DESIGN
   Glassmorphism + Neon Green + Scan Lines
═══════════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes scanline {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes logoRing {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(22, 163, 74,0.3); }
  50%       { box-shadow: 0 0 20px rgba(22, 163, 74,0.6); }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shine {
  0%   { left: -80%; }
  100% { left: 150%; }
}
@keyframes ctaBorderSpin {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ── Base ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(22, 163, 74, 0.15);
  overflow: visible;
}

/* Scan line — futuristic sweep */
.navbar__scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(22, 163, 74, 0.06) 50%,
    transparent 100%
  );
  pointer-events: none;
  animation: scanline 5s ease-in-out infinite;
  z-index: 0;
}

.navbar--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px) saturate(200%);
  box-shadow:
    0 4px 30px rgba(22, 163, 74, 0.08),
    inset 0 -1px 0 rgba(22, 163, 74, 0.2);
  border-bottom-color: rgba(22, 163, 74, 0.25);
}

/* ── Bottom accent bar ── */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--green-vivid) 20%,
    var(--yellow) 50%,
    var(--green) 80%,
    transparent 100%
  );
  opacity: 0.7;
}

/* ── Inner ── */
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
  position: relative;
  z-index: 2;
}

/* ═══ BRAND ═══ */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar__logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.navbar__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(22, 163, 74, 0.3));
  transition: filter 0.3s ease;
}

.navbar__brand:hover .navbar__logo {
  filter: drop-shadow(0 0 12px rgba(22, 163, 74, 0.6));
}

.navbar__logo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 163, 74, 0.5);
  animation: logoRing 2.5s ease-out infinite;
  z-index: 1;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.navbar__brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.08em;
}

.navbar__brand-accent {
  color: var(--green);
  text-shadow: 0 0 12px rgba(22, 163, 74, 0.4);
}

.navbar__brand-sub {
  font-size: 0.56rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ═══ NAV LINKS ═══ */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.navbar__item {
  position: relative;
}

.navbar__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

/* Futuristic hover glow layer */
.navbar__link-glow {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: radial-gradient(ellipse at center, rgba(22, 163, 74,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.navbar__link:hover .navbar__link-glow { opacity: 1; }

.navbar__link:hover {
  color: var(--green-dark);
}

.navbar__chevron {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.navbar__item:hover .navbar__chevron {
  transform: rotate(180deg);
  color: var(--green);
}

/* Active state — neon underline */
.navbar__link--active {
  color: var(--green) !important;
  font-weight: 700;
}

.navbar__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-vivid), var(--yellow));
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
}

/* ═══ DROPDOWN ═══ */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
}

.navbar__dropdown-inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 14px;
  padding: 8px;
  min-width: 200px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(22, 163, 74, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  animation: dropIn 0.2s ease both;
  position: relative;
}

/* Glowing top edge */
.navbar__dropdown-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  border-radius: 1px;
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.18s ease;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  animation: dropIn 0.2s ease both;
}

.navbar__dropdown-item:hover {
  background: rgba(22, 163, 74, 0.07);
  color: var(--green-dark);
  padding-left: 20px;
}

.navbar__dropdown-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-vivid);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  transition: transform 0.2s;
}

.navbar__dropdown-item:hover .navbar__dropdown-dot {
  transform: scale(1.5);
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.6);
}

/* Triangle pointer */
.navbar__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-bottom: none;
  border-right: none;
  border-radius: 2px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
}

/* ═══ CTA BUTTON ═══ */
.navbar__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.04em;
  color: white;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-pill);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 4px 15px rgba(22, 163, 74, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Shine sweep */
.navbar__cta-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-15deg);
  animation: shine 3s ease infinite;
  pointer-events: none;
}

.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(22, 163, 74, 0.4),
    0 0 0 1px rgba(22, 163, 74, 0.3);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

/* ═══ BURGER ═══ */
.navbar__burger {
  display: none;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: auto;
}

.navbar__burger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--green-dark);
  transition: all 0.2s ease;
}

.navbar__burger:hover .navbar__burger-icon {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.4);
}

/* ═══ MOBILE MENU ═══ */
.navbar__mobile {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(22, 163, 74, 0.12);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
}

.navbar__mobile--open {
  max-height: 750px;
}

.navbar__mobile-inner {
  padding: 12px 0 20px;
}

.navbar__mobile-item {
  padding: 0 20px;
}

.navbar__mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(22, 163, 74, 0.07);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.navbar__mobile-link:hover,
.navbar__mobile-link--active {
  color: var(--green);
}

.navbar__mobile-link--active .navbar__mobile-dot {
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.6);
}

.navbar__mobile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-vivid);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
  flex-shrink: 0;
}

.navbar__mobile-chevron {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.navbar__mobile-chevron.open {
  transform: rotate(180deg);
  color: var(--green);
}

.navbar__mobile-children {
  padding: 4px 20px 8px 36px;
  background: rgba(22, 163, 74, 0.02);
}

.navbar__mobile-child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(22, 163, 74, 0.05);
}

.navbar__mobile-child:last-child { border-bottom: none; }

.navbar__mobile-child:hover { color: var(--green); }

.navbar__mobile-child-dash {
  color: var(--green-vivid);
  font-size: 0.7rem;
  opacity: 0.6;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1150px) {
  .navbar__nav   { display: none; }
  .navbar__cta   { display: none; }
  .navbar__burger { display: flex; }
  .navbar__mobile { display: flex; }
}

@media (max-width: 480px) {
  .navbar__brand-sub { display: none; }
  .navbar__inner { height: 60px; }
}


/* === END OF components/Navbar.css === */

/* === START OF components/Footer.css === */
/* ─── FOOTER — Badminton Sport ─── */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Court line pattern */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer__accent-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--green-vivid) 0%, var(--yellow) 40%, var(--shuttle) 70%, var(--green-vivid) 100%);
}

.footer__top {
    padding: 70px 0 50px;
    position: relative; z-index: 2;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 3rem;
}

.footer__logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }

.footer__logo { width: 50px; height: 50px; object-fit: contain; }

.footer__brand-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem; font-weight: 600;
    color: white; letter-spacing: 0.08em;
}

.footer__brand-sub {
    font-size: 0.62rem;
    color: var(--yellow-light);
    text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; margin-top: 2px;
}

.footer__desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem; line-height: 1.75; margin-bottom: 2rem;
}

.footer__social { display: flex; gap: 10px; }

.footer__social-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    transition: all 0.3s ease;
}
.footer__social-link:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--green-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.4);
}

/* Columns */
.footer__col-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white; margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 8px;
}
.footer__col-title::after {
    content: ''; height: 1px; flex: 1;
    background: linear-gradient(90deg, var(--yellow) 0%, transparent 100%);
    opacity: 0.4;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.55); font-size: 0.9rem;
    transition: all 0.22s ease; text-decoration: none;
}
.footer__link::before {
    content: '›'; color: var(--yellow-light); font-size: 1.1rem; font-weight: bold;
    opacity: 0; transform: translateX(-8px); transition: all 0.22s ease;
}
.footer__link:hover { color: white; transform: translateX(4px); }
.footer__link:hover::before { opacity: 1; transform: translateX(0); }

/* Contact */
.footer__contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2rem; }
.footer__contact li {
    display: flex; align-items: flex-start; gap: 10px;
    color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.5;
}
.footer__contact li svg { color: var(--yellow-light); flex-shrink: 0; margin-top: 2px; }

/* Newsletter */
.footer__newsletter p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }

.footer__newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-pill); padding: 4px;
    transition: all 0.3s ease;
}
.footer__newsletter-form:focus-within {
    border-color: var(--yellow-light);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.15);
}
.footer__newsletter-form .form-control {
    flex: 1; padding: 10px 16px; font-size: 0.88rem;
    background: transparent; border: none; color: white; box-shadow: none !important;
}
.footer__newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.3); }
.footer__newsletter-form .btn { border-radius: var(--radius-pill); padding: 9px 20px; }

/* Bottom */
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; position: relative; z-index: 2; }
.footer__bottom .container--wide {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer__bottom p { color: rgba(255,255,255,0.4); font-size: 0.84rem; }
.footer__bottom-links { display: flex; gap: 2rem; }
.footer__bottom-links a { color: rgba(255,255,255,0.45); font-size: 0.84rem; font-weight: 500; transition: color 0.2s; }
.footer__bottom-links a:hover { color: var(--yellow-light); }

@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer__grid { grid-template-columns: 1fr; } .footer__top { padding: 50px 0 30px; } }


/* === END OF components/Footer.css === */

/* === START OF pages/About.css === */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 0;
}

.mv-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid;
}

.mv-card--primary {
    background: rgba(29, 78, 216, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.mv-card--secondary {
    background: rgba(8, 145, 178, 0.06);
    border-color: rgba(8, 145, 178, 0.25);
}

.mv-card--accent {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}

.mv-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mv-card--primary .mv-card__icon {
    background: rgba(59, 130, 246, 0.25);
    color: var(--primary-light);
}

.mv-card--secondary .mv-card__icon {
    background: rgba(8, 145, 178, 0.15);
    color: var(--secondary);
}

.mv-card--accent .mv-card__icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-light);
}

.mv-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mv-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Timeline */
.about__history {
    background: var(--bg-main);
}

.timeline {
    position: relative;
    margin-top: 3rem;
    padding: 0 0 2rem;
}

.timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-primary);
    transform: translateX(-50%);
}

.timeline__item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline__item--left {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline__item--right {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline__content {
    padding: 1rem 1.25rem;
    max-width: 340px;
    width: 100%;
}

.timeline__year {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.timeline__event {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--bg-main);
    z-index: 1;
}

/* Bureau */
.bureau-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bureau-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.bureau-card:hover {
    transform: translateY(-4px);
}

.bureau-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 1rem;
}

.bureau-card__name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.bureau-card__role {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.bureau-card__region {
    font-size: 0.8rem;
}

/* Commissions */
.commission-card {
    padding: 1.75rem;
    text-align: center;
}

.commission-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(29, 78, 216, 0.2);
    border: 1px solid rgba(29, 78, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin: 0 auto 1rem;
}

.commission-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.commission-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

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

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

    .timeline__line {
        left: 20px;
    }

    .timeline__item--left,
    .timeline__item--right {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline__dot {
        left: 20px;
    }
}

@media (max-width: 600px) {
    .bureau-grid {
        grid-template-columns: 1fr;
    }
}



/* === END OF pages/About.css === */

/* === START OF pages/Clubs.css === */
/* Clubs.css — Badminton Sport */
.clubs-page { min-height: 100vh; }

.clubs-filters {
    padding: 1.5rem; margin-bottom: 2rem;
    background: white; border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
}
.clubs-filters__row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.clubs-filters__count { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; }

.news-search { position: relative; display: flex; align-items: center; }
.news-search__icon { position: absolute; left: 14px; color: var(--text-muted); pointer-events: none; }
.news-search__input { padding-left: 42px; }

.clubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.club-card { padding: 1.5rem; }

.club-card__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }

.club-card__avatar {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--green); display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 800;
    color: white; flex-shrink: 0; letter-spacing: 0.04em;
}

.club-card__name { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.club-card__loc { display: flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 0.8rem; }
.club-card__level { font-size: 0.65rem; margin-left: auto; flex-shrink: 0; }

.club-card__stats {
    display: flex; gap: 1.5rem; padding: 0.75rem 0;
    border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}
.club-card__stat { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.75rem; color: var(--text-muted); }
.club-card__stat span:first-child { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; line-height: 1; color: var(--green-dark); }

.club-card__contact { display: flex; flex-direction: column; gap: 6px; }
.club-card__contact p { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.club-card__contact a { color: var(--green); }
.club-card__contact a:hover { text-decoration: underline; }

@media (max-width: 768px) { .clubs-filters__row { flex-direction: column; } .clubs-grid { grid-template-columns: 1fr; } }


/* === END OF pages/Clubs.css === */

/* === START OF pages/Contact.css === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    align-items: start;
}

/* Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info__cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info__card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(29, 78, 216, 0.2);
    border: 1px solid rgba(29, 78, 216, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-info__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info__line {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Social */
.contact-social {
    padding: 1.25rem;
    margin-top: 2rem;
}

.contact-social__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-social__links {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.contact-social__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-social__link:hover {
    background: rgba(29, 78, 216, 0.15);
    color: var(--primary-light);
    padding-left: 16px;
}

/* Map */
.contact-map {
    overflow: hidden;
    margin-top: 2rem;
}

.contact-map__inner {
    height: 460px;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

/* Form */
.contact-form {
    padding: 2rem;
}

.contact-form__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-control--error {
    border-color: var(--accent) !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

.contact-form__btn--loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success */
.contact-success {
    padding: 3rem 2rem;
    text-align: center;
}

.contact-success__icon {
    margin: 0 auto 1.25rem;
    color: var(--primary-light);
}

.contact-success h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.25rem;
    }
}



/* === END OF pages/Contact.css === */

/* === START OF pages/Documents.css === */
.docs-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .docs-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.docs-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.docs-search svg {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.docs-search input {
    padding-left: 2.75rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.docs-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.docs-filter-btn {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-primary);
    background: white;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.docs-filter-btn:hover {
    background: var(--bg-surface);
    border-color: var(--primary-light);
}

.docs-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.doc-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-card__content {
    flex: 1;
}

.docs-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.65rem;
}

.doc-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.doc-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.doc-card__download {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.doc-card__download svg {
    margin: 0;
}

.docs-empty {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    background: white;
    border: 1px dashed var(--border-primary);
    border-radius: var(--radius-lg);
}

.docs-empty svg {
    display: block;
}



/* === END OF pages/Documents.css === */

/* === START OF pages/Events.css === */
/* Events.css — Badminton Sport */
.events-page { min-height: 100vh; }

.events-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; border-bottom: 2px solid var(--border-primary); padding-bottom: 1rem; }
.events-tab { padding: 9px 22px; border-radius: var(--radius-pill); font-size: 0.88rem; font-weight: 600; color: var(--text-muted); background: transparent; border: 1.5px solid transparent; cursor: pointer; transition: var(--transition); }
.events-tab:hover { color: var(--green); background: var(--bg-surface); border-color: var(--border-primary); }
.events-tab--active { background: var(--green); color: white; border-color: var(--green); box-shadow: 0 4px 12px rgba(22, 163, 74,0.2); }

.events-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.event-card { border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); border-left: 4px solid var(--green); }
.event-card__header { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; flex-wrap: wrap; }
.event-card__date-col { flex-shrink: 0; }
.event-card__date-box { width: 68px; height: 68px; background: var(--green); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-item__day { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 900; color: white; line-height: 1; }
.event-item__month { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; text-transform: uppercase; }
.event-card__main { flex: 1; }
.event-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.5rem; }
.event-card__title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.event-card__meta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.event-card__meta span { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--text-muted); }
.event-card__actions { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.event-card__body { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); }
.event-card__desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.event-card__cats { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 0.75rem; }
.event-card__cats strong { font-size: 0.82rem; color: var(--text-muted); }
.event-card__contact { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.event-card__contact a { color: var(--green); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1rem; }
.modal { background: white; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); max-width: 460px; width: 100%; box-shadow: var(--shadow-lg); }
.modal__header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border-subtle); border-top: 4px solid var(--green); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal__header h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); }
.modal__close { color: var(--text-muted); transition: color 0.2s; }
.modal__close:hover { color: var(--text-primary); }
.modal__body { padding: 1.5rem; }
.modal__success { padding: 2.5rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.modal__success-icon { font-size: 3rem; }
.modal__success h4 { font-size: 1.15rem; font-weight: 600; }
.modal__success p { color: var(--text-muted); font-size: 0.88rem; }

@media (max-width: 640px) { .event-card__header { flex-direction: column; align-items: flex-start; } .event-card__actions { width: 100%; } }


/* === END OF pages/Events.css === */

/* === START OF pages/Gallery.css === */
/* Gallery.css — Badminton Sport */
.gallery-page { min-height: 100vh; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }

.gallery-item {
    background: none; border: none; padding: 0; cursor: pointer;
    border-radius: var(--radius-lg); overflow: hidden;
    position: relative; text-align: left; transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); }

.gallery-item__img {
    position: relative; aspect-ratio: 4/3; width: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-primary); box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover .gallery-item__img img { transform: scale(1.08); }
.gallery-item__emoji { font-size: 3.5rem; z-index: 1; position: relative; }

.gallery-item__overlay {
    position: absolute; inset: 0;
    background: rgba(20, 83, 45, 0.8);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.5rem; color: white; font-size: 0.85rem; font-weight: 600;
    opacity: 0; transition: opacity 0.3s; z-index: 2;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__caption { padding: 0.75rem 0.25rem; display: flex; flex-direction: column; gap: 4px; }
.gallery-item__caption p { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(20, 83, 45, 0.92);
    backdrop-filter: blur(12px); z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox__close {
    position: absolute; top: 20px; right: 20px;
    color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2); width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; z-index: 10;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); color: white; }

.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8); width: 50px; height: 50px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; z-index: 10;
}
.lightbox__nav:hover { background: var(--yellow); color: var(--green-dark); border-color: var(--yellow); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__content { max-width: 800px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.lightbox__img { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 2px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lightbox__img img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__emoji { font-size: 5rem; }
.lightbox__info { text-align: center; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.lightbox__title { font-size: 1.1rem; font-weight: 600; color: white; }
.lightbox__counter { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }


/* === END OF pages/Gallery.css === */

/* === START OF pages/Home.css === */
/* ─── HOME — Badminton Sport Colors ─── */

/* ──── HERO SLIDER ──── */
.hero-slider {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: var(--green-dark);
}

/* Net/court grid effect */
.hero-slider::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1; display: flex; align-items: flex-end;
    padding-top: 88px; /* Clearance for fixed Navbar (68px + 20px gap) */
    box-sizing: border-box;
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: 1; transform: scale(1.05);
    transition: transform 6s ease-out;
}
.hero-slide.active .hero-slide__bg { transform: scale(1); }

.hero-slide__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 83, 45, 0.92) 0%, rgba(20, 83, 45, 0.72) 55%, rgba(20, 83, 45, 0.3) 100%),
        linear-gradient(0deg, rgba(20, 83, 45, 0.95) 0%, transparent 50%);
    z-index: 2;
}

.hero__bg {
    position: absolute; inset: 0;
    background: var(--green-dark); z-index: 0;
}

/* Yellow side accent stripe */
.hero__stripe {
    position: absolute; right: 0; top: 0;
    width: 6px; height: 100%;
    background: linear-gradient(180deg, var(--yellow), var(--shuttle), var(--green-vivid));
    z-index: 5; pointer-events: none;
}

.hero__content {
    position: relative; z-index: 10;
    width: 100%; max-width: 700px;
    margin: 0 5%;
    padding-bottom: clamp(80px, 12vh, 130px);
}

.hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--yellow-light); margin-bottom: 1.5rem;
}

.hero__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 600; line-height: 1.05;
    color: white; margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero__title-accent {
    color: var(--yellow);
    position: relative; display: inline-block;
}

.hero__title-accent::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--shuttle));
    border-radius: 2px;
}

.hero__subtitle {
    color: rgba(255,255,255,0.72);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.75; margin-bottom: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Slider controls */
.hero-slider__controls {
    position: absolute; bottom: 40px; right: 40px;
    display: flex; gap: 0.75rem; z-index: 100;
}

.hero-slider__btn {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; transition: all 0.25s ease;
}
.hero-slider__btn:hover {
    background: var(--yellow); border-color: var(--yellow);
    color: var(--green-dark); transform: scale(1.1);
}

.hero-slider__dots {
    position: absolute; bottom: 52px; left: 50px;
    display: flex; gap: 0.5rem; z-index: 100;
}
.hero-slider__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; cursor: pointer; transition: all 0.3s; padding: 0;
}
.hero-slider__dot.active {
    background: var(--yellow);
    width: 28px; border-radius: 5px;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.5);
}

.hero__logo-wrap {
    position: absolute; right: clamp(5%, 10%, 160px);
    top: 50%; transform: translateY(-50%); z-index: 5;
}
.hero__logo {
    width: clamp(160px, 18vw, 240px); height: clamp(160px, 18vw, 240px);
    object-fit: contain; animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 8px 32px rgba(234, 179, 8, 0.2));
}
.hero__logo-ring {
    position: absolute; inset: -20px; border-radius: 50%;
    border: 1px solid rgba(234, 179, 8, 0.35);
    animation: pulse-ring 3.5s ease-out infinite;
}

.hero__scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; }
.hero__scroll-hint span {
    display: block; width: 2px; height: 44px;
    background: linear-gradient(to bottom, transparent, var(--yellow-light));
    animation: fadeInUp 2s ease infinite;
}

/* ──── STATS ──── */
.stats { background: white; border-bottom: 1px solid var(--border-subtle); }

.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat-card {
    text-align: center; padding: 2.5rem 1.5rem;
    border-right: 1px solid var(--border-subtle);
    transition: var(--transition);
    background: white; position: relative; overflow: hidden;
    border-radius: 0; box-shadow: none;
    border-top: none; border-bottom: none; border-left: none;
}
.stat-card:last-child { border-right: none; }

.stat-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--green), var(--yellow));
    opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { background: var(--bg-surface); }

.stat-card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(22, 163, 74, 0.08);
    border: 1.5px solid rgba(22, 163, 74, 0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem; color: var(--green);
    transition: var(--transition);
}
.stat-card:hover .stat-card__icon {
    background: var(--green); color: white; border-color: var(--green);
}

.stat-card__val {
    font-family: 'Syne', sans-serif; font-size: 2.8rem; font-weight: 900;
    color: var(--green-dark); line-height: 1; margin-bottom: 0.4rem;
}
.stat-card__label { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* ──── SECTION HEADER ──── */
.section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}

/* ──── NEWS ──── */
.news-mag-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 992px) { .news-mag-layout { grid-template-columns: 1.5fr 1fr; } }

.news-mag-hero {
    display: flex; flex-direction: column; text-decoration: none;
    overflow: hidden; position: relative; border-radius: var(--radius-lg);
}
.news-mag-hero__img {
    position: relative; aspect-ratio: 16/9; width: 100%; overflow: hidden;
}
.news-mag-hero__img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.news-mag-hero:hover .news-mag-hero__img img { transform: scale(1.05); }
.news-mag-hero__img .placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.25);
}
.news-mag-hero__content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(20, 83, 45, 0.97) 0%, rgba(20, 83, 45, 0.6) 60%, transparent 100%);
    color: white; z-index: 10;
}
.news-mag-hero__content h3 {
    font-family: 'Syne', sans-serif; font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600; line-height: 1.2; margin: 0.75rem 0; color: white;
}
.news-mag-hero__content p {
    font-size: 0.92rem; color: rgba(255,255,255,0.72);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.75rem;
}
.news-mag__date {
    font-size: 0.78rem; color: var(--green-light); font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.news-mag-hero__content .news-mag__date { color: rgba(255,255,255,0.55); }

.news-mag-side { display: flex; flex-direction: column; gap: 1rem; }
.news-side-item {
    display: flex; gap: 1rem; text-decoration: none;
    align-items: center; padding: 1rem;
    border-radius: var(--radius); background: white;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.news-side-item:hover {
    border-color: rgba(22, 163, 74, 0.25); box-shadow: var(--shadow-card);
    transform: translateX(3px);
}

.news-side-item__img {
    width: 90px; height: 80px; flex-shrink: 0;
    border-radius: 8px; overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}
.news-side-item__img img { width: 100%; height: 100%; object-fit: cover; }
.news-side-item__img .placeholder {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; color: rgba(255,255,255,0.25);
}
.news-side-item__content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-side-badge { align-self: flex-start; margin-bottom: 0.4rem; font-size: 0.62rem; padding: 3px 8px; }
.news-side-item__content h4 {
    font-size: 0.92rem; font-weight: 600; color: var(--text-primary);
    line-height: 1.35; margin-bottom: 0.4rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ──── EVENTS ──── */
.events-section { background: var(--bg-surface); }
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-item {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: white; border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.event-item:hover {
    border-left-color: var(--yellow);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.event-item__date-box {
    flex-shrink: 0; width: 62px; height: 62px;
    background: var(--green); border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.event-item__day { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 900; color: white; line-height: 1; }
.event-item__month { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }

.event-item__info { flex: 1; }
.event-item__meta { display: flex; gap: 8px; margin-bottom: 0.4rem; flex-wrap: wrap; }
.event-item__name { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text-primary); }
.event-item__loc { display: flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 0.83rem; }

.event-item__countdown { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.event-item__live { font-weight: 700; color: #dc2626; font-size: 0.82rem; animation: fadeIn 1s ease infinite alternate; letter-spacing: 0.06em; }

/* Countdown */
.countdown { display: flex; align-items: center; gap: 4px; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; }
.countdown__val {
    font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
    color: var(--green-dark); background: rgba(22, 163, 74, 0.08);
    border: 1px solid var(--border-primary); border-radius: 6px;
    padding: 3px 8px; min-width: 34px; text-align: center;
}
.countdown__label { font-size: 0.6rem; color: var(--text-muted); margin-top: 2px; }
.countdown__sep { color: var(--green); font-weight: 900; margin-bottom: 10px; }

/* ──── RANKINGS ──── */
.rankings-section { background: white; }
.rankings-table-wrap { overflow-x: auto; padding: 0; }
.rankings-table { width: 100%; border-collapse: collapse; }
.rankings-table th {
    padding: 14px 20px; text-align: left;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); background: var(--bg-surface);
    border-bottom: 2px solid var(--green);
}
.rankings-table td {
    padding: 14px 20px; font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle; color: var(--text-secondary);
}
.rankings-table tr:last-child td { border-bottom: none; }
.rankings-table tr:hover td { background: var(--bg-surface); }
.rankings-table__gold td { background: rgba(234, 179, 8, 0.05); }
.rankings-table__player {
    display: flex !important; align-items: center; gap: 10px;
    font-weight: 600; color: var(--text-primary) !important;
}
.player-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: white; flex-shrink: 0;
}
.rank-badge { font-size: 1rem; }

/* ──── PARTNERS ──── */
.partners-section { background: var(--bg-surface); }
.partners-grid { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 1rem 0; }
.partner-card {
    height: 160px; width: 160px;
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: all 0.3s ease;
    border: 1.5px solid var(--border-subtle);
    filter: grayscale(50%) opacity(0.7);
}
.partner-card:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
}
.partner-card img { max-height: 100%; max-width: 130px; object-fit: contain; }

/* ──── CTA ──── */
.cta-section { padding: 70px 0; background: var(--bg-deep); }
.cta-banner {
    background: var(--green-dark);
    padding: clamp(2.5rem, 5vw, 4rem);
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
    border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(22, 163, 74, 0.2);
}
.cta-banner::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--green-vivid), var(--yellow), var(--shuttle));
}
.cta-banner__content h2 {
    font-family: 'Syne', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600; color: white; margin-bottom: 0.6rem; letter-spacing: -0.02em;
}
.cta-banner__content p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.cta-banner__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ──── RESPONSIVE ──── */
@media (max-width: 1024px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { border-right: none; border-bottom: 1px solid var(--border-subtle); }
    .hero__logo-wrap { display: none; }
    .hero__stripe { display: none; }
}
@media (max-width: 768px) {
    .event-item { flex-wrap: wrap; }
    .event-item__countdown { width: 100%; flex-direction: row; justify-content: space-between; }
    .hero-slider__dots { left: 20px; bottom: 38px; }
    .hero-slider__controls { right: 16px; bottom: 26px; }
    .hero-slide { padding-top: 76px; } /* Mobile navbar is 60px */
    .hero__content { margin: 0; padding: 0 16px clamp(60px, 10vh, 90px); }
    .cta-banner { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 2.2rem; }
}

/* Viewport height rules to prevent content overlap on short screens */
@media (max-height: 800px) {
    .hero__content {
        padding-bottom: clamp(50px, 8vh, 80px) !important;
    }
    .hero__title {
        font-size: clamp(2rem, 5vw, 3.2rem) !important;
        margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem) !important;
    }
    .hero__badge {
        margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem) !important;
        padding: 5px 14px !important;
    }
    .hero__subtitle {
        margin-bottom: clamp(1rem, 2vh, 1.75rem) !important;
        -webkit-line-clamp: 2 !important;
    }
    .hero-slider__dots {
        bottom: 28px !important;
    }
    .hero-slider__controls {
        bottom: 20px !important;
    }
}

@media (max-height: 600px) {
    .hero-slide {
        padding-top: 70px !important;
    }
    .hero__content {
        padding-bottom: 40px !important;
    }
    .hero__title {
        font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
        margin-bottom: 0.5rem !important;
    }
    .hero__subtitle {
        margin-bottom: 0.75rem !important;
        font-size: 0.95rem !important;
        -webkit-line-clamp: 2 !important;
    }
    .hero__badge {
        display: none !important; /* Hide badge on extremely short screens to save space */
    }
}


/* === END OF pages/Home.css === */

/* === START OF pages/News.css === */
/* News.css — Badminton Sport */
.news-page { min-height: 100vh; }

.news-filters { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.news-search { position: relative; display: flex; align-items: center; max-width: 480px; }
.news-search__icon { position: absolute; left: 14px; color: var(--text-muted); pointer-events: none; }
.news-search__input { padding-left: 42px !important; }
.news-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.news-cat-btn {
    padding: 7px 16px; border-radius: var(--radius-pill);
    font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
    background: white; border: 1.5px solid var(--border-primary);
    transition: var(--transition); cursor: pointer;
}
.news-cat-btn:hover { color: var(--green); border-color: var(--green); }
.news-cat-btn--active { background: var(--green); color: white; border-color: var(--green); }

.news-featured { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.featured-card { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; }
.featured-card--main { grid-row: span 2; }
.featured-card__img {
    position: relative; flex: 1; min-height: 200px;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    display: flex; align-items: center; justify-content: center;
}
.featured-card--main .featured-card__img { min-height: 320px; }
.featured-card__img-placeholder { color: rgba(255,255,255,0.2); }
.featured-card__cat { position: absolute; bottom: 12px; left: 12px; }
.featured-card__featured-label { position: absolute; top: 12px; right: 12px; }
.featured-card__body { padding: 1.25rem; }
.news-card__date { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 4px; }
.featured-card__title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.4; }
.featured-card--main .featured-card__title { font-size: 1.4rem; }
.featured-card__excerpt { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.75rem; }
.news-card__read { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 0.82rem; font-weight: 600; transition: gap 0.2s; }
.news-card:hover .news-card__read, .featured-card:hover .news-card__read { gap: 8px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.news-card { display: flex; flex-direction: column; text-decoration: none; }
.news-card__img { position: relative; height: 180px; overflow: hidden; background: var(--bg-surface); }
.news-card__img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.2);
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}
.news-card__cat { position: absolute; top: 12px; left: 12px; }
.news-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card__title { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.6rem; line-height: 1.4; flex: 1; }
.news-card__excerpt { color: var(--text-muted); font-size: 0.83rem; line-height: 1.6; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { text-align: center; padding: 4rem; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 1rem; }

@media (max-width: 768px) { .news-featured { grid-template-columns: 1fr; } .featured-card--main { grid-row: auto; } }


/* === END OF pages/News.css === */

/* === START OF pages/NewsDetail.css === */


.news-detail-page {
    padding-top: 100px;
    padding-bottom: 60px;
    background-color: var(--bg-body);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (min-width: 992px) {
    .news-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 2.5rem;
    }
}


.news-header-left {
    margin-bottom: 1.5rem;
}

.news-detail-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 1rem 0;
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-share-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
}

.news-share-row span {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.news-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.news-hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-card-solid));
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.2);
}

/* WordPress-like content styling */
.wp-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.wp-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.wp-content h2, .wp-content h3, .wp-content h4 {
    color: var(--text-primary);
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 600;
}

.wp-content h2 { font-size: 1.8rem; }
.wp-content h3 { font-size: 1.4rem; }

.wp-content ul, .wp-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.wp-content li {
    margin-bottom: 0.5em;
}

.wp-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.wp-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.wp-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.wp-content a:hover {
    color: var(--primary-hover);
}

/* Sidebar Styling */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.sidebar-widget-header {
    background: var(--primary-color);
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
}

.sidebar-list-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px dashed var(--border-primary);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.sidebar-list-item:last-child {
    border-bottom: none;
}

.sidebar-list-item:hover {
    background: var(--bg-surface);
}

.sidebar-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--bg-surface);
    flex-shrink: 0;
}

.sidebar-item-content {
    flex: 1;
    min-width: 0;
}

.sidebar-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

/* Article Gallery */
.news-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-primary);
}

.news-gallery h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.news-gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-surface);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.news-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Comment Form */
.news-comment-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-primary);
}

.news-comment-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.comment-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
}

.comment-form .form-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.comment-notice {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* LightGallery Integration */
.lg-container {
    width: 100%;
}

.lg-container.news-gallery-grid .lg-item {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.lg-container .lg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero Image LightGallery */
.lg-container.lg-container:not(.news-gallery-grid) {
    display: block;
    width: 100%;
}

.lg-container:not(.news-gallery-grid) .lg-item {
    text-decoration: none;
    display: block;
    width: 100%;
}

.lg-container:not(.news-gallery-grid) .lg-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure proper z-index for lightgallery modal */
.lg-backdrop {
    z-index: 1040 !important;
}

.lg {
    z-index: 1041 !important;
}

.lg-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-item.news-gallery-item {
    display: block !important;
}


/* === END OF pages/NewsDetail.css === */

/* === START OF pages/Players.css === */
/* Players.css — Badminton Sport */
.players-page { min-height: 100vh; }

.players-controls { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 2rem; }
.players-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.news-cat-btn {
    padding: 7px 16px; border-radius: var(--radius-pill);
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-secondary); background: white;
    border: 1.5px solid var(--border-primary);
    transition: var(--transition); cursor: pointer;
}
.news-cat-btn:hover { color: var(--green); border-color: var(--green); background: var(--bg-surface); }
.news-cat-btn--active { background: var(--green); color: white; border-color: var(--green); box-shadow: 0 4px 12px rgba(22, 163, 74,0.25); }

.players-section { margin-bottom: 3rem; }
.players-section__title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--text-primary); }

.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }

.player-card { padding: 1.5rem; border-top: 4px solid var(--green); }

.player-card__rank { position: absolute; top: 1rem; right: 1rem; }
.player-card__medal { font-size: 1.4rem; }

.player-card__avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--green); display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
    color: white; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(22, 163, 74,0.3);
}

.player-card__info { margin-bottom: 1rem; }
.player-card__name { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.player-card__club { font-size: 0.85rem; color: var(--green); font-weight: 600; margin-bottom: 0.2rem; }
.player-card__province { font-size: 0.78rem; }

.player-card__stats { display: flex; gap: 1rem; border-top: 1px solid var(--border-subtle); padding-top: 1rem; }
.player-card__stat { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 2px; }
.player-card__stat-val { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 900; line-height: 1; color: var(--green-dark); }
.player-card__stat-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.player-card__cat { margin-top: 0.75rem; }

@media (max-width: 768px) { .players-controls { flex-direction: column; } .players-grid { grid-template-columns: 1fr; } }


/* === END OF pages/Players.css === */

/* === START OF pages/Statuts.css === */
.statuts-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 4rem;
}

.statuts-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 100px; /* Below navbar */
}

.statuts-sidebar__inner {
    padding: 1.5rem;
}

.statuts-sidebar__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.statuts-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.statuts-nav button {
    background: none;
    border: none;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.statuts-nav button:hover {
    background: var(--bg-surface);
    color: var(--primary-color);
}

.statuts-content {
    flex: 1;
    padding: 3rem;
}

.statuts-header-doc {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.statuts-header-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.statuts-header-doc h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.statuts-body {
    color: var(--text-secondary);
    line-height: 1.7;
}

.statuts-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.statuts-titre {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.statuts-chapitre {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.statuts-body p {
    margin-bottom: 1rem;
}

.statuts-body strong {
    color: var(--text-main);
    font-weight: 600;
}

.statuts-list {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.statuts-list li {
    position: relative;
    margin-bottom: 0.5rem;
}

.statuts-footer-doc {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
    text-align: center;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .statuts-container {
        flex-direction: column;
    }
    
    .statuts-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .statuts-content {
        padding: 2rem 1.5rem;
    }
}



/* === END OF pages/Statuts.css === */

/* ═══════════════════════════════════════════════
   PREMIUM DESIGN ENHANCEMENTS — ULTRA MODERN SPORT UX
   Glassmorphism + Neon Outlines + Smooth Transitions
   ═══════════════════════════════════════════════ */

/* ── 1. Advanced Page Entrance Transitions ── */
@keyframes pageReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.page-enter {
  animation: pageReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── 2. Glowing Neon Cards Hover Effects ── */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 36px rgba(22, 163, 74, 0.08),
    0 0 0 1.5px rgba(22, 163, 74, 0.22),
    0 0 25px rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.3) !important;
}

/* ── 3. Glow and Sweep Shine Effects for Primary Buttons ── */
.btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 24px rgba(22, 163, 74, 0.35),
    0 0 12px rgba(22, 163, 74, 0.2);
}
.btn-primary:hover::after {
  left: 150%;
}

/* ── 4. Gold Button Enhancements ── */
.btn-gold {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 24px rgba(234, 179, 8, 0.35),
    0 0 12px rgba(234, 179, 8, 0.2);
}
.btn-gold:hover::after {
  left: 150%;
}

/* ── 5. Page Header Ambient Lighting ── */
.page-header {
  background: 
    radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.18) 0%, transparent 60%), 
    radial-gradient(circle at 10% 80%, rgba(234, 179, 8, 0.12) 0%, transparent 50%),
    var(--green-dark) !important;
  padding: 140px 0 85px !important;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* ── 6. Styled Futuristic Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(22, 163, 74, 0.05);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-light), var(--green));
  border-radius: 6px;
  border: 2px solid var(--bg-main);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}

/* ── 7. Home Slider Animation Upgrades ── */
.hero-slide {
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
}
.hero-slide.active {
  transform: scale(1);
}
.hero-slide__bg {
  transition: transform 10s ease;
  transform: scale(1.08);
}
.hero-slide.active .hero-slide__bg {
  transform: scale(1);
}

/* ── 8. Table Glow Enhancements ── */
.rankings-table-wrap {
  border: 1px solid var(--border-primary) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rankings-table-wrap:hover {
  box-shadow: 
    0 16px 36px rgba(22, 163, 74, 0.06),
    0 0 20px rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25) !important;
}
