/* ═══════════════════════════════════════════════════════════════
   ASL — Abstream Sports League · Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Barlow:wght@300;400;500;600&family=Bebas+Neue&display=swap');

:root {
  --bg: #07070a;
  --bg-darker: #040406;
  --bg-card: #0d0d15;
  --bg-card-hover: #141422;
  --accent: #ff6b00;
  --accent-hover: #ff8c00;
  --accent-glow: rgba(255, 107, 0, 0.2);
  
  --open-cyan: #00f0ff;
  --open-cyan-glow: rgba(0, 240, 255, 0.25);
  --corp-gold: #ffd700;
  --corp-gold-glow: rgba(255, 215, 0, 0.25);
  
  --green: #00ff88;
  --purple: #a64eff;
  --junior-gold: #ff9f1c;
  --junior-gold-glow: rgba(255, 159, 28, 0.25);
  --red: #ff3860;
  --blue: #0076ff;
  
  --text: #f0f0f5;
  --text-muted: #8e8e9f;
  --border: #181828;
  --border-hover: #282842;
  --glass: rgba(13, 13, 21, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --glow-shadow: 0 0 20px var(--accent-glow);
}

/* ── Reset & Globals ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ── Typography ── */
.display-font {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.title-font {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ── Scroll Animations (fade-in) ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Layout & Sections ── */
section {
  padding: 100px 5% 80px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.gallery-asl-subtitle {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 8px;
  margin-bottom: 5px; /* Adjust spacing nicely since it is much larger */
}

.schedule-upcoming-subtitle {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: normal;
  margin-bottom: 5px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, #ffffff, #888899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2%;
  z-index: 1000;
  transition: var(--transition);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.nav-logo {
  height: 80px;
  max-height: 80px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1.5px;
}

.nav-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  margin-bottom: 6px;
  transition: var(--transition);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.98);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mobile-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--accent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.05);
  transform: translateY(-2px);
}

.btn-open {
  background-color: var(--open-cyan);
  color: #000000;
  box-shadow: 0 0 15px var(--open-cyan-glow);
}

.btn-open:hover {
  background-color: #33f3ff;
  transform: translateY(-2px);
}

.btn-corp {
  background-color: var(--corp-gold);
  color: #000000;
  box-shadow: 0 0 15px var(--corp-gold-glow);
}

.btn-corp:hover {
  background-color: #ffdf33;
  transform: translateY(-2px);
}

/* Back Button Styles */
.back-btn-wrapper {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: var(--transition);
}

.back-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.05);
  transform: translateY(-2px);
}

.back-btn:hover .back-arrow {
  transform: translateX(-4px);
}

.back-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

/* ── Golden-Orangish Join Buttons Override ── */
.subcategory-row .btn:not(.disabled),
.schedule-row .btn:not(.disabled) {
  background: linear-gradient(135deg, #ff9f00, #ff5e00) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.35) !important;
  border: none !important;
}

.subcategory-row .btn:not(.disabled):hover,
.schedule-row .btn:not(.disabled):hover {
  background: linear-gradient(135deg, #ffa61a, #ff6a1a) !important;
  transform: translateY(-2px) !important;
}

#hero {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 5% 60px; /* Align content to center, offset only navbar, bottom padding to prevent overlap with ticker */
  position: relative;
  box-sizing: border-box;
  background-image: 
    radial-gradient(circle at 75% 50%, var(--accent-glow) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 100% 100%, 45px 45px, 45px 45px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  z-index: 10;
}

.hero-text {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 25px;
}

.hero-title span {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 30px; /* Reduced from 40px to fit beautifully in 100vh */
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Reduced from 35px to fit beautifully in 100vh */
  width: 100%;
  z-index: 10;
}

.hero-logo-3d-container {
  width: 100%;
  height: 320px; /* Reduced from 380px to fit beautifully in 100vh */
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.hero-logo-3d-container:hover {
  transform: translateY(-4px);
}

#asl-3d-logo-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
  filter: drop-shadow(0 15px 45px rgba(255, 107, 0, 0.12));
}

#asl-3d-logo-canvas:active {
  cursor: grabbing;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 15px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hero-ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  z-index: 10;
}

.hero-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker-item span {
  color: var(--accent);
  margin-right: 8px;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollPulse 1.5s infinite;
}

@keyframes scrollPulse {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 6px); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ── Sports Grid ── */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.sport-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 25px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  cursor: pointer;
  transition: var(--transition);
}

.sport-card-emoji {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 9rem;
  opacity: 0.05;
  transition: var(--transition);
}

img.sport-card-emoji {
  width: 9rem;
  height: 9rem;
  object-fit: contain;
  pointer-events: none;
}

.sport-card:hover .sport-card-emoji {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.1;
}

.sport-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sport-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
}

.sport-tag.tag-open {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--open-cyan);
  color: var(--open-cyan);
}

.sport-tag.tag-corp {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--corp-gold);
  color: var(--corp-gold);
}

.sport-tag.tag-junior {
  background: rgba(255, 159, 28, 0.08);
  border: 1px solid var(--junior-gold);
  color: var(--junior-gold);
}

.sport-tag.tag-closed {
  background: rgba(255, 56, 96, 0.08);
  border: 1px solid var(--red);
  color: var(--red);
}

@keyframes highlightCardGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    border-color: var(--border);
  }
  30% {
    box-shadow: 0 0 25px 5px rgba(255, 107, 0, 0.4);
    border-color: var(--accent);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    border-color: var(--border);
  }
}

.event-block-card.highlight-glow {
  animation: highlightCardGlow 2s ease-out;
}


.sport-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.sport-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: auto;
}

.sport-card-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.5px;
}

/* Hover Accent Borders per Sport */
.sport-card.sport-badminton:hover {
  border-color: var(--open-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}
.sport-card.sport-cricket:hover {
  border-color: var(--green);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
}
.sport-card.sport-esports:hover {
  border-color: var(--purple);
  box-shadow: 0 0 25px rgba(166, 78, 255, 0.15);
}
.sport-card.sport-pickleball:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.15);
}
.sport-card.sport-soccer:hover {
  border-color: var(--red);
  box-shadow: 0 0 25px rgba(255, 56, 96, 0.15);
}

