/* ============================================================
   KHELKUNJA ARENA – Global Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  /* ── Khelkunja Arena Brand Colors (Orange & Slate) ── */
  --theme-primary: #f28020; /* Vibrant Orange from Logo */
  --theme-primary-rgb: 242, 128, 32; /* Orange RGB */
  --theme-dark:    #c45b0a; /* Darker Orange */
  --theme-glow:    rgba(var(--theme-primary-rgb), 0.25);
  --theme-subtle:  rgba(var(--theme-primary-rgb), 0.08);

  /* Fallback aliases to ensure full backward compatibility */
  --green-primary: var(--theme-primary);
  --green-primary-rgb: var(--theme-primary-rgb);
  --green-dark:    var(--theme-dark);
  --green-glow:    var(--theme-glow);
  --green-subtle:  var(--theme-subtle);

  /* Dark slate/navy backgrounds matching the logo text */
  --bg-primary:    #0b0f19;
  --bg-secondary:  #111827;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-glass:      rgba(11, 15, 25, 0.85);

  --accent-gold:   #f0c040;
  --accent-blue:   #38bdf8;

  --text-primary:  #f3f4f6;
  --text-secondary:#9ca3af;
  --text-muted:    #4b5563;

  --border:        rgba(var(--theme-primary-rgb), 0.15);
  --border-strong: rgba(var(--theme-primary-rgb), 0.35);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  --shadow-card:   0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 30px rgba(var(--theme-primary-rgb), 0.20);
  --shadow-glow-strong: 0 0 60px rgba(var(--theme-primary-rgb), 0.35);

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Input defaults for dark mode */
  --bg-input:      rgba(255, 255, 255, 0.04);
  --bg-input-focus:rgba(var(--theme-primary-rgb), 0.04);
}

/* ── Light Mode CSS Variables Overrides ── */
.light-mode {
  --bg-primary:    #f8fafc; /* Slate 50 */
  --bg-secondary:  #f1f5f9; /* Slate 100 */
  --bg-card:       #ffffff;  /* White card */
  --bg-glass:      rgba(248, 250, 252, 0.85);

  --text-primary:  #0f172a; /* Slate 900 */
  --text-secondary:#475569; /* Slate 600 */
  --text-muted:    #94a3b8; /* Slate 400 */

  --border:        rgba(var(--theme-primary-rgb), 0.12);
  --border-strong: rgba(var(--theme-primary-rgb), 0.28);

  --shadow-card:   0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-glow:   0 0 20px rgba(var(--theme-primary-rgb), 0.12);
  --shadow-glow-strong: 0 0 40px rgba(var(--theme-primary-rgb), 0.22);

  --bg-input:      #e2e8f0; /* Slate 200 */
  --bg-input-focus:#ffffff;
}

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

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

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

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }
input, select, textarea { font-family: 'Inter', sans-serif; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-primary); }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.navbar.scrolled,
.navbar.menu-open {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-glow);
}
.nav-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav-logo .logo-text span { color: var(--green-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: var(--green-subtle);
  border-color: var(--green-primary);
  color: var(--green-primary);
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-primary) 0%, #22c55e 100%);
  color: #050a07;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(var(--theme-primary-rgb),0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--theme-primary-rgb),0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/gallery/photos/exterior_day.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,13,10,0.92) 0%,
    rgba(8,13,10,0.75) 50%,
    rgba(26,71,42,0.5) 100%
  );
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-20vh) translateX(30px); opacity: 0; }
}

.hero .container { position: relative; z-index: 2; padding-top: 100px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--theme-primary-rgb),0.12);
  border: 1px solid rgba(var(--theme-primary-rgb),0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s 0.1s ease both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--green-primary), #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s 0.5s ease both;
}
.stat-item { text-align: left; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s 1s ease both;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--green-primary);
  border-radius: 2px;
  animation: scroll-bounce 2s ease infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%       { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 100px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green-primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--green-primary);
  border-radius: 1px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-label::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--green-primary);
  border-radius: 1px;
}
.text-center .section-desc { margin: 0 auto; }

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.facilities { background: var(--bg-secondary); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.facility-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
}
.facility-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.facility-card.opening-soon {
  opacity: 0.75;
  cursor: default;
}
.facility-card.opening-soon:hover { transform: none; box-shadow: none; }

