/* ================================================================
   DZENITH — PREMIUM PRODUCTION-READY V3.1
   Refined Sizing, Vibrant Colors & Layout Fixes
   ================================================================ */

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

:root {
  /* Ultra-Refined Colors */
  --past-gold:       #D4AF37;
  --present-blue:    #2563EB;
  --future-cyan:     #00F0FF;
  --future-purple:   #8B5CF6;
  
  /* Core UI */
  --bg-deep:         #030305;
  --bg-card:         rgba(255, 255, 255, 0.02);
  --border-light:    rgba(255, 255, 255, 0.08);
  --border-hover:    rgba(255, 255, 255, 0.2);
  
  /* Text */
  --text-main:       #F8FAFC;
  --text-muted:      #94A3B8;
  
  /* Typography */
  --font-heading:    'Outfit', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Apple-style Easing */
  --ease-spring:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --section-py:      clamp(60px, 8vw, 100px);
  --container-max:   1200px;
}

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

/* scroll-behavior managed by JS inertial engine (see bottom of file) */

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Cinematic Noise Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0; /* covers full viewport — no need for explicit width/height */
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Custom Cursor (Refined) ── */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--text-main);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-spring);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), border-color 0.3s var(--ease-spring);
  mix-blend-mode: difference;
}
.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* ── Particle Canvas ── */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

/* ── Ambient Background Morphing ── */
.era-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-deep);
  transition: background 2s var(--ease-spring);
}

.era-bg::before,
.era-bg::after {
  content: '';
  position: absolute;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  transition: all 2s var(--ease-spring);
  z-index: -1;
}

.era-bg.era-past::before {
  background: var(--past-gold);
  top: -20%; left: -10%;
}
.era-bg.era-past::after {
  background: #A67C00;
  bottom: -20%; right: -10%;
}

.era-bg.era-present::before {
  background: var(--present-blue);
  top: 20%; left: 20%;
  opacity: 0.08;
}
.era-bg.era-present::after {
  background: #ffffff;
  bottom: -10%; right: -10%;
  opacity: 0.05;
}

.era-bg.era-future::before {
  background: var(--future-cyan);
  top: -10%; right: -10%;
  opacity: 0.12;
}
.era-bg.era-future::after {
  background: var(--future-purple);
  bottom: -10%; left: -10%;
  opacity: 0.12;
}

/* .blob removed — elements have been removed from HTML markup */

/* ================================================================
   SECTION BASE
   ================================================================ */
section {
  position: relative;
  width: 100%;
  padding: var(--section-py) 0;
  z-index: 1;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--future-cyan);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, #FFF 0%, var(--past-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-future {
  background: linear-gradient(135deg, #FFF 0%, var(--future-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-white {
  background: linear-gradient(135deg, #FFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.logo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 60px);
  z-index: 1100;
  transition: all 0.4s var(--ease-spring);
  background: transparent;
  pointer-events: none;
  border-bottom: 1px solid transparent;
}

.logo-bar.scrolled {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  pointer-events: auto;
}

.logo-bar img {
  width: 45px;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.3s;
}
.logo-brand:hover img { opacity: 1; }

.logo-brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  -webkit-text-fill-color: var(--text-main);
  background: none;
}

/* ── Desktop Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(24px, 5vw, 60px);
  z-index: 1099;
  pointer-events: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  pointer-events: auto;
}

nav ul li a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s var(--ease-spring);
  padding: 8px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-spring);
}

nav ul li a:hover {
  color: var(--text-main);
}
nav ul li a:hover::after,
nav ul li a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
nav ul li a.active {
  color: var(--text-main);
}

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  nav { display: none; }

  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(3, 3, 5, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-light);
    padding: 12px 16px 24px;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    pointer-events: auto;
  }

  .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-item a {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: color 0.3s var(--ease-spring);
  }

  .icon-circle {
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: all 0.4s var(--ease-spring);
  }

  .nav-item span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
  }

  .nav-item.active a {
    color: var(--text-main);
  }
  .nav-item.active .icon-circle {
    transform: translateY(-4px);
    color: var(--future-cyan);
  }
}

@media (max-width: 480px) {
  body { padding-top: 80px; }
  .logo-bar {
    background: rgba(3, 3, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
  }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 32px;
  height: 52px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.4s var(--ease-spring);
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-deep);
  border-color: var(--text-main);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: transparent;
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.btn-glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border-color: var(--border-light);
  color: var(--text-main);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ================================================================
   PREMIUM CARDS (Linear/Apple style)
   ================================================================ */