/* ── Badminton Detail ── */
.badminton-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.detail-card.detail-open {
  border-color: rgba(0, 240, 255, 0.2);
}
.detail-card.detail-open::before {
  background: var(--open-cyan);
}
.detail-card.detail-open:hover {
  border-color: var(--open-cyan);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.08);
}

.detail-card.detail-corp {
  border-color: rgba(255, 215, 0, 0.2);
}
.detail-card.detail-corp::before {
  background: var(--corp-gold);
}
.detail-card.detail-corp:hover {
  border-color: var(--corp-gold);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.08);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.detail-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Barlow Condensed', sans-serif;
  margin-top: 5px;
  display: block;
}

.detail-week-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 4px;
}
.detail-open .detail-week-badge {
  background: rgba(0, 240, 255, 0.1);
  color: var(--open-cyan);
  border: 1px solid var(--open-cyan);
}
.detail-corp .detail-week-badge {
  background: rgba(255, 215, 0, 0.1);
  color: var(--corp-gold);
  border: 1px solid var(--corp-gold);
}

.detail-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.detail-categories {
  margin-bottom: 40px;
}

.categories-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.5px;
}

.category-icon {
  font-size: 1.1rem;
}

.detail-meta-list {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  margin-bottom: 35px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
  font-family: 'Barlow Condensed', sans-serif;
}

.meta-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Schedule ── */
.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.tab-btn.active.open-tab {
  background: rgba(0, 240, 255, 0.05);
  border-color: var(--open-cyan);
  color: var(--open-cyan);
}

.tab-btn.active.corp-tab {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--corp-gold);
  color: var(--corp-gold);
}

.schedule-pane {
  display: none;
}

.schedule-pane.active {
  display: block;
  animation: slideUp 0.4s ease-out;
}