.facility-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}
.facility-card:hover .facility-img { transform: scale(1.05); }
.facility-card.opening-soon:hover .facility-img { transform: none; }

.facility-img-wrap { overflow: hidden; position: relative; }
.soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,13,10,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-badge {
  background: var(--accent-gold);
  color: #1a1000;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(240,192,64,0.4);
}

.facility-body { padding: 28px; }
.facility-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.facility-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.facility-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.facility-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tag {
  background: var(--green-subtle);
  border: 1px solid var(--border);
  color: var(--green-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.facility-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 6px var(--green-primary);
  animation: pulse-status 2s ease infinite;
}
.status-dot.inactive {
  background: var(--accent-gold);
  box-shadow: 0 0 6px var(--accent-gold);
  animation: none;
}
@keyframes pulse-status {
  0%, 100% { box-shadow: 0 0 6px var(--green-primary); }
  50%       { box-shadow: 0 0 12px var(--green-primary); }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--bg-primary); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 40px; left: 16.66%; right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong), var(--green-primary), var(--border-strong), transparent);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--bg-secondary));
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-primary);
  box-shadow: 0 0 20px rgba(var(--theme-primary-rgb),0.15);
  transition: all var(--transition);
}
.step-item:hover .step-number {
  background: linear-gradient(135deg, var(--green-primary), #22c55e);
  color: #050a07;
  box-shadow: var(--shadow-glow-strong);
  transform: scale(1.1);
}
.step-emoji { font-size: 1.8rem; }
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { background: var(--bg-secondary); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.about-img-badge .big-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-primary);
}
.about-img-badge .label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 44px; height: 44px;
  background: var(--green-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.about-feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
.contact-cta { background: var(--bg-primary); }
.cta-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, rgba(26,71,42,0.3) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(var(--theme-primary-rgb),0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.contact-item span:first-child { font-size: 1.3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}
.footer-logo span { color: var(--green-primary); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-primary); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
}
.auth-bg-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(var(--theme-primary-rgb),0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(26,71,42,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 48px;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.6s ease both;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}
.auth-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.auth-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}
.auth-logo .logo-text span { color: var(--green-primary); }
.auth-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.auth-subtitle { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 36px; }
.auth-subtitle a { color: var(--green-primary); font-weight: 600; }
.auth-subtitle a:hover { text-decoration: underline; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--green-primary);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb),0.12);
}
.form-control.error { border-color: #ef4444; }
.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
  display: none;
}
.form-error.visible { display: block; }
.input-wrapper { position: relative; }
.input-wrapper .form-control { padding-left: 44px; }
.input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}
.btn-full { width: 100%; padding: 14px; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-full:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}
.alert.visible { display: flex; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(var(--theme-primary-rgb),0.1); border: 1px solid rgba(var(--theme-primary-rgb),0.3); color: var(--green-primary); }

/* Google Sign-in Button styling */
.btn-google {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
}
.btn-google:hover {
  background: var(--bg-input) !important;
  border-color: var(--text-muted) !important;
  transform: translateY(-1px);
}
.btn-google:active {
  transform: translateY(0);
}
.google-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-page {
  min-height: 100vh;
  background: var(--bg-primary);
  padding-top: 80px;
}
.booking-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.booking-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.booking-title { font-size: 1.6rem; font-weight: 800; }
.booking-title small { display: block; font-size: 0.85rem; font-weight: 400; color: var(--text-secondary); margin-top: 4px; }
.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), #22c55e);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #050a07;
}
.user-name { font-size: 0.9rem; font-weight: 600; }
.user-email { font-size: 0.78rem; color: var(--text-muted); }

.booking-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  padding: 40px 0;
  align-items: start;
}

/* Sidebar */
.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Date picker */
.date-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
  cursor: pointer;
}
.date-input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb),0.12);
}
.date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) hue-rotate(90deg);
  cursor: pointer;
}
.light-mode .date-input::-webkit-calendar-picker-indicator {
  filter: none;
}