.glass-card, .profile-card, .neon-card, .event-content, .sponsor-info-card, .single_propram, .contact-medium, .about-card, .single_performer, .get-in-touch, .gallery-item {
  background: var(--bg-card) !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 16px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-spring) !important;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.2) !important;
}

/* Specific paddings depending on use case */
.sponsor-info-card, .contact-medium, .about-card, .get-in-touch {
  padding: 32px !important;
}
.profile-card {
  padding: 24px !important;
}
.event-content {
  padding: 0 !important;
}

/* Hover dynamic glow */
.glass-card::before, .profile-card::before, .event-content::before, .about-card::before, .get-in-touch::before, .contact-medium::before, .gallery-item::before, .sponsor-info-card::before, .single_propram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-spring);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.glass-card:hover::before, .profile-card:hover::before, .event-content:hover::before, .about-card:hover::before, .get-in-touch:hover::before, .contact-medium:hover::before, .gallery-item:hover::before, .sponsor-info-card:hover::before, .single_propram:hover::before {
  opacity: 1;
}

.glass-card:hover, .profile-card:hover, .neon-card:hover, .event-content:hover, .sponsor-info-card:hover, .single_propram:hover, .contact-medium:hover, .about-card:hover, .single_performer:hover, .gallery-item:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5) !important;
}

/* Ensure content stays above glow */
.glass-card > *, .profile-card > *, .event-content > *, .about-card > *, .get-in-touch > *, .contact-medium > *, .gallery-item > * {
  position: relative;
  z-index: 1;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* .hero-layer: removed — element never exists in any HTML page */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
  pointer-events: none;
}

.hero-image-container img {
  opacity: 0.15;
  filter: contrast(1.1);
  object-fit: cover;
  width: 100%; height: 100%;
}

/* ================================================================
   HERO ERA PHOTO MOSAIC
   ================================================================ */
.hero-photo-mosaic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-photo-mosaic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 70% 80% at 50% 50%,
    transparent 20%, rgba(0,0,0,0.85) 80%);
}

.mosaic-photo {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: mosaicDrift 18s ease-in-out infinite;
}

.mosaic-photo:nth-child(1)  { width: 220px; height: 160px; top: 8%;  left: 2%;   animation-delay: 0s;    animation-duration: 20s; }
.mosaic-photo:nth-child(2)  { width: 180px; height: 130px; top: 60%; left: 1%;   animation-delay: 2s;    animation-duration: 22s; }
.mosaic-photo:nth-child(3)  { width: 200px; height: 150px; top: 20%; left: 78%;  animation-delay: 4s;    animation-duration: 19s; }
.mosaic-photo:nth-child(4)  { width: 160px; height: 120px; top: 72%; left: 80%;  animation-delay: 1s;    animation-duration: 24s; }
.mosaic-photo:nth-child(5)  { width: 140px; height: 110px; top: 4%;  left: 40%;  animation-delay: 3s;    animation-duration: 21s; }
.mosaic-photo:nth-child(6)  { width: 170px; height: 130px; top: 78%; left: 38%;  animation-delay: 5s;    animation-duration: 23s; }
.mosaic-photo:nth-child(7)  { width: 150px; height: 110px; top: 40%; left: 0%;   animation-delay: 2.5s;  animation-duration: 20s; }
.mosaic-photo:nth-child(8)  { width: 180px; height: 135px; top: 42%; left: 82%;  animation-delay: 0.5s;  animation-duration: 22s; }