/* ── Sport Filter Buttons & Sub-Panes ── */
.sport-filter-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.sport-filter-btn {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 10px 24px 10px 28px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.sport-filter-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: var(--open-cyan);
  border-radius: 4px;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.sport-filter-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.sport-filter-btn:hover::before,
.sport-filter-btn.active::before {
  transform: scaleY(1);
}

.sport-filter-btn.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--open-cyan);
  color: var(--open-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.open-sport-pane {
  display: none;
}

.open-sport-pane.active {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.sport-filter-btn-corp {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 10px 24px 10px 28px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.sport-filter-btn-corp::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: var(--corp-gold);
  border-radius: 4px;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.sport-filter-btn-corp:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.sport-filter-btn-corp:hover::before,
.sport-filter-btn-corp.active::before {
  transform: scaleY(1);
}

.sport-filter-btn-corp.active {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--corp-gold);
  color: var(--corp-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.corp-sport-pane {
  display: none;
}

.corp-sport-pane.active {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.sport-filter-btn-junior {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 10px 24px 10px 28px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.sport-filter-btn-junior::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: var(--junior-gold);
  border-radius: 4px;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.sport-filter-btn-junior:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.sport-filter-btn-junior:hover::before,
.sport-filter-btn-junior.active::before {
  transform: scaleY(1);
}

.sport-filter-btn-junior.active {
  background: rgba(255, 159, 28, 0.08);
  border-color: var(--junior-gold);
  color: var(--junior-gold);
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.15);
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.schedule-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.5fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.schedule-row:hover {
  border-color: var(--border-hover);
  transform: translateX(5px);
}

.schedule-row.featured {
  border-left: 4px solid var(--accent);
}

.schedule-row-sport {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-row-date {
  color: var(--text-muted);
  font-size: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.5px;
}

.schedule-row-venue {
  font-size: 0.95rem;
  color: var(--text);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
}

.status-badge.status-open {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid var(--green);
  color: var(--green);
}

.status-badge.status-filling {
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.status-badge.status-soon {
  background: rgba(0, 118, 255, 0.08);
  border: 1px solid var(--blue);
  color: var(--blue);
}

.status-badge.status-closed {
  background: rgba(255, 56, 96, 0.08);
  border: 1px solid var(--red);
  color: var(--red);
}


/* ── Leaderboard Table (Rankings) ── */
.rankings-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.rankings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.rankings-table th,
.rankings-table td {
  padding: 16px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.rankings-table th {
  background: rgba(255, 255, 255, 0.01);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.rankings-table tbody tr {
  transition: var(--transition);
  cursor: pointer;
}

.rankings-table tbody tr:hover {
  background: var(--bg-card-hover);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
}

.rank-badge.rank-1 {
  background-color: var(--corp-gold);
  color: #000000;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.rank-badge.rank-2 {
  background-color: #d1d1d6;
  color: #000000;
}

.rank-badge.rank-3 {
  background-color: #cd7f32;
  color: #ffffff;
}

.rank-badge.rank-other {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.rank-player-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

.player-name-link {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.player-name-link:hover {
  color: var(--accent);
}

.rankings-table .points-cell {
  font-weight: 700;
  color: var(--accent);
}

/* Filter Bar styles */
.rankings-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.mobile-sport-filter-wrap {
  display: none;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 15px;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  min-width: 150px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.filter-select:focus {
  border-color: var(--accent);
}

.search-wrap {
  position: relative;
  flex-grow: 1;
  max-width: 300px;
}

.search-input {
  width: 100%;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 15px 10px 40px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Gallery Section ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
}

.gallery-gradient-bg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #10101f, #22223a);
  transition: var(--transition);
}

.gallery-emoji {
  font-size: 3.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-emoji img, img.gallery-emoji {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.gallery-label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.gallery-card-badge .badge-emoji {
  font-size: 1.1rem;
  display: inline-block;
}

.gallery-card-badge .badge-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.gallery-card:hover .gallery-card-badge {
  opacity: 0;
  transform: translateY(-5px);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay-emoji {
  font-size: 2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay-emoji img, img.gallery-overlay-emoji {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.gallery-card-overlay h4 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #ffffff;
}

.gallery-card-overlay p {
  font-size: 0.85rem;
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-card-img,
.gallery-card:hover .gallery-gradient-bg {
  transform: scale(1.05);
}

/* ── Event Locations ── */
.locations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.location-map-wrap {
  width: 100%;
  height: 200px;
  position: relative;
  background: var(--bg-darker);
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.location-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.location-address {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.location-meta {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: auto;
}

.location-meta-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.location-sports-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-sport-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: 'Barlow Condensed', sans-serif;
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: var(--transition);
}

.about-feature-card:hover {
  border-color: var(--border-hover);
}

.about-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.about-feature-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-feature-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── About Section: Social Follow Bar ── */
.about-social-follow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.about-social-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.about-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.about-social-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.about-social-btn:hover svg {
  transform: scale(1.15);
}

/* Instagram — gradient hover */
.about-social-instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(253, 29, 29, 0.35);
  transform: translateY(-2px);
}

/* YouTube — red hover */
.about-social-youtube:hover {
  background: #ff0000;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* ── Footer Social Icons Row ── */
.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-social-instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(253, 29, 29, 0.4);
  transform: translateY(-2px) scale(1.08);
}

.footer-social-youtube:hover {
  background: #ff0000;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
  transform: translateY(-2px) scale(1.08);
}

.about-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.donut-chart-wrap {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-segment {
  fill: none;
  stroke-width: 12;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.donut-segment:hover {
  stroke-width: 16;
}

.donut-segment-1 { stroke: var(--open-cyan); }
.donut-segment-2 { stroke: var(--green); }
.donut-segment-3 { stroke: var(--purple); }
.donut-segment-4 { stroke: var(--accent); }
.donut-segment-5 { stroke: var(--red); }

.donut-center {
  position: absolute;
  text-align: center;
  pointer-events: none; /* Let hovers pass through to segments */
  width: 160px;
}

.donut-center-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transition: all 0.2s ease;
  display: block;
}

.donut-center-label {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  line-height: 1.3;
}

/* Floating Sport Labels Around Donut */
.donut-sport-label {
  position: absolute;
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 15;
}

.donut-sport-label:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.label-emoji {
  font-size: 1.1rem;
}

/* Explicit coordinates surrounding the 280x280 box */
.label-badminton {
  top: -15px;
  right: -55px;
}
.label-cricket {
  top: 100px;
  right: -85px;
}
.label-esports {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.label-pickleball {
  top: 100px;
  left: -85px;
}
.label-soccer {
  top: -15px;
  left: -40px;
}

/* Mobile-responsive overrides */
@media (max-width: 1024px) {
  .about-visual {
    margin-top: 50px;
  }
}

@media (max-width: 576px) {
  .donut-chart-wrap {
    width: 240px;
    height: 240px;
    margin: 30px auto 60px;
  }
  
  .label-badminton {
    top: -20px;
    right: -40px;
  }
  .label-cricket {
    top: 90px;
    right: -60px;
  }
  .label-esports {
    bottom: -45px;
  }
  .label-pickleball {
    top: 90px;
    left: -60px;
  }
  .label-soccer {
    top: -20px;
    left: -30px;
  }
}

@media (max-width: 480px) {
  .donut-chart-wrap {
    width: 200px;
    height: 200px;
    margin: 20px auto 40px;
  }
  
  /* Prevent labels overlapping on super small screens by pulling them closer */
  .donut-sport-label {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  .label-badminton {
    top: -25px;
    right: -30px;
  }
  .label-cricket {
    top: 80px;
    right: -45px;
  }
  .label-esports {
    bottom: -40px;
  }
  .label-pickleball {
    top: 80px;
    left: -45px;
  }
  .label-soccer {
    top: -25px;
    left: -20px;
  }
}

/* ── Footer ── */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 80px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 250px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-icon {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ── Modals & Registration Overlay ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 25px 30px 15px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
}

.form-type-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 25px;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.form-type-badge.open {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--open-cyan);
  color: var(--open-cyan);
}

.form-type-badge.corp {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--corp-gold);
  color: var(--corp-gold);
}

/* Form Styles */
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Barlow Condensed', sans-serif;
}

.form-label span {
  color: var(--accent);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Category Checkbox Grid */
.category-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.cat-checkbox-wrapper {
  position: relative;
  cursor: pointer;
}

.cat-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.cat-checkbox-card {
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 12px 12px 18px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  overflow: hidden;
}

.cat-checkbox-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: var(--open-cyan);
  border-radius: 4px;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.cat-checkbox-wrapper:hover .cat-checkbox-card::before {
  transform: scaleY(1);
}

.cat-checkbox-card .cat-icon {
  font-size: 1.3rem;
  transition: var(--transition);
}

.cat-checkbox-card .cat-label {
  font-size: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.cat-checkbox:checked + .cat-checkbox-card {
  border-color: var(--open-cyan);
  background: rgba(0, 240, 255, 0.03);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.cat-checkbox:checked + .cat-checkbox-card::before {
  transform: scaleY(1);
  background: var(--open-cyan);
}

.cat-checkbox:checked + .cat-checkbox-card .cat-icon {
  transform: scale(1.1);
}

.cat-checkbox:checked + .cat-checkbox-card .cat-label {
  color: var(--open-cyan);
}

/* Corp-Check (Golden style) */
.cat-checkbox.corp-check:checked + .cat-checkbox-card {
  border-color: var(--corp-gold);
  background: rgba(255, 215, 0, 0.03);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

.cat-checkbox.corp-check:checked + .cat-checkbox-card::before {
  transform: scaleY(1);
  background: var(--corp-gold);
}

.cat-checkbox.corp-check:checked + .cat-checkbox-card .cat-label {
  color: var(--corp-gold);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.payment-summary {
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 25px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.payment-row:last-child {
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.payment-row-total {
  color: var(--accent);
}

.submit-btn-open,
.submit-btn-corp {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 6px;
}

/* Success State Overlay in Form/Modal */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.1);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 25px;
  animation: scaleBounce 0.5s ease-out;
}

@keyframes scaleBounce {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-msg {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  max-width: 350px;
}

.reg-id-box {
  background: var(--bg-darker);
  border: 1px dashed var(--border);
  padding: 12px 25px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 30px;
}

/* ── Player Profile Modal ── */
.player-modal-content {
  max-width: 500px;
}

.player-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 25px;
  border-bottom: 1px solid var(--border);
}

.player-avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  margin-bottom: 15px;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  box-shadow: 0 0 20px var(--accent-glow);
}

.player-profile-name {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 5px;
}

.player-profile-city {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 15px;
}

.player-badges {
  display: flex;
  gap: 8px;
}

.player-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
}

.player-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

.player-stat-box {
  text-align: center;
}

.player-stat-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.player-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Barlow Condensed', sans-serif;
}

.player-modal-section {
  padding-top: 25px;
}

.player-modal-sec-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.player-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.history-opp {
  font-weight: 500;
}

.history-score {
  color: var(--text-muted);
  font-family: monospace;
}

.history-result {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
}

.history-result.win {
  background: rgba(0, 255, 136, 0.08);
  color: var(--green);
}

.history-result.loss {
  background: rgba(255, 56, 96, 0.08);
  color: var(--red);
}

/* ── Lightbox Modal ── */
.lightbox-modal-content {
  background: transparent;
  border: none;
  max-width: 800px;
  box-shadow: none;
  position: relative;
}

.lightbox-content-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content-box img {
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.8);
}

.lightbox-content-box .gallery-gradient-bg {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  padding: 60px 40px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.8);
}

.lightbox-content-box .gallery-emoji {
  font-size: 6rem;
}

.lightbox-caption {
  text-align: center;
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 20px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 13, 21, 0.8);
  border: 1px solid var(--border);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  z-index: 2010;
}

.lightbox-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox-btn-prev {
  left: -70px;
}

.lightbox-btn-next {
  right: -70px;
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 2rem;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  color: #ffffff;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-link {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.page-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-link.active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--glow-shadow);
}

.page-link.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ── Custom Animations ── */
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Responsive Media Queries ── */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4.8rem;
  }
}

@media (max-width: 1024px) {
  #hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 5% 80px;
    overflow: visible;
  }

  .nav-links {
    gap: 20px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-right-col {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .hero-logo-3d-container {
    height: 300px; /* Slightly shorter on tablets/mobiles */
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none; /* Hide standard nav links on mobile */
  }
  
  .hamburger {
    display: block; /* Show hamburger button */
  }
  
  .hero-container {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badminton-container {
    grid-template-columns: 1fr;
  }
  
  .schedule-row {
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 15px;
    padding: 15px 20px;
  }
  
  .schedule-row-venue {
    grid-column: span 3;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }
  
  .schedule-row-venue::before {
    content: '📍 ';
  }
  
  .rankings-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-wrap {
    max-width: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lightbox-btn-prev {
    left: 10px;
    background: rgba(13, 13, 21, 0.9);
  }
  
  .lightbox-btn-next {
    right: 10px;
    background: rgba(13, 13, 21, 0.9);
  }

  /* Hide navigation action buttons on mobile screens */
  nav .nav-actions .btn,
  #navRegisterBtn {
    display: none !important;
  }

  .mobile-nav .btn-primary {
    display: inline-flex !important;
    width: 80%;
    max-width: 280px;
    margin-top: 15px;
  }

  /* Make rankings table scrollable on tablets/mobiles */
  .rankings-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rankings-table {
    min-width: 750px;
  }
  .rankings-table th,
  .rankings-table td {
    padding: 12px 14px;
  }
}

@media (max-width: 576px) {
  section {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .category-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  /* Keep rankings columns visible on mobile and allow horizontal scrolling */

  /* Make rankings filter controls take full width and stack vertically */
  .rankings-filters {
    padding: 15px;
  }
  .rankings-filters .filter-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .rankings-filters .filter-select,
  .rankings-filters .search-wrap {
    width: 100% !important;
    max-width: none !important;
  }
  .sport-filter-tabs {
    display: none !important;
  }
  .mobile-sport-filter-wrap {
    display: block !important;
  }

  /* Prevent player registrations cards clipping on mobile screen */
  .reg-list-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .reg-meta {
    text-align: left;
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }

  /* Dashboard card padding and schedule row layout adjustments on mobile */
  .dashboard-card {
    padding: 20px;
  }
  .schedule-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
  .schedule-row-venue {
    grid-column: span 1;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }
  .schedule-row-sport {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-logo-3d-container {
    height: 220px;
  }
  .login-panel {
    padding: 25px 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-content {
    max-height: 95vh;
  }
  .player-stats-grid {
    gap: 8px;
    padding: 15px 0;
  }
  .history-item {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  .history-opp {
    width: 100%;
  }
  .history-score {
    font-size: 0.85rem;
  }
}

/* ── Login & Dashboard Style Extensions ── */
.login-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.login-tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 10px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.login-tab-btn:hover {
  color: var(--text);
}

.login-tab-btn.active {
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.05);
  color: var(--accent);
}

/* Dashboard Styles */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 350px 1fr;
  }
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.dashboard-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.dashboard-profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  margin-bottom: 30px;
}

.dashboard-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-glow);
}

.dashboard-name {
  font-size: 1.8rem;
  font-weight: 700;
}

.dashboard-email {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: -10px;
}

.dashboard-detail-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.dashboard-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.dashboard-detail-label {
  color: var(--text-muted);
}

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

/* Admin Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

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

.metric-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.metric-label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Category Filter Tabs inside Admin Panel */
.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}

.admin-tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.admin-tab-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.admin-tab-btn.active {
  background: rgba(255, 107, 0, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 14px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: rgba(255, 255, 255, 0.01);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.category-badge-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.category-badge-pill.men {
  border-color: var(--open-cyan);
  color: var(--open-cyan);
  background: rgba(0, 240, 255, 0.03);
}
.category-badge-pill.women {
  border-color: var(--red);
  color: var(--red);
  background: rgba(255, 56, 96, 0.03);
}
.category-badge-pill.mixed {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(166, 78, 255, 0.03);
}

/* ── Interactive Calendars ── */
.calendar-selection-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.calendar-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.calendar-card.open-card:hover {
  border-color: var(--open-cyan);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.2);
}

.calendar-card.corp-card:hover {
  border-color: var(--corp-gold);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.calendar-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.calendar-card.open-card .calendar-badge {
  color: var(--open-cyan);
  border-color: rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.03);
}

.calendar-card.corp-card .calendar-badge {
  color: var(--corp-gold);
  border-color: rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.03);
}

.calendar-card-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.calendar-card-header h4 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #c0c0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mini-calendar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-calendar-month-year {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px;
}

.mini-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 5px;
}

.mini-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  align-items: center;
}

.mini-calendar-days span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  height: 28px;
  width: 28px;
  margin: 0 auto;
  color: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition);
}

.mini-calendar-days span:not(:empty) {
  color: rgba(240, 240, 245, 0.8);
}

.mini-calendar-days span.event-day {
  font-weight: 700;
  color: #000000 !important;
  position: relative;
  z-index: 2;
  animation: eventPulse 2s infinite ease-in-out;
}

.open-card .mini-calendar-days span.event-day {
  background: var(--open-cyan);
  box-shadow: 0 0 12px var(--open-cyan-glow);
}

.corp-card .mini-calendar-days span.event-day {
  background: var(--corp-gold);
  box-shadow: 0 0 12px var(--corp-gold-glow);
}

@keyframes eventPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.calendar-card-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 5px;
}

.view-categories-btn {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.open-card:hover .view-categories-btn {
  color: var(--open-cyan);
}

.corp-card:hover .view-categories-btn {
  color: var(--corp-gold);
}

/* ── Popup Category Modal Custom Styles ── */
.category-modal-content {
  max-width: 750px !important;
  border-radius: 20px !important;
  border-width: 1px !important;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.category-modal-content.theme-open {
  border-color: rgba(0, 240, 255, 0.3) !important;
  box-shadow: 0 15px 50px rgba(0, 240, 255, 0.15) !important;
}

.category-modal-content.theme-corp {
  border-color: rgba(255, 215, 0, 0.3) !important;
  box-shadow: 0 15px 50px rgba(255, 215, 0, 0.15) !important;
}

.category-modal-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  width: fit-content;
}

.category-modal-type-badge.open {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--open-cyan);
  color: var(--open-cyan);
}

.category-modal-type-badge.corp {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--corp-gold);
  color: var(--corp-gold);
}

.modal-header-desc {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.modal-meta-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-transform: uppercase;
}

.modal-meta-venue {
  font-size: 0.85rem;
}

.modal-sport-filter-row {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  justify-content: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.modal-category-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-category-grid::-webkit-scrollbar {
  width: 6px;
}

.modal-category-grid::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.modal-category-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.inline-sport-icon {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

.donut-sport-icon-img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

/* Grayscale and locked states for disabled inputs and category choices */
.form-select:disabled,
.form-input:disabled {
  background-color: rgba(255, 255, 255, 0.01) !important;
  color: var(--text-muted) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  filter: grayscale(1) opacity(0.6);
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Grayscale only the UNCHECKED disabled categories */
.cat-checkbox:disabled:not(:checked) + .cat-checkbox-card {
  filter: grayscale(1) opacity(0.4) !important;
  cursor: not-allowed !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.01) !important;
}

/* Keep the SELECTED disabled category highlighted, vibrant and styled! */
.cat-checkbox:disabled:checked + .cat-checkbox-card {
  filter: none !important;
  opacity: 1 !important;
  border-color: var(--open-cyan) !important;
  background: rgba(0, 240, 255, 0.04) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2) !important;
}

/* Ensure corporate checked disabled cards get golden highlights */
.cat-checkbox.corp-check:disabled:checked + .cat-checkbox-card {
  border-color: var(--corp-gold) !important;
  background: rgba(255, 215, 0, 0.04) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2) !important;
}

/* Completely remove hover and select effects for disabled options */
.cat-checkbox-wrapper:has(input:disabled) {
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.cat-checkbox:disabled + .cat-checkbox-card::before {
  display: none !important;
}

/* Centering & Stretching Categories Pop-up */
.category-modal-content {
  max-width: 920px !important;
  border-radius: 20px !important;
  border-width: 1px !important;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-category-grid .schedule-row.featured {
  border-left: 1px solid var(--border) !important;
  padding-left: 30px !important;
}

/* Professional SVG Category Icon Styling */
.professional-cat-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cat-svg-icon {
  width: 18px;
  height: 18px;
  stroke: var(--open-cyan);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.25));
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-corp .cat-svg-icon {
  stroke: var(--corp-gold);
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.25));
}

.cat-checkbox-card.corp-check .cat-svg-icon {
  stroke: var(--corp-gold);
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.25));
}

.icon-men-singles,
.icon-men-doubles {
  stroke: #00f0ff !important;
  filter: drop-shadow(0 0 3px rgba(0, 240, 255, 0.3)) !important;
}

.icon-women-singles,
.icon-women-doubles {
  stroke: #ff3860 !important;
  filter: drop-shadow(0 0 3px rgba(255, 56, 96, 0.3)) !important;
}

.icon-mixed {
  stroke: #ff9f43 !important;
  filter: drop-shadow(0 0 3px rgba(255, 159, 67, 0.3)) !important;
}

.icon-team {
  stroke: #00ff88 !important;
  filter: drop-shadow(0 0 3px rgba(0, 255, 136, 0.3)) !important;
}

/* Locked Gender & City Field Styling overrides (Vibrant display, no dropdown arrow) */
#regGender:disabled,
#regPartnerGender:disabled,
#regCity:disabled {
  background-color: var(--bg-darker) !important;
  color: #ffffff !important;
  border-color: var(--border) !important;
  filter: none !important;
  opacity: 1 !important;
  cursor: default !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}


/* ── Player Profile Modal (Landscape Layout) ── */
.player-modal-content {
  max-width: 850px !important;
  width: 90% !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.player-modal-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.player-modal-body-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 10px 24px 24px;
}

/* Left Column: Avatar/Photo */
.player-modal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10px;
}

.player-modal-avatar-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.3);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  margin-bottom: 20px;
  background: var(--bg-darker);
  flex-shrink: 0;
}

