:root {
  --primary: #4299e1;
  --primary-dark: #3182ce;
  --secondary: #48bb78;
  --accent: #ff4c29;
  --text-dark: #2d3748;
  --text-light: #4a5568;
  --bg-light: #f8fafc;
  --bg-dark: #e2e8f0;
  --card-bg: white;
  --card-bg-dark: #2d3748;
  --hover-bg: #f7fafc;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 5px 15px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 30px;
  --footer-bg: #2d3748;
  --footer-text: white;
  --footer-link: #cbd5e0;
  --timeline-progress-bg: rgba(66, 153, 225, 0.2);
  --nav-bg: rgba(255,255,255,0.95);
  --border-color: rgba(255,255,255,0.1);
  --game-section-bg: white;
  --prize-section-bg: #f6f9fc;
  --partners-section-bg: white;
  --section-bg: var(--bg-light);
}

[data-theme="dark"] {
  --primary: #63b3ed;
  --primary-dark: #4299e1;
  --secondary: #68d391;
  --accent: #ff6b41;
  --text-dark: #f7fafc;
  --text-light: #e2e8f0;
  --bg-light: #1a202c;
  --bg-dark: #171923;
  --card-bg: #2d3748;
  --card-bg-dark: #1e2533;
  --hover-bg: #252d3d;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 5px 15px rgba(0,0,0,0.4);
  --footer-bg: #171923;
  --footer-text: #e2e8f0;
  --footer-link: #cbd5e0;
  --timeline-progress-bg: rgba(66, 153, 225, 0.1);
  --nav-bg: rgba(26, 32, 44, 0.95);
  --border-color: rgba(0,0,0,0.2);
  --game-section-bg: #1e2533;
  --prize-section-bg: #1a202c;
  --partners-section-bg: #1e2533;
  --section-bg: var(--bg-dark);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  padding: 15px 0;
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  max-height: 60px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  background: linear-gradient(135deg, #0a2463 0%, #1e3b7d 50%, #0a2463 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('') no-repeat center center/cover;
  opacity: 0.25;
  z-index: 0;
  mix-blend-mode: luminosity;
}

/* Modern tech pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(61, 122, 255, 0.1) 5%, transparent 10%),
    radial-gradient(circle at 85% 85%, rgba(61, 122, 255, 0.1) 5%, transparent 10%),
    linear-gradient(45deg, transparent 48%, rgba(61, 122, 255, 0.05) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(61, 122, 255, 0.05) 50%, transparent 52%);
  background-size: 30px 30px, 30px 30px, 60px 60px, 60px 60px;
  z-index: 0;
  opacity: 0.7;
}

/* Adjust for dark mode */
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0d1b36 0%, #1a2b4d 50%, #0d1b36 100%);
}

[data-theme="dark"] .hero::before {
  opacity: 0.3;
  mix-blend-mode: soft-light;
}

[data-theme="dark"] .hero::after {
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(63, 161, 255, 0.1) 5%, transparent 10%),
    radial-gradient(circle at 85% 85%, rgba(63, 161, 255, 0.1) 5%, transparent 10%),
    linear-gradient(45deg, transparent 48%, rgba(63, 161, 255, 0.07) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(63, 161, 255, 0.07) 50%, transparent 52%);
  opacity: 0.6;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  color: white; /* Ensures default text color for hero content */
}

.hero::before,
.hero::after,
.hero-content {
  animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: white !important; /* Force white color for hero text elements */
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility on any background */
  position: relative;
  letter-spacing: -1px;
}

.hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 700px;
  color: rgba(255,255,255,0.8);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.logo-container img {
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: 480px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

.typewriter-container {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  line-height: 1.5;
  min-height: 3.6rem; /* Ensure consistent height */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-typewriter {
  font-size: 1.5rem;
  line-height: 1.6;
  min-height: 4.8rem;
  margin-bottom: 50px;
  background: rgba(66, 153, 225, 0.08);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary);
}

[data-theme="dark"] .about-typewriter {
  background: rgba(66, 153, 225, 0.15);
}

.about-typewriter:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: rgba(66, 153, 225, 0.12);
}

.typewriter-text {
  color: var(--text-light);
  font-weight: 400;
}

.about-typewriter .typewriter-text {
  color: var(--primary-dark);
  font-weight: 500;
}

.typewriter-cursor {
  color: var(--primary);
  font-weight: 700;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.stat-plus {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: -5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 15px rgba(255, 76, 41, 0.25);
  border: none;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff7357 100%);
  box-shadow: 0 8px 20px rgba(255, 76, 41, 0.3), 
              0 0 0 0 rgba(255, 76, 41, 0.8);
  animation: pulse-shrink 2s infinite;
}

@keyframes pulse-shrink {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(255, 76, 41, 0.3), 
                0 0 0 0 rgba(255, 76, 41, 0.8);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(255, 76, 41, 0.3), 
                0 0 0 10px rgba(255, 76, 41, 0);
  }
  100% {
    transform: scale(0.98);
    box-shadow: 0 8px 20px rgba(255, 76, 41, 0.3), 
                0 0 0 0 rgba(255, 76, 41, 0);
  }
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 76, 41, 0.4);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #ff6347 0%, #ff8066 100%);
  animation: none;
  box-shadow: 0 15px 30px rgba(255, 76, 41, 0.5);
}

.btn-primary:hover i {
  transform: translateX(3px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-block;
  padding-bottom: 15px;
  position: relative;
  margin-bottom: 20px; /* Added spacing after title */
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--primary);
}

.card:nth-child(even) {
  border-top-color: var(--secondary);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card:nth-child(even)::before {
  background: linear-gradient(135deg, var(--secondary) 0%, transparent 100%);
}

.card:hover::before {
  opacity: 0.05;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.card p {
  margin-bottom: 15px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.game-section {
  background: var(--game-section-bg);
  padding: 80px 0;
  text-align: center;
  transition: background 0.3s ease;
}

.game-preview {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-md);
  margin: 30px auto;
  box-shadow: var(--shadow-lg);
  border: 2px solid white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(66, 153, 225, 0.2);
}

.game-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
}

.feature-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255, 76, 41, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 2rem;
}

[data-theme="dark"] .feature-card:hover .feature-icon {
  transform: translateY(-5px) scale(1.1);
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 20px rgba(255, 107, 65, 0.3);
}

.prize-section {
  background: var(--prize-section-bg);
  padding: 80px 0;
  transition: background 0.3s ease;
}

.prizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.prize-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s, background 0.3s ease;
}