@keyframes mosaicDrift {
  0%   { opacity: 0;    transform: translateY(0px) scale(0.96) rotate(-1deg); }
  10%  { opacity: 0.35; }
  50%  { opacity: 0.22; transform: translateY(-12px) scale(1.02) rotate(0.5deg); }
  90%  { opacity: 0.35; }
  100% { opacity: 0;    transform: translateY(0px) scale(0.96) rotate(-1deg); }
}

/* Era-specific photo tints */
[data-era="past"]    .mosaic-photo { filter: sepia(0.6) contrast(1.1) brightness(0.8); border-color: rgba(212,175,55,0.25); }
[data-era="present"] .mosaic-photo { filter: saturate(1.2) brightness(0.75) hue-rotate(10deg); border-color: rgba(37,99,235,0.25); }
[data-era="future"]  .mosaic-photo { filter: saturate(0.8) brightness(0.7) hue-rotate(170deg); border-color: rgba(0,240,255,0.25); }

/* Make sure hero overlay is above the mosaic */
.hero-overlay { position: relative; z-index: 2; }
.hero-grid     { z-index: 1; }
.hero-scroll-hint { z-index: 2; }

.hero-overlay {
  padding: 0 24px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-era-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 8px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  animation: fadeInDown 1s var(--ease-spring) forwards;
}

.hero-dept {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  animation: fadeInUp 1s var(--ease-spring) 0.2s both;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleReveal 1.2s var(--ease-spring) 0.4s both;
  margin-bottom: 12px;
}

@keyframes titleReveal {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-muted);
  animation: fadeInUp 1s var(--ease-spring) 0.6s both;
  max-width: 600px;
}
.hero-subtitle em { font-style: normal; color: var(--text-main); }

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 1s var(--ease-spring) 0.8s both;
  margin-top: 16px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  animation: fadeIn 2s var(--ease-spring) 1.5s both;
}
.hero-scroll-hint .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 1s var(--ease-spring), transform 1s var(--ease-spring), filter 1s var(--ease-spring);
  filter: blur(4px);
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.95); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ================================================================
   PAST SECTION (Sponsors & Home Memory)
   ================================================================ */
.sponsor-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.sponsor-info-card { text-align: left; align-items: flex-start; }
.sponsor-info-card::before { display: none; }
.sponsor-logo-card img { filter: grayscale(1) opacity(0.8); transition: all 0.5s; height: 60px; object-fit: contain; }
.sponsor-info-card:hover .sponsor-logo-card img { filter: grayscale(0) opacity(1); }
.sponsor-info-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--text-main); }
.sponsor-info-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* Sliders */
.slider button {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-main) !important;
  backdrop-filter: blur(12px);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; transition: all 0.3s;
}
.slider button:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.slider button.prev { left: 24px; }
.slider button.next { right: 24px; }
.slide img { filter: grayscale(0.2) contrast(1.1); width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-deep) 0%, transparent 40%); border-radius: 16px; pointer-events: none; }
.slider, .past-slider-wrap, .next-event-slider-wrap { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; }

/* ================================================================
   PRESENT SECTION (Video)
   ================================================================ */
.video-wrapper {
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.video-wrapper iframe, .video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  object-fit: cover;
}