.player-modal-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.player-modal-rank-badge {
  background: linear-gradient(135deg, var(--accent), #ff3c00);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
  display: inline-block;
  text-align: center;
  margin-top: 5px;
}

/* Right Column: Details, Stats, and History */
.player-modal-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.player-modal-main-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  font-family: 'Bebas Neue', sans-serif;
}

.player-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.player-modal-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
}

.player-modal-stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.player-modal-stat-box:last-child {
  border-right: none;
}

.player-modal-stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.player-modal-stat-num.accent {
  color: var(--accent);
}

.player-modal-stat-num.green {
  color: var(--green);
}

.player-modal-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Barlow Condensed', sans-serif;
}

.player-modal-recent-matches {
  margin-top: 5px;
}

.player-modal-recent-matches h4 {
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Mobile responsive override */
@media (max-width: 768px) {
  .player-modal-content {
    max-height: 90vh !important;
    overflow: hidden !important;
  }
  .player-modal-body-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px 15px 15px;
  }
  
  .player-modal-left {
    padding-top: 0;
  }
  
  .player-modal-avatar-container {
    width: 150px;
    height: 150px;
    font-size: 4rem;
  }
  
  .player-modal-main-info h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .player-modal-badges {
    justify-content: center;
  }
  
  .player-modal-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .player-modal-stat-box {
    border-right: none;
  }
  
  .player-modal-stat-box:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* Match Stage Badge styling */
.match-stage-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid var(--border);
  width: fit-content;
  display: inline-block;
  margin-top: 4px;
}