.prize-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.prize-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(66, 153, 225, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.prize-icon i {
  font-size: 2.5rem;
}

[data-theme="dark"] .prize-card:hover .prize-icon {
  transform: translateY(-5px) scale(1.1);
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(99, 179, 237, 0.3);
}

.dates-eligibility {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portal-preview {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-md);
  margin: 30px auto;
  box-shadow: var(--shadow-lg);
}

.visit-counter {
  background: var(--card-bg);
  padding: 15px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  margin: 40px auto;
  border: 2px solid var(--border-color);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.visit-counter::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  background: rgba(66, 153, 225, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.visit-counter i {
  color: var(--primary);
  font-size: 1.3rem;
}

.partners {
  padding: 60px 0;
  background: var(--partners-section-bg);
  transition: background 0.3s ease;
}

[data-theme="dark"] .partners {
  background: #242e3f; /* Slightly lighter than the default dark background */
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.partner-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  margin: 10px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .partner-logo-container {
  background: rgba(255, 255, 255, 0.9); /* Solid white background in dark mode */
  box-shadow: var(--shadow-md);
}

.partner-logo-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.partner-logos img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
  filter: grayscale(30%);
}

[data-theme="dark"] .partner-logos img {
  filter: grayscale(20%); /* Removed brightness/contrast adjustments for better visibility */
}

.partner-logos img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

[data-theme="dark"] .partner-logos img:hover {
  filter: grayscale(0%); /* Removed brightness adjustment for better visibility */
}

.sponsors {
  padding: 60px 0;
  background: var(--partners-section-bg);
  transition: background 0.3s ease;
}

[data-theme="dark"] .sponsors {
  background: #242e3f;
}

.sponsors-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.sponsors-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  margin: 10px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .sponsors-logo-container {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.sponsors-logo-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sponsors-logos img {
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
  filter: grayscale(30%);
}

[data-theme="dark"] .sponsors-logos img {
  filter: grayscale(20%);
}

.sponsors-logos img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

[data-theme="dark"] .sponsors-logos img:hover {
  filter: grayscale(0%);
}

@media (max-width: 1024px) {
  .sponsors-logos img {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .sponsors {
    padding: 40px 0;
  }

  .sponsors-logos {
    gap: 20px;
  }

  .sponsors-logo-container {
    padding: 12px;
    margin: 8px;
  }

  .sponsors-logos img {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .sponsors-logos img {
    height: 60px;
  }

  .sponsors-logo-container {
    padding: 10px;
  }
}


footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 20px;
  background-color: #1a202c; /* Ensure dark background regardless of theme */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: white; /* Always white regardless of theme */
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer-column p, .footer-column a {
  color: #a0aec0; /* Light gray color for better readability */
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: #a0aec0;
}

.contact-email {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-email:hover {
  color: var(--primary-dark);
}

.terms {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-size: 0.9rem;
  color: #666;
}

.terms h3 {
  color: var(--secondary);
  margin-bottom: 15px;
}

.terms ul {
  padding-left: 20px;
  margin: 10px 0;
}

.terms li {
  margin-bottom: 8px;
}

/* Animation styles for modern elements */
.info-card, .timeline-item, .prize-card, .feature-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-card.animate, .timeline-item.animate, .prize-card.animate, .feature-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.info-card:nth-child(2) {
  transition-delay: 0.2s;
}

.info-card:nth-child(3) {
  transition-delay: 0.4s;
}

.timeline-item:nth-child(1) {
  transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
  transition-delay: 0.3s;
}

.timeline-item:nth-child(3) {
  transition-delay: 0.5s;
}

.timeline-item:nth-child(4) {
  transition-delay: 0.7s;
}

.timeline-item.active .timeline-dot {
  transform: translateX(-50%) scale(1.4);
  box-shadow: 0 0 0 8px rgba(66, 153, 225, 0.3);
}

.info-card.active {
  transform: translateY(-15px) scale(1.03);
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.info-card.active::after {
  transform: scaleX(1);
}

.info-card.active .info-card-icon {
  transform: scale(1.3);
}

/* Title caption styles */
.title-caption {
  font-size: 1.1rem;
  color: var(--primary);
  text-align: center;
  margin-top: 5px; /* Changed from -30px to add space */
  margin-bottom: 40px;
  font-weight: 300;
}

/* Styled text blocks */
.descriptive-text {
  text-align: center;
  max-width: 800px;
  margin: 30px auto;
  padding: 15px 25px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  transition: all 0.3s ease;
}

.descriptive-text:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: var(--primary);
}

.descriptive-text:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Center GIF in Sample Portal */
.portal-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}

/* About section modern styles */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 60px;
  padding: 20px 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: fit-content;
}

[data-theme="dark"] .about-image {
  border-color: rgba(45, 55, 72, 0.3);
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-main-image-container {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  transition: transform 0.3s ease;
  position: relative;
}

.about-main-image-container:hover {
  transform: translateY(-5px);
}

.about-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.stat-cards {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(4px);
  flex: 1;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: var(--card-bg);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.main-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: none;
  border-left: 4px solid var(--primary);
  background: var(--card-bg);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-height: 450px;
}

.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: 25px; /* Increased from 15px */
  margin-top: 10px;    /* Added margin-top */
  color: var(--primary);
  display: inline-flex; /* Changed from inline-block */
  align-items: center;  /* Added for better alignment */
  justify-content: center; /* Added for better alignment */
  padding: 15px;
  width: 70px;  /* Added explicit width */
  height: 70px; /* Added explicit height */
  background: rgba(66, 153, 225, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.main-info-card:hover .info-card-icon {
  transform: scale(1.1); /* Removed rotation effect */
  background: var(--primary);
  color: white;
}

.main-info-card .info-card-content {
  padding: 35px 30px;
}

.main-info-card h3 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.main-info-card h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
}

.main-info-card p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-light);
  font-size: 1.05rem;
}

.main-info-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, transparent 50%, rgba(66, 153, 225, 0.05) 50%);
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 0;
}

.main-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pulse {
  animation: pulse 1s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.5);
  }
  100% {
    transform: scale(1);
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  background: rgba(66, 153, 225, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.benefit-list {
  margin: 15px 0;
}

.animated-list .benefit-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.animated-list.show .benefit-item {
  transform: translateX(0);
  opacity: 1;
}

.animated-list .benefit-item:nth-child(1) {
  transition-delay: 0.1s;
}

.animated-list .benefit-item:nth-child(2) {
  transition-delay: 0.3s;
}

.animated-list .benefit-item:nth-child(3) {
  transition-delay: 0.5s;
}

.benefit-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-item i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.interactive-tag {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.interactive-tag:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.6s ease;
}

.interactive-tag:hover:before {
  left: 100%;
}

.interactive-tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.card-action {
  margin-top: 20px;
}

.card-button {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

/* Date section modern styles */
.date-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.date-tab {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.date-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.date-content {
  position: relative;
  min-height: 400px;
}

.date-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  transform: translateY(20px);
}

.date-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.timeline-progress {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 3px;
  height: calc(100% - 60px);
  background: var(--timeline-progress-bg);
  transform: translateX(-50%);
  z-index: 0;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  height: 0;
  transition: height 1.5s ease;
}

.timeline-icon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 0 5px rgba(66, 153, 225, 0.2);
}

.time-remaining {
  font-size: 0.9rem;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  transition: all 0.3s ease;
  background: var(--card-bg);
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.time-remaining:hover .countdown {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 76, 41, 0.4);
}

@media (max-width: 576px) {
  .time-remaining {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .countdown {
    margin-top: 5px;
    width: 100%;
  }
}

.countdown {
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 76, 41, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  min-width: 120px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.countdown.ticking {
  animation: tick-pulse 1s infinite alternate;
}

.countdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--accent);
  animation: countdown-progress 1s linear infinite;
}

@keyframes tick-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 76, 41, 0.3);
  }
  100% {
    box-shadow: 0 0 0 5px rgba(255, 76, 41, 0);
  }
}