/* ================================================================
   FUTURE SECTION (Events)
   ================================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.event-content { height: 360px; display: flex; flex-direction: column; }
.event-img { height: 100%; width: 100%; position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.event-img img { filter: grayscale(0.4) brightness(0.7); transition: all 0.8s var(--ease-spring); width: 100%; height: 100%; object-fit: cover; }
.event-content:hover .event-img img { filter: grayscale(0) brightness(0.9); transform: scale(1.05); }

.event-img-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-deep) 5%, transparent 60%); z-index: 1; pointer-events: none;
}

.event-title {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  font-size: 1.4rem;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-weight: 700;
}
.event-category-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 2;
}

/* Event List specific to events page */
.program_detail_wrap { display: grid; gap: 20px; }
.single_propram { padding: 20px !important; display: flex; align-items: center; gap: 24px; }
.single_propram .inner_wrap { display: flex; align-items: center; gap: 24px; width: 100%; }
.single_propram .thumb { width: 100px; height: 100px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); }
.single_propram .thumb img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s var(--ease-spring); }
.single_propram:hover .thumb img { transform: scale(1.08); }
.single_propram h4 { font-size: 1.2rem; color: var(--text-main); margin-bottom: 4px; }
.single_propram span { font-size: 0.95rem; color: var(--text-muted); }
.single_propram .date-text { margin-left: auto; color: var(--future-cyan); font-size: 1rem; font-weight: 600; }

.single_performer { padding: 20px !important; display: flex; align-items: center; gap: 20px; margin-bottom: 0; }
.single_performer .thumb { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; }
.single_performer .performer_heading h4 { font-size: 1.15rem; color: var(--text-main); margin-bottom: 4px; }
.single_performer .performer_heading span { font-size: 0.9rem; color: var(--future-cyan); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-bottom: 48px; }
.about-title { font-size: 1.8rem; color: var(--text-main); margin-bottom: 20px; }
.about-text { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.first-letter { color: var(--text-main); font-weight: 600; font-family: var(--font-heading); font-size: 2.8rem; float: left; line-height: 0.8; margin: 8px 12px 0 0; }
.about-image { max-width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.about-image img { width: 100%; height: auto; display: block; }

/* Testimonials */
.testimonial-container { max-width: 900px; margin: 0 auto; position: relative; min-height: 240px; }
.testimonial { display: none; gap: 32px; align-items: flex-start; }
.testimonial.active { display: flex; animation: fadeSlide 0.6s var(--ease-spring); }
.user-avatar { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border-light); flex-shrink: 0; margin: 0; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-content { flex: 1; }
.testimonial-content h2 { color: var(--text-main); font-size: 1.25rem; margin-bottom: 12px; }
.testimonial-content p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.8; font-style: italic; }
.testimonial-content a { color: var(--future-cyan); font-weight: 500; font-size: 0.95rem; display: block; margin-top: 16px; text-decoration: none; }
.testimonial-container button { background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); color: var(--text-main); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; position: absolute; bottom: 0; z-index: 10; }
.testimonial-container button:hover { background: rgba(255,255,255,0.15); }
.testimonial-container .prev { right: 60px; }
.testimonial-container .next { right: 8px; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   ORGANIZERS PAGE
   ================================================================ */
.profile-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 40px; margin-bottom: 40px; }
.profile-card { flex: 1 1 200px; max-width: 240px; padding: 32px 20px !important; text-align: center; }
.profile-image {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  transition: all 0.4s var(--ease-spring);
}
.profile-card:hover .profile-image { border-color: rgba(255,255,255,0.4); transform: scale(1.05); }
.profile-card h2 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 6px; letter-spacing: -0.02em; text-transform: capitalize; }
.profile-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.social-icons a { color: var(--text-muted); font-size: 1.1rem; transition: color 0.3s; }
.social-icons a:hover { color: #E1306C; }

/* Core Poster Grid (organizers.html — moved from inline <style>) */
.core-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}

.core-poster-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(10, 15, 25, 0.8);
  border: 1.5px solid rgba(0, 243, 255, 0.25);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
  cursor: pointer;
  aspect-ratio: 3/4;
}

.core-poster-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 243, 255, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 243, 255, 0.3);
}

.core-poster-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.core-poster-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .core-poster-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .core-poster-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
}

/* Leadership Banner Card (organizers.html top banner) */
.leadership-banner-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 243, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 243, 255, 0.15);
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.leadership-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 243, 255, 0.25);
}

/* Modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(3,3,5,0.95); backdrop-filter: blur(24px); z-index: 99999; justify-content: center; align-items: center; }
.modal-content { max-width: 90vw; max-height: 85vh; border: 1px solid var(--border-light); border-radius: 16px; object-fit: contain; }
.close { position: absolute; top: 24px; right: 32px; color: var(--text-main); font-size: 2.5rem; cursor: pointer; transition: color 0.3s; line-height: 1; opacity: 0.7; }
.close:hover { opacity: 1; color: var(--future-cyan); }
#caption { color: var(--text-muted); text-align: center; margin-top: 16px; font-size: 1rem; font-family: var(--font-heading); }

/* ================================================================
   MEMORIES PAGE & GALLERY
   ================================================================ */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 0; }
.gallery-item {
  width: 300px;
  padding: 0 !important;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px 16px 0 0; transition: all 0.5s var(--ease-spring); }
.gallery-item:hover img { filter: brightness(1.1); transform: scale(1.03); }
.gallery-item .descriptionn, .gallery-item p { background: transparent; color: var(--text-main); font-weight: 600; text-align: center; padding: 16px; font-size: 1.05rem; }

section .gallery img {
  width: 280px; height: 200px;
  object-fit: cover; border-radius: 16px;
  border: 1px solid var(--border-light);
  cursor: pointer; transition: all 0.4s var(--ease-spring);
}
section .gallery img:hover {
  transform: scale(1.05) translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

/* ================================================================
   BENTO GALLERY GRID (gallary2024.html)
   ================================================================ */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
  width: 100%;
}

.gallery-bento-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  transition: all 0.5s var(--ease-spring);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.3);
}

/* Wide: spans 2 columns */
.gallery-bento-item.bento-wide {
  grid-column: span 2;
}

/* Tall: spans 2 rows */
.gallery-bento-item.bento-tall {
  grid-row: span 2;
}

/* Full-width: spans all 3 columns */
.gallery-bento-item.bento-full {
  grid-column: 1 / -1;
  grid-auto-rows: 320px;
  height: 320px;
}

.gallery-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring), filter 0.5s var(--ease-spring);
  filter: brightness(0.85);
}

.gallery-bento-item:hover {
  border-color: var(--border-hover) !important;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6) !important;
  transform: translateY(-4px) !important;
}

.gallery-bento-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* Caption overlay */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,3,5,0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-spring);
}

.gallery-bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-overlay span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .gallery-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-bento-item.bento-wide { grid-column: span 2; }
  .gallery-bento-item.bento-tall { grid-row: span 1; }
  .gallery-bento-item.bento-full { grid-column: 1 / -1; height: 240px; }
}

@media (max-width: 480px) {
  .gallery-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-bento-item.bento-wide,
  .gallery-bento-item.bento-tall,
  .gallery-bento-item.bento-full { grid-column: span 1; grid-row: span 1; height: 220px; }
  .bento-overlay { opacity: 1; }
}

/* ================================================================
   INERTIAL SCROLL (smooth momentum-based body scroll)
   ================================================================ */
html {
  scroll-behavior: auto; /* JS handles smooth; avoid double-smoothing */
}

.blockquote {
  padding: 32px !important;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
}
.blockquote strong { font-size: 0.95rem; color: var(--text-main); display: block; margin-top: 16px; font-style: normal; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-page-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5); }
.contact-page-map iframe { filter: invert(0.9) hue-rotate(200deg); width: 100%; height: 100%; border: none; }

.contact-medium { display: flex; align-items: flex-start; gap: 20px; }
.contact-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); color: var(--text-main); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-content .entry-title { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.contact-content .entry-content { color: var(--text-main) !important; font-size: 1.05rem; font-weight: 500; text-decoration: none; line-height: 1.6; }

.get-in-touch { max-width: 800px; margin: 0 auto; text-align: center; }
.get-in-touch .entry-header p { color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.get-in-touch .entry-header h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--text-main); margin-bottom: 24px; }
.get-in-touch .entry-content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }

.contact-form { text-align: left; }
.contact-form .row { display: grid; gap: 20px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.3s var(--ease-spring);
  outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
}
.contact-form textarea { min-height: 160px; resize: vertical; }