.match-stage-badge.stage-final {
  color: var(--corp-gold) !important;
  border-color: var(--corp-gold) !important;
  background: rgba(255, 215, 0, 0.05) !important;
}

.match-stage-badge.stage-semifinal {
  color: var(--purple) !important;
  border-color: var(--purple) !important;
  background: rgba(166, 78, 255, 0.05) !important;
}

.match-stage-badge.stage-quarterfinal {
  color: var(--blue) !important;
  border-color: var(--blue) !important;
  background: rgba(0, 118, 255, 0.05) !important;
}

.match-stage-badge.stage-qualifier {
  color: var(--open-cyan) !important;
  border-color: var(--open-cyan) !important;
  background: rgba(0, 240, 255, 0.05) !important;
}

.match-stage-badge.stage-league {
  color: var(--text-muted) !important;
  border-color: var(--border) !important;
}

/* ── ASL Popup — Logo-as-Background Design ── */
.asl-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}
.asl-popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Logo fills the whole overlay — starts centered, bursts, then fades to bg watermark */
.asl-popup-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  pointer-events: none;
}

.asl-popup-logo-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  transform: scale(0) rotate(-270deg);
  opacity: 0;
}

/* Phase 1: burst pop — Phase 2: fade to background watermark */
.asl-popup-logo-wrap.running .asl-popup-logo-img {
  animation: logoPopupBurst 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes logoPopupBurst {
  0% {
    transform: scale(0) rotate(-270deg);
    opacity: 0;
    filter: drop-shadow(0 0 0px rgba(255, 107, 0, 0));
  }
  /* ── BURST: logo explodes to full screen ── */
  35% {
    transform: scale(4) rotate(12deg);
    opacity: 1;
    filter:
      drop-shadow(0 0 60px rgba(255, 107, 0, 1))
      drop-shadow(0 0 120px rgba(255, 107, 0, 0.6))
      brightness(1.4);
  }
  /* ── SETTLE: slight bounce back ── */
  55% {
    transform: scale(3.2) rotate(-6deg);
    opacity: 0.95;
    filter:
      drop-shadow(0 0 40px rgba(0, 240, 255, 0.9))
      brightness(1.2);
  }
  /* ── FADE TO BACKGROUND WATERMARK ── */
  100% {
    transform: scale(3.5) rotate(0deg);
    opacity: 0.06;
    filter: none;
  }
}

/* Card sits on top of the logo watermark */
.asl-popup-card {
  background: rgba(12, 12, 18, 0.88);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 20px;
  width: min(440px, 100%);
  padding: 40px 32px 36px;
  text-align: center;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px rgba(255, 107, 0, 0.08),
    0 25px 60px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10002;
  transform: scale(0.88) translateY(24px);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.55s ease;
  border-top: 3px solid var(--accent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.asl-popup-card.show {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.asl-popup-title {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #ffffff;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.15;
  word-break: break-word;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
}

.asl-popup-msg {
  color: rgba(200, 210, 220, 0.9);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 26px;
  word-break: break-word;
}

.asl-popup-btn {
  width: 100%;
}

.asl-popup-btn-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 15px;
}
.asl-popup-btn-row .btn {
  flex: 1;
  margin: 0;
}

/* Mobile */
@media (max-width: 480px) {
  .asl-popup-overlay {
    padding: 16px;
  }
  .asl-popup-card {
    padding: 32px 20px 28px;
    border-radius: 16px;
  }
  .asl-popup-title {
    font-size: 1.65rem;
  }
  .asl-popup-msg {
    font-size: 0.92rem;
  }
}

/* ── Weekend Event Blocks ── */
.event-block-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.event-block-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.event-block-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.event-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.event-sport-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-sport-title h3 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 700;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.event-sport-emoji {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-sport-emoji img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.event-meta-info {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.event-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-transform: uppercase;
}

.event-venue {
  font-size: 0.9rem;
}

.event-subcategories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subcategory-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.subcategory-row:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(5px);
}

.subcat-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.subcat-type-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.subcat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.subcat-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.subcat-status {
  display: flex;
  align-items: center;
}

/* ── Junior Theme Styles ── */
.btn-junior {
  background-color: var(--junior-gold);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.3);
}

.btn-junior:hover {
  background-color: #ffb03a;
  transform: translateY(-2px);
}

.active-junior {
  border-color: var(--junior-gold) !important;
  color: var(--junior-gold) !important;
  background: rgba(255, 159, 28, 0.05) !important;
}

.selector-tab.active-junior {
  border-color: var(--junior-gold);
  background: rgba(255, 159, 28, 0.04);
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.3);
}

.selector-tab.active-junior .selector-tab-title {
  color: var(--junior-gold);
}

.form-panel.theme-junior {
  border-color: rgba(255, 159, 28, 0.2);
}

.form-type-badge.junior {
  background: rgba(255, 159, 28, 0.08);
  border: 1px solid var(--junior-gold);
  color: var(--junior-gold);
}

.submit-btn-junior {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 6px;
}

/* Junior-Check (Goldish Orange style) */
.cat-checkbox.junior-check:checked + .cat-checkbox-card {
  border-color: var(--junior-gold);
  background: rgba(255, 159, 28, 0.03);
  box-shadow: 0 0 12px rgba(255, 159, 28, 0.15);
}

.cat-checkbox.junior-check:checked + .cat-checkbox-card::before {
  transform: scaleY(1);
  background: var(--junior-gold);
}

.cat-checkbox.junior-check:checked + .cat-checkbox-card .cat-label {
  color: var(--junior-gold);
}

.theme-junior .cat-svg-icon {
  stroke: var(--junior-gold);
  filter: drop-shadow(0 0 3px rgba(255, 159, 28, 0.25));
}

.cat-checkbox-card.junior-check .cat-svg-icon {
  stroke: var(--junior-gold);
  filter: drop-shadow(0 0 3px rgba(255, 159, 28, 0.25));
}

@media (max-width: 768px) {
  .event-block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .event-meta-info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .subcategory-row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    justify-items: center;
    padding: 15px;
  }
  .subcategory-row:hover {
    transform: none;
  }
}