/* Court selector */
.court-tabs {
  display: flex;
  gap: 8px;
}
.court-tab {
  flex: 1;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
}
.court-tab:hover { border-color: var(--border-strong); color: var(--text-primary); }
.court-tab.active {
  background: var(--green-subtle);
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* Legend */
.legend { display: flex; flex-direction: column; gap: 10px; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 0.83rem; color: var(--text-secondary); }
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.legend-dot.available { background: rgba(var(--theme-primary-rgb),0.15); border: 1.5px solid rgba(var(--theme-primary-rgb),0.4); }
.legend-dot.booked    { background: rgba(239,68,68,0.15); border: 1.5px solid rgba(239,68,68,0.4); }
.legend-dot.mine      { background: rgba(56,189,248,0.15); border: 1.5px solid rgba(56,189,248,0.4); }
.legend-dot.past      { background: rgba(100,100,100,0.15); border: 1.5px solid rgba(100,100,100,0.3); }

/* Slot Grid */
.booking-main { display: flex; flex-direction: column; gap: 28px; }
.slots-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.slots-title { font-size: 1.15rem; font-weight: 700; }
.slots-date-badge {
  background: var(--green-subtle);
  border: 1px solid var(--border);
  color: var(--green-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.slot-btn {
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(var(--theme-primary-rgb),0.35);
  background: rgba(var(--theme-primary-rgb),0.06);
  color: var(--green-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.3;
}
.slot-btn:hover:not(:disabled) {
  background: rgba(var(--theme-primary-rgb),0.18);
  border-color: var(--green-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb),0.2);
}
.slot-btn.reserved {
  border-color: rgba(56,189,248,0.5);
  background: rgba(56,189,248,0.1);
  color: var(--accent-blue);
  cursor: not-allowed;
}
.slot-btn.booked {
  border-color: rgba(34,197,94,0.5);
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  cursor: not-allowed;
}
.slot-btn.past {
  border-color: rgba(100,100,100,0.25);
  background: rgba(100,100,100,0.06);
  color: var(--text-muted);
  cursor: not-allowed;
}
.slot-time { display: block; font-size: 0.92rem; }
.slot-label { display: block; font-size: 0.72rem; font-weight: 400; margin-top: 3px; opacity: 0.7; }

/* My Bookings */
.my-bookings-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.my-bookings-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.booking-list { display: flex; flex-direction: column; gap: 12px; }
.booking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: all var(--transition);
}
.booking-item:hover { border-color: var(--border-strong); }
.booking-item-info { display: flex; align-items: center; gap: 14px; }
.booking-item-icon { font-size: 1.4rem; }
.booking-item-details h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.booking-item-details p { font-size: 0.8rem; color: var(--text-secondary); }
.booking-item-status {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.booking-item-status.status-confirmed {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.booking-item-status.status-reserved {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.booking-item-status.status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.booking-item-status.status-completed {
  background: rgba(100, 100, 100, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(100, 100, 100, 0.2);
}
.no-bookings {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.no-bookings span { display: block; font-size: 2.5rem; margin-bottom: 12px; }

/* Booking Modal / Confirm Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-icon { font-size: 3rem; text-align: center; margin-bottom: 16px; }
.modal-title { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.modal-desc { color: var(--text-secondary); text-align: center; font-size: 0.9rem; margin-bottom: 28px; }
.modal-details {
  background: var(--green-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.modal-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
}
.modal-detail-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.modal-detail-row .label { color: var(--text-secondary); }
.modal-detail-row .value { font-weight: 600; color: var(--green-primary); }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  background: var(--bg-primary);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 260px;
  gap: 24px;
  margin-top: 50px;
}
.photo-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.photo-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.photo-item.photo-tall {
  grid-row: span 2;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.photo-item:hover img {
  transform: scale(1.05);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,13,10,0.85) 0%, rgba(8,13,10,0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  transition: opacity var(--transition);
  z-index: 2;
}
.photo-item:hover .photo-overlay {
  opacity: 1;
}
.photo-caption {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.photo-zoom {
  font-size: 1.2rem;
  color: var(--green-primary);
}

/* ── Video Gallery ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.video-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.video-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.video-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-4px);
}
.gallery-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}
.video-title {
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,10,7,0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 50px rgba(0,0,0,0.8);
  border: 1px solid var(--border-strong);
  transition: opacity 0.2s ease-in-out;
}
.lightbox-caption {
  margin-top: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}
.lightbox-counter {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lightbox-close {
  position: absolute;
  top: 30px; right: 30px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 3rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
  cursor: pointer;
}
.lightbox-close:hover {
  opacity: 1;
  color: var(--green-primary);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 2.5rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: all var(--transition);
  cursor: pointer;
}
.lightbox-nav:hover {
  opacity: 1;
  background: var(--green-subtle);
  border-color: var(--green-primary);
  color: var(--green-primary);
}
.lightbox-nav.prev { left: 40px; }
.lightbox-nav.next { right: 40px; }

@media (max-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 220px;
  }
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: 200px;
  }
  .lightbox-nav {
    width: 44px; height: 44px;
    font-size: 1.8rem;
  }
  .lightbox-nav.prev { left: 16px; }
  .lightbox-nav.next { right: 16px; }
  .lightbox-close { top: 16px; right: 16px; font-size: 2.5rem; }
}

/* ============================================================
   OFFERS SECTION
   ============================================================ */
.offers {
  background: var(--bg-secondary);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  margin-top: 50px;
}
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.offer-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.offer-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.offer-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1; /* Makes it square, perfect for flyers */
}
.offer-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.offer-card:hover .offer-card-img-wrap img {
  transform: scale(1.04);
}
.offer-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--theme-primary);
  color: #050a07;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(242, 128, 32, 0.4);
}
.offer-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.offer-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.offer-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.offer-card-details {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}
.offer-card-details li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.offer-card-details li span {
  color: var(--theme-primary);
  font-weight: bold;
}
.offer-card-btn {
  margin-top: auto;
}

/* ── Offers Popup ── */
.offer-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 7, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.offer-popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.offer-popup-card {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow-strong), 0 20px 80px rgba(0,0,0,0.8);
  transform: translateY(30px) scale(0.95);
  transition: all var(--transition);
}
.offer-popup-overlay.open .offer-popup-card {
  transform: translateY(0) scale(1);
}
.offer-popup-close {
  position: absolute;
  top: 15px; right: 15px;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition);
}
.offer-popup-close:hover {
  background: var(--theme-primary);
  color: #050a07;
  border-color: var(--theme-primary);
}
.offer-popup-image-wrap {
  width: 100%;
  display: block;
}
.offer-popup-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}
.offer-popup-action-bar {
  padding: 16px 24px;
  background: var(--bg-glass);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 320px; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
}
@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: wrap;
  }
  .nav-links, .nav-actions {
    display: none;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
    order: 3;
  }
  .theme-toggle-wrapper {
    order: 2;
    margin-left: auto !important;
  }
  .nav-logo {
    order: 1;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0 10px 0;
    border-top: 1px solid var(--border);
    margin-top: 15px;
    order: 4;
  }
  .nav-actions.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0 10px 0;
    margin-top: 5px;
    order: 5;
  }
  .facilities-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::after { display: none; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .cta-card { padding: 48px 28px; }
  .contact-info { flex-direction: column; align-items: center; }
  .auth-card { padding: 32px 24px; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-actions { flex-direction: column; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .logo-title-text { font-size: 1.1rem; }
  .logo-motto-text { display: none; }
}

/* ── Khelkunja Arena Brand Header Logo & Motto styles ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img-transparent {
  display: block;
  object-fit: contain;
}
.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.logo-title-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.logo-motto-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--theme-primary);
  margin-top: 2px;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 32px;
}

/* ══════════════════ LOCATION & MAP SECTION ══════════════════ */
.location-section {
  background: var(--bg-primary);
}

.location-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 48px;
}

.location-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.loc-card:hover {
  border-color: var(--theme-primary);
  transform: translateX(4px);
}
.loc-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.loc-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--theme-primary);
  margin-bottom: 4px;
}
.loc-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.loc-addr {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.landmarks {
  background: linear-gradient(135deg, rgba(var(--green-primary-rgb, 74,222,128), 0.05), transparent);
  border: 1px solid var(--border);
  border-left: 3px solid var(--theme-primary);
  border-radius: 12px;
  padding: 16px 20px;
}
.landmark-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.landmark-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.lm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-primary);
  flex-shrink: 0;
}