/* Bootstrap Overrides */
.row { display: flex; flex-wrap: wrap; margin: 0; gap: 24px; }
.col-md-4, .col-md-6, .col-lg-4, .col-12 { flex: 1; padding: 0 !important; }
.col-md-4 { min-width: 280px; }
.col-md-6 { min-width: 320px; }
.col-12 { width: 100%; flex: none; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: transparent; border-top: 1px solid var(--border-light); padding: 0; margin-top: 60px; }
.footer-cover-title { padding: 80px 20px 40px; text-align: center; border-bottom: 1px solid var(--border-light); background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%); }
.footer-cover-title h2 {
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 900;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  margin: 0; line-height: 1;
}

.footer-content-wrapper { padding: 40px 20px; text-align: center; }
.entry-mail a { color: var(--text-main); font-size: 1.1rem; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.entry-mail a:hover { color: var(--future-cyan); }
.copyright-info { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; position: relative; display: inline-block; cursor: pointer; }

.tooltip {
  visibility: hidden; opacity: 0;
  background: rgba(3,3,5,0.95); backdrop-filter: blur(20px); border: 1px solid var(--border-light);
  color: var(--text-muted); border-radius: 12px; padding: 16px 20px;
  position: absolute; bottom: 140%; left: 50%; transform: translateX(-50%) translateY(10px);
  transition: all 0.3s var(--ease-spring); white-space: nowrap; font-size: 0.85rem; z-index: 10;
  text-align: left; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.tooltip::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px;
  border-width: 6px; border-style: solid; border-color: var(--border-light) transparent transparent transparent;
}
.copyright-info:hover .tooltip { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.tooltip p, .tooltip ul, .tooltip li { margin-bottom: 6px; }
.tooltip strong { color: var(--text-main); }
.tooltip ul { list-style: none; padding: 0; }

.footer-social ul { display: flex; justify-content: center; gap: 16px; list-style: none; margin: 32px 0 0; padding: 0; }
.footer-social ul li a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; text-decoration: none; transition: all 0.4s var(--ease-spring);
}
.footer-social ul li a:hover { background: var(--text-main); color: var(--bg-deep); transform: translateY(-4px); }

/* ================================================================
   RESPONSIVE OVERRIDES
   ================================================================ */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }
  
  /* Layout stacks */
  .about-container { grid-template-columns: 1fr; }
  .profile-card { flex: 1 1 calc(50% - 12px); max-width: none; }
  .events-grid { grid-template-columns: 1fr; }
  
  .event-content { height: 260px; }
  .event-title { font-size: 1.25rem; }
  
  .contact-form .row { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .contact-medium { flex-direction: column; align-items: center; text-align: center; }
  .contact-medium .contact-icon { margin-right: 0 !important; margin-bottom: 16px; }
  
  .single_propram .inner_wrap { flex-direction: column; text-align: center; gap: 12px; }
  .single_propram .date-text { margin: 0 auto; }
  
  .testimonial.active { flex-direction: column; align-items: center; text-align: center; }
  .user-avatar { margin: 0 auto; }
  
  .hero-title { font-size: clamp(3rem, 12vw, 4.5rem); }
}