/* ── Prize Pool Highlight Banner Style ── */
.prize-pool-highlight-card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(13, 13, 21, 0.75) 0%, rgba(20, 20, 30, 0.65) 100%);
  border: 1px solid rgba(255, 159, 28, 0.25);
  border-radius: 16px;
  padding: 24px 35px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.prize-pool-highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 28, 0.5);
  box-shadow: 0 20px 50px rgba(255, 159, 28, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Metallic reflection/shine anim */
.prize-shine-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: prizeShine 6s infinite ease-in-out;
}

@keyframes prizeShine {
  0% { left: -100%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.prize-pool-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prize-badge {
  background: rgba(255, 159, 28, 0.08);
  border: 1px solid rgba(255, 159, 28, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.1);
}

.prize-badge-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 4px rgba(255, 159, 28, 0.5));
  animation: trophyPulse 2s infinite ease-in-out;
}

@keyframes trophyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(5deg); }
}

.prize-badge-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--junior-gold);
}

.prize-pool-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.prize-amount-gradient {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 0.9;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe066 0%, #ff9f1c 50%, #e06c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 159, 28, 0.25));
  letter-spacing: 2px;
  position: relative;
}

.prize-amount-gradient::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 159, 28, 0.4), transparent);
}

.prize-asterisk {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  vertical-align: super;
  margin-left: 2px;
  text-shadow: 0 0 10px rgba(255, 159, 28, 0.4);
  font-weight: 600;
}