@keyframes countdown-progress {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.8;
  }
}

[data-theme="dark"] .countdown {
  background: rgba(255, 76, 41, 0.15);
  color: #ff7a52;
}

/* Calendar view styles */
.calendar-wrapper {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.calendar-header {
  text-align: center;
  margin-bottom: 30px;
}

.calendar-months {
  display: flex;
  gap: 5px;
  height: 150px;
}

.calendar-month {
  flex: 1;
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 15px 10px;
}

.month-name {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.event-marker {
  position: absolute;
  bottom: 30px;
  transform: translateX(-50%);
}

.marker-dot {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: white;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.event-marker:hover .marker-dot {
  transform: scale(1.3);
}

.event-marker:hover .event-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.active-period {
  position: absolute;
  bottom: 30px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.dates-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.remind-me-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.remind-me-btn:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

/* Responsive styles for the new elements */
@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    max-height: 300px;
    overflow: hidden;
  }
  
  .about-main-image {
    height: auto;
  }
}

@media (max-width: 768px) {
  .stat-cards {
    position: static;
    margin-top: 20px;
  }
  
  .about-image {
    max-height: none;
  }
  
  .calendar-months {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }
  
  .active-period, .event-marker {
    position: relative;
    left: auto !important;
    bottom: auto;
    width: auto !important;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .event-tooltip {
    display: inline-block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-left: 10px;
    pointer-events: auto;
  }
  
  .marker-dot {
    margin: 0;
  }
  
  /* Original responsive styles */
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .logo-container img {
    height: 60px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .logo-container {
    gap: 15px;
  }
  
  .logo-container img {
    height: 50px;
  }
  
  .about-wrapper {
    margin-bottom: 30px;
  }
  
  .info-cards {
    gap: 20px;
  }
  
  .dates-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* Additional styles for improved sections */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 50px;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-item {
  padding: 30px 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-item:not(:last-child) {
  border-bottom: 1px dashed rgba(66, 153, 225, 0.2);
}

.timeline-content {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-left: 50px;
  position: relative;
  transition: all 0.3s ease;
}

.phase-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(66, 153, 225, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-item:nth-child(4) .phase-badge,
.timeline-item:nth-child(5) .phase-badge {
  background: rgba(72, 187, 120, 0.1);
  color: var(--secondary);
}

.timeline-icon {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  transform: translateY(-50%) rotate(360deg);
  background: var(--primary);
  color: white;
}

.timeline-date {
  display: inline-block;
  background: rgba(66, 153, 225, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.timeline-item h3 {
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.timeline-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 15px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.timeline-btn:hover {
  background: var(--primary);
  color: white;
}

.eligibility-box {
  display: flex;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
}

.eligibility-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 30px;
  font-size: 3rem;
}

.eligibility-content {
  padding: 30px;
  flex: 1;
}

.eligibility-content h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.eligibility-list {
  list-style: none;
}

.eligibility-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eligibility-list i {
  color: var(--secondary);
}

.cards-grid .card {
  display: flex;
  flex-direction: column;
}

.card-button {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: auto;
}

.card-button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

@media (max-width: 768px) {
  .timeline-content {
    margin-left: 40px;
  }
  
  .timeline-icon {
    left: -30px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .timeline-progress {
    left: 20px;
  }
  
  .eligibility-box {
    flex-direction: column;
  }
  
  .eligibility-icon {
    padding: 20px;
    text-align: center;
  }
}

/* Theme toggle switch styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.theme-switch {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 30px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.slider .icons {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  color: white;
}

/* Update these styles for dark mode compatibility */
.card, .info-card, .feature-card, .prize-card, .timeline-content, .eligibility-box, .calendar-wrapper, footer {
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.card, .info-card, .feature-card, .prize-card, .timeline-content, .eligibility-box, .calendar-wrapper {
  background: var(--card-bg);
}

.info-card-icon, .timeline-icon, .card-icon, .feature-icon {
  transition: color 0.3s ease, background 0.3s ease;
}

a, h1, h2, h3, p, span, .timeline-date, .tag {
  transition: color 0.3s ease;
}

h1, h2, h3 {
  color: var(--text-dark);
}

.nav-links a {
  /* background-color: var(--bg-light); */
  color: var(--text-dark);
  
}

[data-theme="dark"] .nav-links {
  background-color: #1a202c; /* Dark background */
  /* background-color: var(--bg-dark); */
  color: var(--text-light); /* Light text */
}

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-column p, .footer-column a {
  color: var(--footer-link);
}

.timeline-progress {
  background: var(--timeline-progress-bg);
}

.copyright {
  border-top: 1px solid var(--border-color);
}

/* Modern Gallery Styles */
.modern-gallery {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
}

.gallery-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow-lg);
}

.gallery-main-view {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

[data-theme="dark"] .gallery-main-view {
  border-color: rgba(255,255,255,0.1);
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  padding-bottom: 60px; /* Space for caption */
  box-sizing: border-box;
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 5;
}

.gallery-slide img {
  max-width: 100%;
  max-height: calc(100% - 50px); /* Reduced to make room for caption */
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-slide img:hover {
  transform: scale(1.02);
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  width: 80%;
  margin: 0 auto;
  padding: 12px 20px;
  background: var(--card-bg);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 10;
  border-left: 4px solid var(--primary);
}

.gallery-slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="dark"] .slide-caption {
  background: var(--card-bg-dark);
  color: var(--text-dark);
  border-left: 4px solid var(--primary);
}

@media (max-width: 768px) {
  .slide-caption {
    width: 90%;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 1.2rem;
  z-index: 10;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .gallery-nav {
  background: rgba(40, 40, 40, 0.8);
  color: var(--text-light);
}

.gallery-nav:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

.gallery-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0,0,0,0.1);
  z-index: 10;
  overflow: hidden;
}

[data-theme="dark"] .gallery-progress {
  background: rgba(255,255,255,0.1);
}

.gallery-progress .progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.1s linear;
}

.gallery-filmstrip {
  position: relative;
  padding: 15px 70px;
  background: var(--card-bg);
  overflow: hidden;
}

.filmstrip-track {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.filmstrip-thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  opacity: 0.6;
  transition: all 0.3s ease;
  position: relative;
}

.filmstrip-thumb:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.filmstrip-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--bg-light);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

[data-theme="dark"] .gallery-controls {
  background: var(--bg-dark);
}

.gallery-play-pause, .gallery-fullscreen {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

[data-theme="dark"] .gallery-play-pause, 
[data-theme="dark"] .gallery-fullscreen {
  color: var(--text-light);
}

.gallery-play-pause:hover, .gallery-fullscreen:hover {
  background: rgba(0,0,0,0.1);
  color: var(--primary);
}

[data-theme="dark"] .gallery-play-pause:hover, 
[data-theme="dark"] .gallery-fullscreen:hover {
  background: rgba(255,255,255,0.1);
}

.gallery-counter {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.current-slide {
  color: var(--primary);
  font-weight: 700;
}

.gif-slide {
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

[data-theme="dark"] .gif-slide {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Fullscreen mode */
.gallery-container.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: var(--card-bg);
  border-radius: 0;
}

.gallery-container.fullscreen .gallery-slides {
  height: calc(100vh - 130px);
}

/* Gallery responsive styles */
@media (max-width: 992px) {
  .gallery-slides {
    height: 450px;
  }
  
  .filmstrip-thumb {
    width: 100px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .gallery-slides {
    height: 400px;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .gallery-filmstrip {
    padding: 12px 15px;
  }
  
  .filmstrip-thumb {
    width: 80px;
    height: 60px;
  }
  
  .slide-caption {
    font-size: 0.8rem;
    padding: 8px 15px;
  }
}

@media (max-width: 580px) {
  .gallery-slides {
    height: 300px;
  }
  
  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .filmstrip-track {
    gap: 6px;
  }
  
  .filmstrip-thumb {
    width: 60px;
    height: 45px;
    border-width: 2px;
  }
}

/* Remove old gallery styles */
.game-gallery {
  display: none;
}

/* Dark mode for stat cards */
[data-theme="dark"] .stat-card {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(66, 153, 225, 0.2);
}

[data-theme="dark"] .stat-number {
  color: var(--primary);
}

[data-theme="dark"] .stat-plus {
  color: var(--primary);
}

[data-theme="dark"] .stat-label {
  color: var(--text-light);
}

.benefit-item {
  padding: 5px 0;
}

.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
  display: inline-block;
  padding: 15px;
  background: rgba(66, 153, 225, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.main-info-card:hover .info-card-icon {
  transform: scale(1.1);
  background: var(--primary);
  color: white;
}

.modern-list {
  list-style-type: none;
  padding: 0;
  margin: 15px 0;
}

.modern-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
}

.modern-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Game features grid layout */
.game-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
}

/* Responsive adjustments for game features */
@media (max-width: 992px) {
  .game-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .game-features {
    grid-template-columns: 1fr;
  }
}

/* Media Section Styles */
.media-section {
  background: var(--bg-light);
  padding: 60px 0;
  position: relative;
}

.media-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.media-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--card-bg);
  border: none;
  padding: 15px 25px;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.media-btn i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.media-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--primary);
  color: white;
  border-color: transparent;
}

.media-btn:hover i {
  color: white;
  transform: scale(1.2);
}

/* Modal Styles */
.media-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.media-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Video Player Styles */
.video-container {
    width: 100%;
    height: auto;
    display: none;
    position: relative;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 20px 0;
}

.video-container.active {
    display: block;
}

#video-player {
    max-width: 800px;
    width: 100%;
    height: 700px;
    background-color: #000;
    margin: 0 auto;
}

/* Remove the video controls styles since we're using Google Drive's player */
.video-controls, .progress-container, .progress-bar-video, .video-btn {
    display: none;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 0 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
  opacity: 1;
}

.video-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-btn:hover {
  color: var(--primary);
}

.progress-container {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 15px;
  position: relative;
  border-radius: 2px;
  cursor: pointer;
}

.progress-bar-video {
  height: 100%;
  background: var(--primary);
  width: 0;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Poster Container Styles */
.poster-container {
  width: 100%;
  height: 100%;
  display: none;
  padding: 20px;
}

.poster-container.active {
  display: block;
}

#poster-image {
  width: 100%;
  max-height: calc(90vh - 100px);
  object-fit: contain;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .media-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .media-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .modal-container {
    width: 95%;
  }
}

/* Hero particles animation */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.5;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-particles::before {
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  background-size: 15px 15px;
  background-position: 0 0;
  animation: particlesDrift 120s linear infinite;
}

.hero-particles::after {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(66, 153, 225, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 90% 80%, rgba(66, 153, 225, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(66, 153, 225, 0.03) 0%, transparent 5%),
    radial-gradient(circle at 80% 10%, rgba(255, 76, 41, 0.03) 0%, transparent 8%),
    radial-gradient(circle at 20% 90%, rgba(255, 76, 41, 0.03) 0%, transparent 8%);
  background-size: 200% 200%;
  animation: particlesGlow 15s ease infinite;
}

@keyframes particlesDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes particlesGlow {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
  50% {
    background-position: 100% 100%, 20% 80%, 50% 50%, 80% 20%, 100% 0%;
  }
  100% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

/* Hero CTA */
.hero-cta {
  margin-bottom: 40px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.hero-stat {
  text-align: center;
  padding: 15px 10px;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Game intro styling */
.game-intro {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 800px;
}

.highlight-text {
  font-size: 1.2rem;
  line-height: 1.6;
  padding: 20px 30px;
  background: var(--color-bg-accent);
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--color-primary);
  position: relative;
}

.highlight-text i {
  font-size: 1.4rem;
  margin-right: 8px;
  color: var(--color-primary);
}

/* Portal features mini styling */
.portal-features-mini {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 40px;
}

.portal-feature-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-accent);
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.portal-feature-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.portal-feature-mini i {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.portal-feature-mini span {
  font-weight: 500;
}

/* Prize card improvements */
.prize-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  background: var(--color-bg-secondary);
  transition: all 0.3s ease;
  height: 100%;
}

.prize-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.prize-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* Modern Terms of Use */
.terms-container {
  background: var(--color-bg-secondary);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 30px 0;
  transition: all 0.3s ease;
}

.terms-header {
  background: var(--color-primary);
  color: white;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-header i {
  font-size: 1.5rem;
}

.terms-header h3 {
  font-size: 1.4rem;
  margin: 0;
}

.terms-content {
  padding: 30px;
}

.terms-intro {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-text-primary);
}

.terms-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.terms-rule {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.terms-rule i {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.terms-rule p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  color: var(--color-text-secondary);
}

.terms-contact {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
}

.terms-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
}

[data-theme="dark"] .terms-container {
  background: var(--dark-bg-secondary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .terms-rule p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .terms-footer {
  color: var(--dark-text-tertiary);
}

[data-theme="dark"] .highlight-text {
  background: var(--dark-bg-accent);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .portal-feature-mini {
  background: var(--dark-bg-accent);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .terms-rules {
      grid-template-columns: 1fr;
  }
  
  .portal-features-mini {
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }
  
  .portal-feature-mini {
      width: 80%;
  }
  
  .highlight-text {
      font-size: 1.1rem;
      padding: 15px 20px;
  }
}

/* Date subtitle in AI for Urban Mobility */
.date-subtitle {
  display: flex;
  align-items: center;
  margin: 5px 0 15px;
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.date-subtitle i {
  font-size: 1.2rem;
  margin-right: 8px;
  color: var(--color-secondary);
}

/* Registration Subtitle */
.registration-subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.announcement-badge {
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: pulse 2s infinite;
}

.announcement-badge i {
  font-size: 1.1rem;
  margin-right: 8px;
}

.announcement-dates {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.announcement-dates i {
  font-size: 1.1rem;
  margin-right: 8px;
  color: var(--color-primary);
}

[data-theme="dark"] .announcement-dates {
  background-color: var(--dark-bg-accent);
  color: var(--dark-text-primary);
}

@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

@media (max-width: 768px) {
  .registration-subtitle {
      flex-direction: column;
      gap: 15px;
  }
}

.hero-scroll-indicator a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator a:hover {
  background: var(--accent);
  animation: none;
  transform: translateY(-5px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-stat {
    width: 80%;
    max-width: 200px;
  }
}

#network-graph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Registration Section Styles */
.register-section {
  background: var(--bg-light);
  padding: 80px 0;
  position: relative;
}

[data-theme="dark"] .register-section {
  background: var(--bg-dark);
}

.registration-process {
  max-width: 900px;
  margin: 0 auto 40px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.registration-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .registration-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.registration-tab {
  flex: 1;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.registration-tab i {
  font-size: 1.3rem;
}

.registration-tab.active {
  color: var(--primary);
}

.registration-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.registration-tab:hover {
  background: rgba(66, 153, 225, 0.05);
}

.registration-content {
  padding: 30px;
}

.registration-panel {
  display: none;
}

.registration-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.registration-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.registration-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.registration-step::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 25px;
  width: 2px;
  height: calc(100% - 30px);
  background: var(--primary);
  opacity: 0.3;
  z-index: 0;
}

.registration-step:last-child::after {
  display: none;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 5px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.step-content .btn {
  margin-top: 5px;
}

.important-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 76, 41, 0.1);
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  border-left: 3px solid var(--accent);
}

.important-note i {
  color: var(--accent);
  font-size: 1.2rem;
}

.important-note span {
  color: var(--text-dark);
  font-weight: 500;
}

.registration-note {
  display: flex;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--secondary);
}

.note-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(72, 187, 120, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.note-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.note-content p {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .registration-step {
    flex-direction: column;
  }
  
  .registration-step::after {
    display: none;
  }
  
  .step-number {
    margin-bottom: 15px;
  }
  
  .registration-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .note-icon {
    margin-bottom: 15px;
  }
}

/* About Carousel */
.about-carousel {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  position: relative;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for carousel */
@media (max-width: 992px) {
  .about-carousel {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-carousel {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .about-carousel {
    height: 250px;
  }
}

/* Fix for registration note spacing */
.registration-note {
    background: rgba(66, 153, 225, 0.1);
    border-left: 4px solid #4299e1;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.note-icon {
    background: #4299e1;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.note-content {
    flex: 1;
}

.note-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 1.1rem;
}

.note-content p {
    margin: 0;
    color: #4a5568;
}

.registration-process {
    margin-top: 20px;
}

/* Dark theme adjustments */
[data-theme="dark"] .registration-note {
    background: rgba(66, 153, 225, 0.15);
    border-left: 4px solid #4299e1;
}

[data-theme="dark"] .note-content h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .note-content p {
    color: #cbd5e0;
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-main-image-container {
    height: 400px;
  }
  
  .main-info-card {
    min-height: auto;
    margin-top: 20px;
  }
  
  .about-image {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-main-image-container {
    height: 350px;
  }
  
  .stat-cards {
    flex-direction: row;
  }
  
  .stat-card {
    padding: 10px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .about-main-image-container {
    height: 250px;
  }
}

/* Auto Carousel for About Section */
.about-carousel {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  position: relative;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for carousel */
@media (max-width: 992px) {
  .about-carousel {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-carousel {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .about-carousel {
    height: 250px;
  }
}

/* Challenge Format Styles */
.challenge-phases {
  margin-top: 10px;
}

.challenge-phase {
  padding: 12px 0;
}

.challenge-phase.compact {
  padding: 5px 0;
}

.challenge-phase h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.challenge-phase.compact h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.challenge-phase h4 i {
  font-size: 1.2rem;
  color: var(--primary);
}

.challenge-phase p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
}

[data-theme="dark"] .challenge-phase p {
  color: var(--text-light);
}

.challenge-phase-divider {
  position: relative;
  height: 30px;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.challenge-phase-divider.compact {
  height: 20px;
  margin: 2px 0;
}

.divider-line {
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.divider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(66, 153, 225, 0.3);
}

.challenge-phase-divider.compact .divider-icon {
  width: 24px;
  height: 24px;
  font-size: 0.8rem;
}

.phase-list {
  margin-top: 10px;
}

.phase-list.compact {
  margin-top: 5px;
}

.phase-list li {
  margin-bottom: 8px;
  padding-left: 25px;
}

.phase-list.compact li {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.phase-list li i {
  color: var(--primary);
  font-size: 1rem;
}

/* Make cards have equal height */
.cards-grid .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cards-grid .card .card-button {
  margin-top: auto;
  align-self: flex-start;
}

/* Adjust card button to have consistent margin */
.card-button {
  margin-top: 15px;
  display: inline-block;
}

.timeline-item.active .timeline-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.timeline-item.past-date .timeline-icon {
    background: #d1d5db;
    color: #6b7280;
    border-color: #d1d5db;
}

.timeline-item.past-date .timeline-content {
    opacity: 0.8;
}

.timeline-item.past-date .timeline-date {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.timeline-item.past-date .phase-badge {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.timeline-item.past-date .timeline-btn {
    border-color: #d1d5db;
    color: #6b7280;
}

.timeline-item.past-date .timeline-btn:hover {
    background: #d1d5db;
    color: #4b5563;
}

.time-remaining {
    font-size: 0.9rem;
    margin-top: 8px;
    color: #6b7280;
    display: flex;
    align-items: center;
    font-style: italic;
}

.timeline-item.upcoming .timeline-content {
    border-left: 4px solid var(--primary);
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(66, 153, 225, 0.15);
}

.timeline-item.upcoming .timeline-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(66, 153, 225, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(66, 153, 225, 0.7);
    }
    100% {
        box-shadow: 0 0 5px rgba(66, 153, 225, 0.4);
    }
}

.timeline-item.upcoming .timeline-date {
    background: rgba(66, 153, 225, 0.2);
    font-weight: 600;
}

.portal-section {
    background: linear-gradient(180deg, var(--section-bg) 0%, rgba(66, 153, 225, 0.05) 100%);
    border-top: none;
}

.portal-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.portal-preview-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.2);
    margin: 30px auto;
    transition: all 0.3s ease;
}

.portal-preview-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(66, 153, 225, 0.3);
}

.portal-preview {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.portal-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.portal-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.portal-badge i {
    font-size: 1.2rem;
}

.portal-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.portal-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 153, 225, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portal-feature:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(66, 153, 225, 0.2);
}

.title-caption {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -15px;
    margin-bottom: 20px;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .portal-section {
        margin-top: -20px;
    }
    
    .portal-features {
        flex-direction: column;
        align-items: center;
    }
    
    .portal-feature {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

[data-theme="dark"] .portal-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 32, 44, 0.3) 100%);
}

[data-theme="dark"] .portal-wrapper {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .portal-preview-container {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .portal-preview {
    border-color: rgba(255, 255, 255, 0.05);
    filter: brightness(0.9) contrast(1.1);
}

[data-theme="dark"] .portal-badge {
    background: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .portal-feature {
    background: rgba(66, 153, 225, 0.15);
    color: var(--primary);
}

[data-theme="dark"] .portal-feature:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .title-caption {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .descriptive-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Beautiful Game Points List */
.game-points {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-point:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.game-point::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(66, 153, 225, 0.08) 50%);
  border-radius: 0 0 0 100px;
  z-index: 0;
  transition: all 0.3s ease;
}

.game-point:hover::after {
  width: 150px;
  height: 150px;
}

.point-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.game-point:hover .point-number {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

.point-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.point-content h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 600;
}

.point-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .game-point {
  background: var(--card-bg-dark);
  border-left: 4px solid var(--primary);
}

[data-theme="dark"] .game-point::after {
  background: linear-gradient(135deg, transparent 50%, rgba(99, 179, 237, 0.1) 50%);
}

[data-theme="dark"] .point-content h4 {
  color: var(--text-dark);
}

[data-theme="dark"] .point-content p {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .game-point {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  .point-number {
    margin-bottom: 15px;
  }
}

/* Benefits list highlighting in Why Join section */
.benefits-list {
  margin-bottom: 25px;
}

.benefits-list li {
  margin-bottom: 15px;
  padding: 10px 15px 10px 40px;
  background: rgba(66, 153, 225, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.benefits-list li i {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.benefits-list li:hover {
  transform: translateY(-3px);
  background: rgba(66, 153, 225, 0.1);
  box-shadow: var(--shadow-sm);
}

.benefits-list li:hover i {
  transform: translateY(-50%) scale(1.2);
  color: var(--accent);
}

.benefits-list li:nth-child(1) { border-left: 3px solid var(--primary); }
.benefits-list li:nth-child(2) { border-left: 3px solid var(--accent); }
.benefits-list li:nth-child(3) { border-left: 3px solid var(--secondary); }
.benefits-list li:nth-child(4) { border-left: 3px solid #9f7aea; /* Purple */ }

.benefits-list li:nth-child(1):hover i { color: var(--primary); }
.benefits-list li:nth-child(2):hover i { color: var(--accent); }
.benefits-list li:nth-child(3):hover i { color: var(--secondary); }
.benefits-list li:nth-child(4):hover i { color: #9f7aea; /* Purple */ }

[data-theme="dark"] .benefits-list li {
  background: rgba(66, 153, 225, 0.08);
}

[data-theme="dark"] .benefits-list li:hover {
  background: rgba(66, 153, 225, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Event dates styling for hero section */
.event-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 15px 0 25px;
}

.event-dates span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 500;
  color: white; /* This will be overridden for light mode below */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-dates span:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-dates span i {
  font-size: 1.2rem;
  color: var(--accent);
}

.event-dates span:first-child i {
  color: var(--primary);
}

.event-dates span:nth-child(1) {
  animation: pulse-glow 3s infinite alternate;
}

.event-dates span:nth-child(2) {
  animation: pulse-glow 3s infinite alternate 1.5s;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(255, 76, 41, 0.3);
  }
}

@media (max-width: 768px) {
  .event-dates {
    flex-direction: column;
    align-items: center;
    margin: 10px 0 20px;
  }
  
  .event-dates span {
    width: 80%;
    justify-content: center;
    font-size: 0.95rem;
  }
}

/* Enhanced Dark Mode Styles */
[data-theme="dark"] .slider .icons {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .main-info-card {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .main-info-card h3 {
  color: #63b3ed;
}

[data-theme="dark"] .slide-caption {
  background: #2d3748;
  color: #e2e8f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .feature-card {
  background: #2d3748;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .feature-card:hover {
  background: #3a4a61;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .stat-card {
  background: rgba(45, 55, 72, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .prize-card {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .prize-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  background: #3a4a61;
}

[data-theme="dark"] .modern-list li {
  color: #e2e8f0;
}

[data-theme="dark"] .timeline-content {
  background: #2d3748;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .timeline-item:hover .timeline-content {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .carousel-indicator {
  background-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .carousel-indicator.active {
  background-color: #63b3ed;
}

[data-theme="dark"] .info-card-icon {
  background: rgba(99, 179, 237, 0.15);
}

[data-theme="dark"] .tag {
  background: rgba(99, 179, 237, 0.15);
  color: #63b3ed;
}

[data-theme="dark"] .about-typewriter {
  background: rgba(99, 179, 237, 0.15);
}

[data-theme="dark"] .about-typewriter .typewriter-text {
  color: #63b3ed;
}

[data-theme="dark"] .about-carousel {
  border: 1px solid rgba(99, 179, 237, 0.2);
}

[data-theme="dark"] .benefit-item i {
  color: #68d391;
}

[data-theme="dark"] .important-note {
  background: rgba(255, 107, 65, 0.15);
  border-left: 3px solid #ff6b41;
}

[data-theme="dark"] .benefits-list li {
  background: rgba(99, 179, 237, 0.12);
}

[data-theme="dark"] .benefits-list li:hover {
  background: rgba(99, 179, 237, 0.2);
}

/* Match "Who Can Participate" with "Why Join" design */
.card .modern-list {
  margin-bottom: 25px;
}

.card .modern-list li {
  margin-bottom: 15px;
  padding: 10px 15px 10px 40px;
  background: rgba(66, 153, 225, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-align: left;
}

.card .modern-list li i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.card .modern-list li:hover {
  transform: translateY(-3px);
  background: rgba(66, 153, 225, 0.1);
  box-shadow: var(--shadow-sm);
}

.card .modern-list li:hover i {
  transform: translateY(-50%) scale(1.2);
  color: var(--accent);
}

/* Color variations for "Who Can Participate" items */
.card:nth-child(1) .modern-list li:nth-child(1) { border-left: 3px solid var(--primary); }
.card:nth-child(1) .modern-list li:nth-child(2) { border-left: 3px solid var(--secondary); }
.card:nth-child(1) .modern-list li:nth-child(3) { border-left: 3px solid var(--accent); }

.card:nth-child(1) .modern-list li:nth-child(1):hover i { color: var(--primary); }
.card:nth-child(1) .modern-list li:nth-child(2):hover i { color: var(--secondary); }
.card:nth-child(1) .modern-list li:nth-child(3):hover i { color: var(--accent); }

[data-theme="dark"] .card .modern-list li {
  background: rgba(66, 153, 225, 0.08);
}

[data-theme="dark"] .card .modern-list li:hover {
  background: rgba(66, 153, 225, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Override for light mode to ensure text is visible */
@media (prefers-color-scheme: light) {
  .event-dates span {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}

[data-theme="light"] .event-dates span {
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Fix announcement badge text visibility in light mode */
.announcement-badge {
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: pulse 2s infinite;
}

/* Ensure announcement dates are visible in all modes */
.announcement-dates {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  color: var(--text-dark); /* Ensure text color is appropriate for light mode */
}

.announcement-dates i {
  font-size: 1.1rem;
  margin-right: 8px;
  color: var(--color-primary);
}

[data-theme="dark"] .announcement-dates {
  background-color: var(--dark-bg-accent);
  color: var(--dark-text-primary);
}

/* Fix registration subtitle text visibility */
.registration-subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Fix the note content text visibility */
.note-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.note-content p {
  margin: 0;
  color: var(--text-light);
}

/* Specific override for registration section badges */
.registration-subtitle .announcement-badge {
  color: white !important; /* Force white text */
  background-color: var(--primary); /* Use primary color from theme */
}

.registration-subtitle .announcement-dates {
  color: var(--text-dark) !important; /* Force dark text for light mode */
  background-color: var(--bg-light); /* Use light bg color */
  border: 1px solid rgba(0, 0, 0, 0.1); /* Add subtle border */
}

/* Interactive Image Styles */
.interactive-image-container {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 0;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.interactive-image-container:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(66, 153, 225, 0.3);
}

.about-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
  transform: scale(1);
  filter: brightness(0.9);
}

.interactive-image-container:hover .about-main-image {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.2) 0%, 
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.4) 100%);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.interactive-image-container:hover .image-overlay {
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.4) 0%, 
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0.5) 100%);
}

.image-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  backdrop-filter: blur(5px);
  border-bottom-right-radius: var(--radius-sm);
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 500;
  font-size: 1.1rem;
  transform: translateY(0);
  transition: all 0.3s ease;
  z-index: 5;
}

.image-caption i {
  font-size: 1.3rem;
  color: var(--primary);
}

.interactive-image-container:hover .image-caption {
  transform: translateY(0) scale(1.05);
  background: rgba(66, 153, 225, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.interactive-image-container:hover .image-caption i {
  color: white;
  animation: pulse 1.5s infinite;
}

.image-hotspots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.image-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.hotspot-dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 0 0 8px rgba(66, 153, 225, 0.2);
  cursor: pointer;
  animation: pulse-glow 2s infinite;
}

.image-hotspot:nth-child(2) .hotspot-dot {
  animation-delay: 0.5s;
  background: var(--secondary);
}

.image-hotspot:nth-child(3) .hotspot-dot {
  animation-delay: 1s;
  background: var(--accent);
}

.hotspot-tooltip {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  color: white;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hotspot-tooltip i {
  color: var(--primary);
}

.image-hotspot:nth-child(2) .hotspot-tooltip i {
  color: var(--secondary);
}

.image-hotspot:nth-child(3) .hotspot-tooltip i {
  color: var(--accent);
}

.image-hotspot:hover .hotspot-dot {
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 0 15px rgba(66, 153, 225, 0.5);
  animation: none;
}

.image-hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 0 0 8px rgba(66, 153, 225, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3), 0 0 0 15px rgba(66, 153, 225, 0.1);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 0 0 8px rgba(66, 153, 225, 0.2);
  }
}

/* Dark Mode Support */
[data-theme="dark"] .interactive-image-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .image-caption {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .interactive-image-container:hover .image-caption {
  background: rgba(99, 179, 237, 0.8);
}

[data-theme="dark"] .hotspot-tooltip {
  background: rgba(26, 32, 44, 0.9);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .interactive-image-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .interactive-image-container {
    height: 350px;
  }
  
  .image-caption {
    font-size: 1rem;
    padding: 8px 15px;
  }
  
  .hotspot-dot {
    width: 14px;
    height: 14px;
  }
  
  .hotspot-tooltip {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .interactive-image-container {
    height: 250px;
  }
}

/* Dynamic Border Effect */
.dynamic-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  pointer-events: none;
  border: 3px solid transparent;
  border-image: linear-gradient(
    45deg, 
    var(--primary) 0%, 
    var(--secondary) 25%, 
    var(--accent) 50%, 
    var(--secondary) 75%, 
    var(--primary) 100%
  ) 1;
  border-radius: var(--radius-md);
  animation: border-shift 8s linear infinite;
  box-shadow: 0 0 20px rgba(66, 153, 225, 0.3);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.interactive-image-container:hover .dynamic-border {
  opacity: 1;
  box-shadow: 0 0 30px rgba(66, 153, 225, 0.5);
}

@keyframes border-shift {
  0% {
    border-image: linear-gradient(
      45deg, 
      var(--primary) 0%, 
      var(--secondary) 25%, 
      var(--accent) 50%, 
      var(--secondary) 75%, 
      var(--primary) 100%
    ) 1;
  }
  33% {
    border-image: linear-gradient(
      45deg, 
      var(--secondary) 0%, 
      var(--accent) 25%, 
      var(--primary) 50%, 
      var(--accent) 75%, 
      var(--secondary) 100%
    ) 1;
  }
  66% {
    border-image: linear-gradient(
      45deg, 
      var(--accent) 0%, 
      var(--primary) 25%, 
      var(--secondary) 50%, 
      var(--primary) 75%, 
      var(--accent) 100%
    ) 1;
  }
  100% {
    border-image: linear-gradient(
      45deg, 
      var(--primary) 0%, 
      var(--secondary) 25%, 
      var(--accent) 50%, 
      var(--secondary) 75%, 
      var(--primary) 100%
    ) 1;
  }
}

/* Additional interactive effects with low computation */
.interactive-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(66, 153, 225, 0.2) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  pointer-events: none;
}

.interactive-image-container:hover::before {
  opacity: 1;
}

/* Remove unused styles for multiple hotspots */
.image-hotspot:nth-child(2) .hotspot-dot,
.image-hotspot:nth-child(3) .hotspot-dot,
.image-hotspot:nth-child(2) .hotspot-tooltip i,
.image-hotspot:nth-child(3) .hotspot-tooltip i {
  display: none;
}

/* Script to track mouse position for hover effect */
/* This will be added via script in JavaScript */

.prize-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
  text-align: justify; /* Add justified text alignment */
  hyphens: auto; /* Enable hyphenation for better justification */
}

/* Enhanced Prize Content Styling */
.prize-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.prize-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
  text-align: justify;
  hyphens: auto; /* Enable hyphenation for better justification */
  word-spacing: -0.05em; /* Slightly adjust word spacing for better justification */
}

/* Add a subtle hover effect to the prize content */
.prize-card:hover .prize-content p {
  color: var(--text-dark);
}

/* Participant Map Section Styles */
.map-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.map-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.map-center-column {
    width: 80%;
    max-width: 1000px;
    position: relative;
}

#india-map {
    height: 600px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    will-change: transform; /* Optimize rendering */
}

/* Enhance map controls */
.leaflet-control-container .leaflet-top {
    top: 10px;
}

.leaflet-control-container .leaflet-control-zoom {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.leaflet-control-container .leaflet-control-zoom a {
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 18px;
}

.leaflet-control-container .leaflet-control-zoom a:hover {
    background-color: var(--primary-color);
    color: white;
}

[data-theme="dark"] .leaflet-control-container .leaflet-control-zoom a {
    background-color: #333;
    color: #fff;
}

.map-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.map-stat-card {
    width: 23%;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.map-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.map-stat-number {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    padding: 10px 20px;
    margin-bottom: 5px;
}

/* Responsive styles for medium screens (tablets) */
@media (max-width: 992px) {
  .map-stat-number {
      font-size: 1.5rem; /* Reduce font size for medium screens */
      padding: 8px 16px; /* Adjust padding */
  }
}

/* Responsive styles for small screens (mobile devices) */
@media (max-width: 768px) {
  .map-stat-number {
      font-size: 1.2rem; /* Further reduce font size for small screens */
      padding: 6px 12px; /* Adjust padding for smaller screens */
      word-wrap: break-word; /* Ensure long numbers or text wrap properly */
  }
}

.map-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 1.5px;
}

/* Dark mode enhancements */
[data-theme="dark"] .map-stats {
    color: #fff;
}

[data-theme="dark"] .map-stat-card {
    background-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .map-stat-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}



/* Map marker styling */
.custom-div-icon {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ff4c29; /* Orange color that matches the theme */
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(255, 76, 41, 0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the pin properly */
    z-index: 400;
    pointer-events: none; /* Make unclickable */
}

/* Dark mode styling */
[data-theme="dark"] .marker-pin {
    border: 3px solid #333;
    background-color: #ff4c29; /* Keep same orange in dark mode */
    box-shadow: 0 0 10px rgba(255, 76, 41, 0.6); /* Enhanced glow in dark mode */
}

/* Hide all popup styling as we're not using popups */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    display: none;
}

/* Dark mode map background */
[data-theme="dark"] #india-map {
    background-color: #1a1a1a;
}

/* Ensure no transform issues with leaflet-marker-pane */
.leaflet-marker-pane {
    pointer-events: none;
}

.leaflet-marker-icon {
    transition: none !important; /* Disable any transitions */
}

/* Responsive Map Section */
@media (max-width: 768px) {
    .marker-pin {
        width: 20px;
        height: 20px;
        border: 2px solid white;
    }
    
    [data-theme="dark"] .marker-pin {
        border: 2px solid #333;
    }
}

/* Responsive styles for map and stats */
@media (max-width: 992px) {
    .map-center-column {
        width: 90%;
    }
    
    #india-map {
        height: 500px;
    }
    
    .map-stat-card {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }
    
    #india-map {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .map-stat-card {
        width: 100%;
    }
    
    #india-map {
        height: 350px;
    }
}

/* Title caption styles for map section */
#participant-map .title-caption {
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    margin-top: 5px;
    margin-bottom: 40px;
    font-weight: 300;
    transition: color 0.3s ease;
}

#participant-map .title-caption a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

#participant-map .title-caption a:hover {
    color: #ff4c29; /* Match the orange theme color */
}

#participant-map .title-caption a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background-color: #ff4c29; /* Match the orange theme color */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

#participant-map .title-caption a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

[data-theme="dark"] #participant-map .title-caption {
    color: var(--text-color);
}

[data-theme="dark"] #participant-map .title-caption a {
    color: var(--text-color);
}

/* Circle marker styling */
.leaflet-interactive {
    cursor: default !important; /* Prevent cursor change on hover */
}

/* Enhanced styling for the marker circles to ensure they remain fixed on zoom */
svg.leaflet-zoom-animated {
    z-index: 400;
}

/* Keep SVG elements fixed in size and position */
.leaflet-zoom-animated g {
    transform-origin: center !important;
}

/* Responsive Map Section */
@media (max-width: 768px) {
    .marker-pin {
        width: 20px;
        height: 20px;
        border: 2px solid white;
    }
    
    [data-theme="dark"] .marker-pin {
        border: 2px solid #333;
    }
}

/* Ensure smooth transitions for map elements */
.leaflet-container {
    transition: background-color 0.3s ease;
}

.leaflet-tile-pane .leaflet-layer {
    transition: filter 0.3s ease;
}

/* Prevent position glitches for circle markers */
.leaflet-pane.leaflet-marker-pane {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Prevent SVG elements from moving during theme transitions */
.leaflet-overlay-pane svg {
    transform-origin: 0 0 !important;
}

/* Ensure circles maintain their positions */
.leaflet-interactive.leaflet-path-draggable {
    transition: none !important;
    will-change: transform;
}

/* Prevent unwanted animations on map elements */
.leaflet-pane,
.leaflet-tile,
.leaflet-zoom-box,
.leaflet-overlay-pane svg,
.leaflet-shadow-pane {
    backface-visibility: hidden;
}

/* Last updated text styling */
.map-last-updated {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    color: var(--text-light);
    z-index: 1000;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .map-last-updated {
    background: rgba(45, 55, 72, 0.9);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Enhanced map stats styling */
.map-stat-card {
    width: 23%;
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--primary);
}

.map-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .map-stat-card {
    background: rgba(45, 55, 72, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--primary);
}

[data-theme="dark"] .map-stat-card:hover {
    background: rgba(66, 153, 225, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .map-stat-number {
    color: var(--primary);
}

[data-theme="dark"] .map-stat-label {
    color: var(--text-light);
}

/* Add style for event completed message */
.event-completed, .completed-message {
  display: block;
  background: var(--secondary);
  color: white;
  padding: 18px 30px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin: 30px auto 40px auto;
  box-shadow: 0 4px 16px rgba(72, 187, 120, 0.15);
  max-width: 700px;
}

/* Visually mute registration and countdown elements if still present */
.registration-process, .registration-tabs, .registration-content, .countdown.ticking {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(1);
}

/* Winners Section Styles */
.winners-section {
  background: var(--prize-section-bg); /* Use a soft background distinct from others */
  padding: 80px 0;
  transition: background 0.3s ease;
}

[data-theme="dark"] .winners-section {
  background: #232b3b; /* Slightly different from other dark backgrounds */
}

.winners-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 30px 30px 30px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .winners-content {
  background: var(--card-bg-dark);
}

.phase2-winners-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  background: var(--secondary);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(72, 187, 120, 0.15);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  letter-spacing: 1px;
}

.phase2-winners-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(66, 153, 225, 0.18);
}

@media (max-width: 768px) {
  .winners-content {
    padding: 25px 10px 20px 10px;
  }
  .phase2-winners-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

.winners-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
}
.winners-modal.active {
  display: flex;
}
.winners-modal-content {
  background: #fff;
  margin: 3rem auto;
  border-radius: 16px;
  max-width: 95vw;
  width: 1500px;
  box-shadow: 0 8px 32px #0002;
  position: relative;
  padding: 2rem 1rem;
}
.winners-modal-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 10;
}
@media (max-width: 900px) {
  .winners-modal-content { width: 99vw; padding: 0.5rem; }
}

[data-theme="dark"] .leaderboard-container {
  background: var(--card-bg-dark);
  color: var(--text-dark);
}
[data-theme="dark"] .leaderboard-title,
[data-theme="dark"] .leaderboard-team-name,
[data-theme="dark"] .leaderboard-member-name,
[data-theme="dark"] .leaderboard-team-cell {
  color: var(--text-dark);
}
[data-theme="dark"] .leaderboard-phase2-title,
[data-theme="dark"] .leaderboard-rest-title {
  color: var(--text-light);
}
[data-theme="dark"] .leaderboard-member,
[data-theme="dark"] .leaderboard-row {
  background: var(--bg-dark);
}
[data-theme="dark"] .leaderboard-member-list {
  background: var(--card-bg-dark);
}
[data-theme="dark"] .leaderboard-table th {
  background: var(--card-bg-dark);
  color: var(--text-dark);
}