@media (max-width: 480px) {
  .profile-card { flex: 1 1 100%; }
  section .gallery img { width: 100%; height: auto; aspect-ratio: 4/3; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
  .logo-brand-text { font-size: 1.2rem; }
  .logo-bar img { width: 36px; }
}

/* Fix missing inline styles override for h4 date text in events */
.single_propram h4[style] { font-size: 1rem !important; margin-top: 8px; }
@media (min-width: 769px) { .single_propram h4[style] { margin-left: auto !important; margin-top: 0; } }

/* ================================================================
   MISSING EVENT DETAILS & LEGACY FIXES
   ================================================================ */
.single-event-details {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.single-event-details-row {
  display: flex;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.single-event-details-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.single-event-details-row label {
  width: 120px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.single-event-details-row p {
  margin: 0;
  color: var(--text-main);
  font-size: 1rem;
}
.single-event-map {
  height: 100%;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.single-event-map iframe {
  width: 100%;
  height: 100%;
  filter: invert(0.9) hue-rotate(200deg);
}
.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Utility cleanup */
.p-5 { padding: clamp(24px, 4vw, 48px); }
.mt-5 { margin-top: clamp(32px, 5vw, 64px); }
.mb-5 { margin-bottom: clamp(32px, 5vw, 64px); }
.text-center { text-align: center; }
.mx-auto { margin: 0 auto; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

/* ================================================================
   ERA SECTION DIVIDERS
   ================================================================ */
.era-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  z-index: 1;
  margin: 0 clamp(20px, 5vw, 80px);
}
.era-section-divider::before,
.era-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  opacity: 0.25;
}
.era-divider-past::before,
.era-divider-past::after { background: var(--past-gold); }
.era-divider-present::before,
.era-divider-present::after { background: var(--present-blue); }
.era-divider-future::before,
.era-divider-future::after { background: var(--future-cyan); }

.era-divider-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  white-space: nowrap;
  margin: 0 20px;
  backdrop-filter: blur(8px);
}

/* ================================================================
   GAME CARDS GRID  (Past & Present era game sections)
   ================================================================ */
.events-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.game-card {
  padding: 28px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Coloured icon circle */
.game-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.4);
}

/* Era badge top-right */
.game-card-era-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid;
  text-transform: uppercase;
}
.past-tag {
  color: var(--past-gold);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
}
.present-tag {
  color: var(--present-blue);
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.1);
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0;
  padding-right: 60px; /* clear era tag */
}

.game-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}
.game-card-desc strong { color: var(--text-main); font-weight: 600; }
.game-card-desc em { font-style: italic; color: rgba(255,255,255,0.75); }

/* Meta row: player type, mode */
.game-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.game-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.game-card-meta i {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Hover lift already handled by .glass-card universal rule */

@media (max-width: 768px) {
  .events-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .game-card { padding: 22px !important; }
}

@media (max-width: 480px) {
  .events-game-grid { grid-template-columns: 1fr; }
  .game-card-title { padding-right: 0; font-size: 1.1rem; }
  .game-card-era-tag { position: static; display: inline-block; margin-bottom: -4px; }
}

/* ================================================================
   PRESENT ERA / FUN EVENTS (High-Contrast Black Text on Lime Green)
   ================================================================ */
.present-section .section-label,
.present-section .section_title .section-label {
  color: #000000 !important;
  font-weight: 700;
}

.present-section .section-title,
.present-section .section_title h3,
.present-section .text-gradient-future,
.present-section .text-gradient-white,
.present-section h3 {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  background: none !important;
}

.present-section .section-subtitle,
.present-section .section_title p {
  color: #1e293b !important;
}

/* Present Game Cards */
.present-section .game-card {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.present-section .game-card:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.4) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

.present-section .game-card-title {
  color: #000000 !important;
}

.present-section .game-card-desc {
  color: #1e293b !important;
}

.present-section .game-card-desc strong,
.present-section .game-card-desc em {
  color: #000000 !important;
}

.present-section .game-card-meta {
  border-top-color: rgba(0, 0, 0, 0.15) !important;
}

.present-section .game-card-meta span {
  color: #1e293b !important;
}

.present-section .game-card-meta i {
  color: #000000 !important;
}

.present-section .game-card-era-tag.present-tag {
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.35) !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

/* Present Fun Events / Single Performer Cards */
.present-section .single_performer {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.present-section .single_performer:hover {
  background: rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.4) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

.present-section .performer_heading h4 {
  color: #000000 !important;
  font-weight: 700;
}

.present-section .performer_heading span {
  color: #1e293b !important;
  font-weight: 600;
}

.era-divider-present .era-divider-label {
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  background: rgba(0, 0, 0, 0.06) !important;
}