.location-map-wrap {
  position: relative;
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.location-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
}
.map-pin-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 10, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--theme-primary);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .location-layout {
    grid-template-columns: 1fr;
  }
  .location-map-wrap {
    min-height: 340px;
  }
}
@media (max-width: 480px) {
  .location-map-wrap {
    min-height: 260px;
  }
}

/* ══════════════════ SOCIAL MEDIA LINKS (About Section) ══════════════════ */
.social-links-block {
  margin: 24px 0 8px;
}
.social-links-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.social-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0.95;
}
.facebook-btn {
  background: linear-gradient(135deg, #1877F2, #0a5fd8);
  color: #fff;
}
.tiktok-btn {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-stat {
  background: rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 500;
  margin-left: 4px;
}

/* ══════════════════ FOOTER SOCIAL ICONS ══════════════════ */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social-icon:hover {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #0a0e0a;
  transform: translateY(-3px);
}

/* ══════════════════ WHATSAPP BUTTONS ══════════════════ */

/* Floating WhatsApp bubble */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 13px 20px 13px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.3s ease;
  overflow: hidden;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: #25D366;
  animation: wa-pulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-float-label {
  white-space: nowrap;
}

/* Inline WhatsApp badge next to phone number */
.whatsapp-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 8px;
  transition: background 0.2s, transform 0.2s;
  vertical-align: middle;
}
.whatsapp-inline-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

/* WhatsApp button inside location card */
.whatsapp-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-loc-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* WhatsApp icon in footer social row */
.footer-whatsapp:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 12px 16px 12px 14px;
    font-size: 0.82rem;
  }
  .whatsapp-float-label {
    display: none;
  }
  .whatsapp-float {
    border-radius: 50%;
    padding: 14px;
  }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0;
  outline: none;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  border-color: var(--theme-primary);
  background: var(--theme-subtle);
  transform: translateY(-2px) rotate(15deg);
  box-shadow: var(--shadow-glow);
}
.theme-toggle-btn:active {
  transform: translateY(0);
}