.prize-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

.prize-subline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 10px;
  position: relative;
  display: inline-block;
}

/* Background glowing rings */
.prize-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.prize-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.prize-glow-ring.secondary {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
  animation: pulseGlow 12s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.prize-pool-content-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 100%;
}

.prize-section-subtitle {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.15);
}

.prize-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.prize-slogan {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .prize-pool-highlight-card {
    padding: 20px 15px;
    margin-bottom: 25px;
  }
}

#schedule .section-header {
  margin-bottom: 30px;
}

/* ── CEO/CTO Executive Section ── */
.ceo-card-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.ceo-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(145deg, #111116 0%, #0d0d12 100%);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 16px;
  padding: 35px;
  width: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.ceo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 159, 28, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
              inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 0 35px rgba(255, 159, 28, 0.05);
}

/* Diagonal light highlight matching screenshot */
.ceo-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ceo-photo-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid transparent;
}

.ceo-photo-frame::after {
  content: none;
}

.ceo-photo-frame:hover {
  transform: scale(1.04);
  border-color: rgba(255, 159, 28, 0.85);
  box-shadow: 0 0 30px rgba(255, 159, 28, 0.6),
              0 0 60px rgba(255, 159, 28, 0.3),
              0 15px 35px rgba(0, 0, 0, 0.65);
}

.ceo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s ease;
}

.ceo-photo-frame:hover .ceo-photo {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
}

.ceo-card:hover .ceo-photo {
  filter: brightness(1.04);
}

.ceo-info {
  flex-grow: 1;
  text-align: left;
}

.ceo-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff9f1c; /* Gold/Yellow matching screenshot */
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.ceo-role {
  font-size: 1.05rem;
  color: #a8a8b3;
  font-weight: 500;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Barlow Condensed', sans-serif;
}

.ceo-bio {
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  opacity: 0;
  text-wrap: pretty;
}

#about.visible .ceo-bio {
  animation: fadeInText 1.2s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .ceo-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 25px;
    padding: 35px 20px;
  }
  .ceo-info {
    text-align: center;
  }
  .ceo-bio {
    text-align: center;
    margin: 0 auto;
  }
}

/* ── Our Vision Section ── */
.vision-section {
  margin-top: 60px;
  padding: 60px 40px;
  background: radial-gradient(circle at 80% 20%, rgba(245, 184, 0, 0.03) 0%, transparent 50%), #0A0A0A;
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
  pointer-events: none;
}

.vision-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.vision-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #f5b800; /* Rich Gold */
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.vision-title {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #f5b800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(245, 184, 0, 0.15);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.vision-content-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* Left Visual: Circular Icon Container */
.vision-visual-container {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vision-glow-orb {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.15) 0%, transparent 70%);
  filter: blur(10px);
  animation: softPulse 4s infinite alternate ease-in-out;
}

.vision-circular-icon-box {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-circular-icon-box:hover {
  transform: rotate(5deg) scale(1.05);
}

.vision-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.vision-ring.outer-ring {
  inset: -10px;
  border: 1px dashed rgba(245, 184, 0, 0.25);
  animation: rotateClockwise 20s infinite linear;
}

.vision-ring.middle-ring {
  inset: -5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-ring.inner-ring {
  inset: 5px;
  border: 1px solid rgba(245, 184, 0, 0.15);
  background: radial-gradient(circle, rgba(245, 184, 0, 0.05) 0%, transparent 100%);
}

.vision-icon-center {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-svg-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(245, 184, 0, 0.4));
}

/* Right Content: Statement */
.vision-statement-container {
  flex-grow: 1;
}

.vision-statement-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #d0d0d0;
  font-weight: 400;
  position: relative;
  text-align: left;
}

/* Feature Cards Grid */
.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  position: relative;
  z-index: 2;
}

.vision-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid rgba(245, 184, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.vision-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 184, 0, 0.3);
  border-top-color: #f5b800;
  box-shadow: 0 15px 35px rgba(245, 184, 0, 0.1), 0 0 0 1px rgba(245, 184, 0, 0.2);
}

.vision-card-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: block;
  text-align: left;
}

.vision-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.vision-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a8a8b3;
  flex-grow: 1;
}

/* Animations */
@keyframes softPulse {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes rotateClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .vision-content-layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .vision-statement-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  .vision-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vision-cards-grid > .vision-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .vision-section {
    padding: 40px 20px;
    margin-top: 50px;
  }
  .vision-title {
    font-size: 2.2rem;
  }
  .vision-cards-grid {
    grid-template-columns: 1fr;
  }
  .vision-cards-grid > .vision-card:last-child {
    grid-column: span 1;
  }
}

/* ── Team Members Section Styles ── */
.team-section-container {
  margin-top: 70px;
  margin-bottom: 50px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.team-header {
  margin-bottom: 40px;
}

.team-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.team-title-highlight {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--junior-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.team-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.team-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 10px 5px;
  scroll-snap-type: x mandatory;
}

.team-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.team-card {
  flex: 0 0 calc((100% - 90px) / 4); /* 4 items per row on desktop */
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-img-frame {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover .team-img-frame {
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

.team-info {
  margin-top: 10px;
}

.team-member-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
}

/* Controls */
.team-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}

.team-control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-control-btn svg {
  width: 20px;
  height: 20px;
}

.team-control-btn:hover:not(.disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.45);
}

/* Arrow highlight match to screen: Next button is filled initially / when active */
.team-control-btn.btn-next:not(.disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.35);
}

.team-control-btn.btn-next:hover:not(.disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.team-control-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Responsive team layout */
@media (max-width: 1024px) {
  .team-card {
    flex: 0 0 calc((100% - 60px) / 3); /* 3 items on tablet */
  }
}

@media (max-width: 768px) {
  .team-card {
    flex: 0 0 calc((100% - 30px) / 2); /* 2 items on small screens */
  }
  .team-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .team-card {
    flex: 0 0 100%; /* 1 item on mobile */
  }
}

/* Mobile Floating Register Button */
.mobile-floating-register-btn {
  display: none;
}

@media (max-width: 768px) {
  .mobile-floating-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, #ff9f00, #ff5e00);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4), 0 0 20px rgba(255, 107, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  .mobile-floating-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5), 0 0 25px rgba(255, 107, 0, 0.3);
  }

  .mobile-floating-register-btn:active {
    transform: translateY(0) scale(0.95);
  }
  
  .mobile-floating-register-btn svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    stroke-width: 2.5;
  }
}

/* ── Hamburger Active Animation State ── */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Fluid Modal and Gallery Lightbox Viewport Scaling ── */
@media (max-width: 576px) {
  .modal-content {
    width: 92% !important;
    margin: 10px auto !important;
  }
  .lightbox-modal-content {
    width: 95% !important;
  }
  .lightbox-content-box img {
    max-height: 55vh !important;
  }
  .lightbox-nav-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .teammate-accordion-content {
    padding: 0 10px;
  }
  .teammate-accordion-header {
    padding: 12px 15px;
  }
}

/* ── Admin Responsive Scroll Helpers ── */
.admin-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.admin-table-responsive table {
  min-width: 800px;
  margin-bottom: 0 !important;
}

/* ── Custom Premium Toast Notification System (Right-Slide) ── */
.asl-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.asl-toast-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 136, 0.05);
  border-radius: 12px;
  width: 360px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: all;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.asl-toast-card.show {
  transform: translateX(0);
  opacity: 1;
}

.asl-toast-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.asl-toast-content {
  flex-grow: 1;
}

.asl-toast-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.asl-toast-msg {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
  opacity: 0.95;
}

.asl-toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: var(--transition);
}

.asl-toast-close:hover {
  color: #fff;
  transform: scale(1.1);
}

/* ── Custom Date Input Webkit Calendar Picker Indicator (Make calendar icon visible on dark background) ── */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(0.9) contrast(1.2);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease, filter 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background-color: rgba(255, 255, 255, 0.1);
  filter: invert(1) brightness(1) contrast(1.2);
}