.theme-toggle-sun { display: none; }
.theme-toggle-moon { display: block; }

.light-mode .theme-toggle-sun { display: block; color: var(--theme-primary); }
.light-mode .theme-toggle-moon { display: none; }

.theme-toggle-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  user-select: none;
  line-height: 1;
}
.theme-toggle-label::after {
  content: 'Dark';
}
.light-mode .theme-toggle-label::after {
  content: 'Light';
}


/* ============================================================
   ADMIN PORTAL
   ============================================================ */
.admin-portal-page {
  background: var(--bg-primary);
}
.admin-passcode-card {
  max-width: 420px;
  margin: 10% auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  transition: transform var(--transition);
}
.admin-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.admin-stat-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.admin-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}
.admin-control-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.admin-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.admin-filter-group {
  display: flex;
  flex-direction: column;
}
.admin-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.admin-table-wrapper {
  overflow-x: auto;
}
.admin-bookings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.admin-bookings-table th {
  border-bottom: 2px solid var(--border);
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-bookings-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  vertical-align: middle;
}
.admin-bookings-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}
.admin-client-info {
  display: flex;
  flex-direction: column;
}
.admin-client-info .client-name {
  font-weight: 600;
  color: var(--text-primary);
}
.admin-client-info .client-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.admin-phone-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
}
.admin-phone-link:hover {
  color: var(--theme-primary);
}
.admin-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
}
.admin-wa-link:hover {
  text-decoration: underline;
}
.admin-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-reserved {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.badge-confirmed {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.admin-actions-cell {
  display: flex;
  gap: 8px;
}
.btn-action-confirm {
  background: #22c55e !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  cursor: pointer;
}
.btn-action-confirm:hover {
  background: #1ebe5d !important;
  transform: translateY(-1px);
}
.btn-action-cancel {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  border: 1.5px solid rgba(239, 68, 68, 0.3) !important;
  font-size: 0.75rem !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  cursor: pointer;
}
.btn-action-cancel:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .admin-filters-row {
    grid-template-columns: 1fr;
  }
  .admin-actions-cell {
    flex-direction: column;
  }
}


