/* ========================================
   RUN FOR INFINITY - KOCHI MARATHON
   Design System & Global Styles
   ======================================== */

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

/* === CSS VARIABLES === */
:root {
  --bg: #050507;
  --bg-card: #0d0d12;
  --bg-card2: #111118;
  --purple: #7c3aed;
  --purple-bright: #9b30ff;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --magenta: #d400a8;
  --magenta-bright:  #9b30ff;
  --magenta-glow: rgba(212, 0, 168, 0.4);
  --green: #00ff88;
  --white: #ffffff;
  --gray: #888899;
  --gray-light: #bbbbcc;
  --border: rgba(255,255,255,0.08);
  --border-purple: rgba(124, 58, 237, 0.3);
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --nav-height: 70px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --text-primary: #ffffff;
  --nav-bg: rgba(5, 5, 7, 0.92);
  --nav-bg-scrolled: rgba(5, 5, 7, 0.98);
  --footer-bg: #0a0a0f;
}

/* === LIGHT MODE === */
body.light-mode {
  --bg: #f2f2f7;
  --bg-card: #ffffff;
  --bg-card2: #e8e8f0;
  --purple: #6d28d9;
  --purple-bright: #7c3aed;
  --purple-glow: rgba(109, 40, 217, 0.3);
  --magenta: #b5008e;
  --magenta-bright: #7c3aed;
  --magenta-glow: rgba(181, 0, 142, 0.3);
  --green: #00994d;
  --white: #0a0a0a;
  --gray: #444455;
  --gray-light: #1a1a1a;
  --border: rgba(0,0,0,0.12);
  --border-purple: rgba(109, 40, 217, 0.3);
  --text-primary: #0a0a0a;
  --nav-bg: rgba(242, 242, 247, 0.94);
  --nav-bg-scrolled: rgba(242, 242, 247, 0.99);
  --footer-bg: #f2f2f7;
}

/* === THEME TOGGLE BUTTON === */
.theme-toggle {
  position: relative;
  width: 130px;
  height: 44px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: #1a1a2e;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5), inset 0 -1px 4px rgba(255,255,255,0.05), 0 4px 16px rgba(0,0,0,0.4);
  outline: none;
  overflow: hidden;
}

body.light-mode .theme-toggle {
  background: #d8d8e8;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.15), inset 0 -1px 4px rgba(255,255,255,0.7), 0 4px 16px rgba(0,0,0,0.12);
}

.theme-toggle-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  border-radius: 100px;
  pointer-events: none;
}

.theme-toggle-thumb {
  position: absolute;
  left: 5px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2a2a40;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  z-index: 2;
}

body.light-mode .theme-toggle-thumb {
  transform: translateX(82px);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.06);
}

.theme-toggle-thumb svg {
  width: 18px;
  height: 18px;
  transition: opacity 0.3s ease;
}

.theme-toggle-thumb .icon-moon { display: block; }
.theme-toggle-thumb .icon-sun  { display: none; }
body.light-mode .theme-toggle-thumb .icon-moon { display: none; }
body.light-mode .theme-toggle-thumb .icon-sun  { display: block; }

.theme-toggle-label {
  position: absolute;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  transition: opacity 0.3s ease, right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

body.light-mode .theme-toggle-label {
  left: 14px;
  right: auto;
  color: rgba(13, 13, 26, 0.7);
}

.theme-toggle:hover .theme-toggle-thumb {
  box-shadow: 0 2px 12px rgba(124,58,237,0.5), 0 0 0 1px rgba(124,58,237,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,0,168,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font-body); }

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

/* === TYPOGRAPHY === */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 90px);
  line-height: 0.95;
  letter-spacing: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-title .accent { color: var(--magenta-bright); }
.section-title .accent-purple { color: var(--purple-bright); }

.accent-text { color: var(--magenta-bright); }
.purple-text { color: var(--purple-bright); }

/* === NAVIGATION === */
.navbar {
  position: fixed;
  padding: 15px 0 15px 0;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border-purple);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 3px;
}

.logo-box {
  width: 36px; height: 36px;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-heading);
}

.logo-image {
  height: 46px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--magenta-bright);
  transition: right var(--transition);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
  right: 0;
}

.nav-links a.active { color: var(--magenta-bright); }

.nav-register {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--purple);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.nav-register:hover {
  background: var(--purple-bright);
  box-shadow: 0 0 20px var(--purple-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.btn-primary:hover {
  background: var(--magenta-bright);
  box-shadow: 0 0 30px var(--magenta-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
}

.btn-purple:hover {
  background: var(--purple-bright);
  box-shadow: 0 0 25px var(--purple-glow);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg) 0%, #0a0520 50%, var(--bg) 100%);
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(var(--bg-rgb, 5,5,7), 0.9) 40%, rgba(var(--bg-rgb, 5,5,7), 0.3) 100%),
              linear-gradient(to top, rgba(var(--bg-rgb, 5,5,7), 0.8) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 120px;
  max-width: 900px;
  text-align: left;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--magenta-bright);
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--magenta-bright);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 100px);
  line-height: 0.92;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title .line2 { color: var(--magenta-bright); display: block; }

.hero-subtitle {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* === COUNTDOWN === */
.countdown {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.countdown-item {
  text-align: center;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--white);
  display: block;
  text-shadow: 0 0 20px rgba(124,58,237,0.5);
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--purple);
  align-self: flex-start;
  margin-top: 4px;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap;
}

.stat-item svg { color: var(--purple-bright); }

/* === SECTIONS === */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-sub {
  font-size: 15px;
  color: var(--gray);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === THE INFINITY PROTOCOL === */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* === FEATURE CARDS === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: var(--border-purple); transform: translateY(-4px); }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border-purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--purple-bright);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* === FEATURED EVENT === */
.featured-event {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}

.featured-img {
  position: relative;
  min-height: 360px;
}

.featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--magenta);
  color: var(--white);
  padding: 6px 14px;
}

.featured-content {
  padding: 48px;
}

.featured-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--magenta-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 20px;
}

.featured-desc { font-size: 15px; color: var(--gray); margin-bottom: 32px; line-height: 1.7; }

.featured-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.meta-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--magenta-bright);
  margin-bottom: 6px;
}

.meta-value { font-size: 14px; color: var(--gray-light); }

.distance-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.distance-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  color: var(--gray-light);
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  transition: var(--transition);
}

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

.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.star { color: var(--magenta-bright); font-size: 14px; }

.testimonial-text { font-size: 14px; color: var(--gray-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-name { font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.testimonial-role { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* === IMPACT STATS === */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.impact-item {
  background: var(--bg-card);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.impact-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--magenta-bright);
  display: block;
  margin-bottom: 8px;
}

.impact-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}

/* === CTA SECTION === */
.cta-section {
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
}

.cta-section .display-title {
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 16px;
}

/* === FOOTER === */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  transition: background 0.4s ease;
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Base social icon pill */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1),
              border-color 0.25s ease,
              background 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* SVG icons inherit the filter for dark mode tinting */
.social-icon img {
  width: 20px;
  height: 20px;
  display: block;
  filter: invert(1) brightness(0.7);
  transition: filter 0.25s ease, transform 0.25s ease;
}

/* Per-brand hover colors */
.social-icon[aria-label="WhatsApp"]:hover {
  background: rgba(37,211,102,0.15);
  border-color: #25D366;
  box-shadow: 0 0 18px rgba(37,211,102,0.35), 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.social-icon[aria-label="WhatsApp"]:hover img {
  filter: invert(0) brightness(1) saturate(1) drop-shadow(0 0 4px #25D366);
}

.social-icon[aria-label="Instagram"]:hover {
  background: rgba(228,64,95,0.15);
  border-color: #e4405f;
  box-shadow: 0 0 18px rgba(228,64,95,0.35), 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.social-icon[aria-label="Instagram"]:hover img {
  filter: invert(0) brightness(1) saturate(1) drop-shadow(0 0 4px #e4405f);
}

.social-icon[aria-label="Facebook"]:hover {
  background: rgba(24,119,242,0.15);
  border-color: #1877f2;
  box-shadow: 0 0 18px rgba(24,119,242,0.35), 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.social-icon[aria-label="Facebook"]:hover img {
  filter: invert(0) brightness(1) saturate(1) drop-shadow(0 0 4px #1877f2);
}

.social-icon[aria-label="Twitter"],
.social-icon[aria-label="X"] {
  border-color: var(--border);
}
.social-icon[aria-label="Twitter"]:hover,
.social-icon[aria-label="X"]:hover {
  background: rgba(255,255,255,0.1);
  border-color: #e7e7e7;
  box-shadow: 0 0 18px rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.social-icon[aria-label="Twitter"]:hover img,
.social-icon[aria-label="X"]:hover img {
  filter: invert(1) brightness(1);
}

.social-icon[aria-label="YouTube"]:hover {
  background: rgba(255,0,0,0.15);
  border-color: #ff0000;
  box-shadow: 0 0 18px rgba(255,0,0,0.35), 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.social-icon[aria-label="YouTube"]:hover img {
  filter: invert(0) brightness(1) saturate(1) drop-shadow(0 0 4px #ff0000);
}

/* ── LIGHT MODE social icons ── */
body.light-mode .social-icon {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

body.light-mode .social-icon img {
  filter: invert(0) brightness(0.25);
}

body.light-mode .social-icon[aria-label="WhatsApp"]:hover img {
  filter: none drop-shadow(0 0 3px #25D366);
}
body.light-mode .social-icon[aria-label="Instagram"]:hover img {
  filter: none drop-shadow(0 0 3px #e4405f);
}
body.light-mode .social-icon[aria-label="Facebook"]:hover img {
  filter: none drop-shadow(0 0 3px #1877f2);
}
body.light-mode .social-icon[aria-label="Twitter"]:hover img,
body.light-mode .social-icon[aria-label="X"]:hover img {
  filter: invert(0) brightness(0) drop-shadow(0 0 2px rgba(0,0,0,0.5));
}
body.light-mode .social-icon[aria-label="YouTube"]:hover img {
  filter: none drop-shadow(0 0 3px #ff0000);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: var(--gray);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--magenta-bright); }

.newsletter-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.newsletter-form p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 4px;
}

.input-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  transition: var(--transition);
  width: 100%;
}

.input-field:focus {
  outline: none;
  border-color: var(--purple-bright);
  background: rgba(124,58,237,0.05);
}

.input-field::placeholder { color: var(--gray); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray);
}

.system-status {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gray);
}

.system-status span { color: var(--green); }

/* === PAGE HERO === */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: linear-gradient(180deg, rgba(124,58,237,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 16px; color: var(--gray); max-width: 600px; }

/* === ABOUT PAGE === */
.hero-image-full {
  width: 100%; height: 420px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.mv-block h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--purple);
}

.mv-block p { font-size: 15px; color: var(--gray-light); line-height: 1.8; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover { border-color: var(--border-purple); transform: translateY(-4px); }

.value-icon {
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border-purple);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--purple-bright);
  font-size: 22px;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-card p { font-size: 13px; color: var(--gray); }

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--purple), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: -30px; top: 8px;
  width: 20px; height: 20px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}

.timeline-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple-bright);
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  background: var(--purple);
  color: white;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item p { font-size: 14px; color: var(--gray); }

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  color: white;
  border: 3px solid var(--border-purple);
  overflow: hidden;
}

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-card p {
  font-size: 12px;
  color: var(--magenta-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* === EVENTS PAGE === */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.event-card:hover { border-color: var(--border-purple); transform: translateY(-4px); }

.event-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img { transform: scale(1.05); }

.event-status {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.status-open { background: var(--magenta); color: white; }
.status-fast { background: var(--purple); color: white; }
.status-waitlist { background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.3); }
.status-soon { background: rgba(0,255,136,0.2); color: var(--green); border: 1px solid var(--green); }

.event-card-body { padding: 24px; }

.event-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--magenta-bright);
}

.event-meta-row span {
  display: flex; align-items: center; gap: 5px;
}

.event-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.1;
}

.event-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.filter-section { padding: 40px 0; border-top: 1px solid var(--border); }

.filter-section h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.filter-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gray);
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  width: 100%;
}

.filter-select:focus { outline: none; border-color: var(--purple-bright); }

/* === EVENT DETAIL PAGE === */
.event-detail-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.event-detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.event-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,7,1) 0%, rgba(5,5,7,0.3) 100%);
}

.event-detail-hero .back-link {
  position: absolute;
  top: calc(var(--nav-height) + 20px);
  left: 24px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}

.event-detail-hero .back-link:hover { color: var(--magenta-bright); }

.event-detail-title {
  position: absolute;
  bottom: 40px; left: 24px; right: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
}

.event-detail-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 60px 0;
  align-items: start;
}

.event-info-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--magenta-bright);
}

.event-info-meta span { display: flex; align-items: center; gap: 6px; }

.event-desc { font-size: 15px; color: var(--gray-light); line-height: 1.8; margin-bottom: 40px; }

.schedule-title, .included-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.schedule-table { width: 100%; border-collapse: collapse; }

.schedule-table tr {
  border-bottom: 1px solid var(--border);
}

.schedule-table td {
  padding: 14px 16px;
  font-size: 14px;
}

.schedule-table td:first-child {
  color: var(--magenta-bright);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  width: 80px;
}

.schedule-table tr:hover td { background: rgba(255,255,255,0.02); }

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
}

.included-item::before {
  content: '✓';
  width: 20px; height: 20px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-bright);
  font-size: 11px;
  flex-shrink: 0;
}

/* === REGISTRATION PANEL === */
.reg-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.reg-panel h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.category-option {
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-option:hover { border-color: var(--purple-bright); }
.category-option.selected { border-color: var(--purple-bright); background: rgba(124,58,237,0.08); }

.category-option input { margin-right: 10px; accent-color: var(--purple-bright); }

.cat-info h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.cat-info span { font-size: 12px; color: var(--gray); }

.cat-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
}

.cat-price.strikethrough { text-decoration: line-through; color: var(--gray); }

/* === COMMUNITY PAGE === */
.impact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.impact-card:hover { border-color: var(--border-purple); transform: translateY(-4px); }

.impact-card-icon {
  width: 56px; height: 56px;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border-purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--purple-bright);
}

.impact-card h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.impact-card p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }

.impact-highlight {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--magenta-bright);
  letter-spacing: 1px;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
}

.story-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* === GALLERY PAGE === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124,58,237,0.5);
  opacity: 0;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: white;
}

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

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border-purple);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-bright);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-item p { font-size: 14px; color: var(--white); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 15px 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 32px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1),
              background 0.25s ease;
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #20bc5a 0%, #0f7a6c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  color: #ffffff;
}

.whatsapp-btn svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

body.light-mode .whatsapp-btn {
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
  color: #ffffff;
}
body.light-mode .whatsapp-btn:hover {
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  color: #ffffff;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
}

.contact-form-panel h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

textarea.input-field { min-height: 120px; resize: vertical; }

/* === REGISTRATION FORM === */
.reg-page {
  padding: calc(var(--nav-height) + 40px) 0 80px;
}

.reg-page h1 { margin-bottom: 8px; }
.reg-page .subtitle { font-size: 15px; color: var(--gray); margin-bottom: 40px; }

.progress-steps {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.progress-line {
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(to right, var(--purple), var(--magenta));
  transition: width 0.5s ease;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
  transition: var(--transition);
}

.step-item.active .step-circle {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 0 20px var(--purple-glow);
}

.step-item.completed .step-circle {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.step-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}

.step-item.active .step-label { color: var(--white); }

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  margin-bottom: 24px;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--purple);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

select.input-field {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888899' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  appearance: none;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--purple);
  cursor: pointer;
}

.checkbox-row label {
  font-size: 14px;
  color: var(--gray-light);
  cursor: pointer;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.btn-prev {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-light);
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-prev:hover { border-color: var(--white); color: var(--white); }

/* === CHECKOUT PAGE === */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  align-items: start;
}

.checkout-form-section h2, .order-summary-panel h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.order-summary-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.order-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.order-row:last-of-type { border-bottom: none; }

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--purple);
}

.order-total-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--magenta-bright);
}

.order-total-amount {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--magenta-bright);
}

.security-badge {
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 12px 16px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--green);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
}

.order-perks { margin-top: 16px; }
.order-perks li {
  font-size: 12px;
  color: var(--gray);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.order-perks li::before { content: '•'; position: absolute; left: 4px; color: var(--purple-bright); }

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  border: 1px solid var(--border);
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.payment-method.selected { border-color: var(--purple-bright); background: rgba(124,58,237,0.08); }
.payment-method input { accent-color: var(--purple-bright); }

/* === CONFIRMATION PAGE === */
.confirmation-page {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.confirm-icon {
  width: 80px; height: 80px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  font-size: 32px;
  color: var(--green);
}

.confirm-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 40px auto;
  padding: 0;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.confirm-row:last-child { border-bottom: none; }
.confirm-row span:first-child { color: var(--gray); }
.confirm-row span:last-child { font-weight: 600; letter-spacing: 1px; }

.confirm-status { color: var(--green); font-family: var(--font-heading); font-weight: 700; letter-spacing: 2px; }

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
}

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid, .values-grid, .protocol-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid, .impact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .event-detail-content { grid-template-columns: 1fr; }
  .reg-panel { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .featured-event { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--nav-bg-scrolled);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .nav-hamburger { display: flex; }
  .nav-register { display: none; }
  .theme-toggle { width: 110px; height: 38px; }
  .theme-toggle-thumb { width: 28px; height: 28px; }
  body.light-mode .theme-toggle-thumb { transform: translateX(68px); }
  .theme-toggle-label { font-size: 10px; }
  
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .protocol-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
  .countdown { gap: 12px; }
  .countdown-num { font-size: 36px; }
  .hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .values-grid, .impact-grid, .impact-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}

/* === DROPDOWN FIX: Dark background for select options === */
select option,
select optgroup {
  background-color: #0d0d12 !important;
  color: #ffffff !important;
}

body.light-mode select option,
body.light-mode select optgroup {
  background-color: #ffffff !important;
  color: #0d0d1a !important;
}

select:focus option:checked {
  background: rgba(124, 58, 237, 0.3) !important;
}

/* === ADMIN PANEL STYLES === */
.admin-body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 240px;
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
}

.admin-nav { padding: 16px 0; flex: 1; }

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.admin-nav a.active { color: var(--purple-bright); border-left-color: var(--purple-bright); background: rgba(124,58,237,0.08); }

.admin-nav .nav-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gray);
  padding: 16px 20px 6px;
  text-transform: uppercase;
}

.admin-main {
  margin-left: 240px;
  min-height: 100vh;
}

.admin-topbar {
  height: 60px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-light);
}

.admin-avatar {
  width: 32px; height: 32px;
  background: var(--purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.admin-content { padding: 32px; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  transition: var(--transition);
}

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

.stat-card-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--white);
  line-height: 1;
}

.stat-card-change {
  font-size: 12px;
  color: var(--green);
  margin-top: 8px;
}

.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.admin-table-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-search {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-search input, .admin-search select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  width: 200px;
}

.admin-search input:focus, .admin-search select:focus {
  outline: none;
  border-color: var(--purple-bright);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  background: rgba(255,255,255,0.03);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--gray-light);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-green { background: rgba(0,255,136,0.12); color: var(--green); border: 1px solid rgba(0,255,136,0.3); }
.badge-purple { background: rgba(124,58,237,0.15); color: var(--purple-bright); border: 1px solid var(--border-purple); }
.badge-yellow { background: rgba(255,200,0,0.12); color: #ffc800; border: 1px solid rgba(255,200,0,0.3); }
.badge-red { background: rgba(255,50,50,0.12); color: #ff5555; border: 1px solid rgba(255,50,50,0.3); }
.badge-gray { background: rgba(136,136,153,0.15); color: var(--gray); border: 1px solid var(--border); }

.action-btn {
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gray-light);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.action-btn:hover { border-color: var(--purple-bright); color: var(--purple-bright); }
.action-btn.danger:hover { border-color: #ff5555; color: #ff5555; }
.action-btn.success:hover { border-color: var(--green); color: var(--green); }

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray);
}

.page-btns { display: flex; gap: 6px; }
.page-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gray-light);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12px;
  transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { border-color: var(--purple-bright); color: var(--purple-bright); background: rgba(124,58,237,0.1); }

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
}

.admin-login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.08) 0%, transparent 70%);
}

.admin-login-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.admin-login-box h1 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 8px;
}

.admin-login-box p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}

.alert {
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
}

.alert-error { background: rgba(255,50,50,0.1); border: 1px solid rgba(255,50,50,0.3); color: #ff5555; }
.alert-success { background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3); color: var(--green); }

.admin-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray);
  font-size: 14px;
}

.admin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.admin-modal-overlay.open { display: flex; }

.admin-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.admin-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 20px;
  cursor: pointer;
}

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

.detail-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.detail-row:last-child { border-bottom: none; }
.detail-row label { color: var(--gray); min-width: 160px; font-weight: 600; }
.detail-row span { color: var(--white); }

@media (max-width: 1024px) {
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TICKET QUANTITY SELECTOR ===== */
.ticket-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.ticket-row:last-of-type { border-bottom: none; }
.ticket-row .cat-info { flex: 1; }
.ticket-row .cat-info h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.ticket-row .cat-price { font-family: var(--font-display); font-size: 18px; color: var(--magenta-bright); min-width: 70px; text-align: right; }
.ticket-row.has-tickets { background: rgba(161,0,255,0.06); border-radius: 4px; padding-left: 10px; padding-right: 10px; }

.ticket-qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
}
.qty-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.qty-btn:hover { color: var(--magenta-bright); }
.qty-value {
  font-family: var(--font-display);
  font-size: 18px;
  min-width: 24px;
  text-align: center;
  color: var(--white);
}

/* ===== MULTI-PARTICIPANT PROGRESS BAR ===== */
.multi-participant-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.mp-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mp-slot-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.mp-done .mp-slot-num { background: #00ff88; color: #050507; }
.mp-current .mp-slot-num { background: var(--magenta-bright); color: #050507; }
.mp-pending .mp-slot-num { background: var(--bg-card2); color: var(--gray); border: 1px solid var(--border); }

.mp-slot-info { display: flex; flex-direction: column; }
.mp-slot-label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.mp-slot-cat { font-size: 13px; font-weight: 600; color: var(--white); }
.mp-done .mp-slot-cat { color: #00ff88; }
.mp-current .mp-slot-cat { color: var(--magenta-bright); }

.mp-connector {
  height: 2px;
  width: 32px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 8px;
}
.mp-connector-done { background: #00ff88; }

/* ===== COMPLETED REGISTRATIONS ===== */
.completed-registrations {
  background: rgba(0,255,136,0.05);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 20px;
  margin-bottom: 24px;
}
.completed-reg-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,255,136,0.1);
}
.completed-reg-card:last-child { border-bottom: none; }

/* ===== CURRENT PARTICIPANT LABEL ===== */
.current-participant-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray);
}
.cp-badge {
  background: var(--magenta-bright);
  color: #050507;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 1px;
}

/* ===== FIELD ERROR MESSAGES ===== */
.field-error {
  display: block;
  color: #ff4444;
  font-size: 12px;
  margin-top: 4px;
}

/* ========================================
   LIGHT MODE OVERRIDES
   ======================================== */

body.light-mode {
  background: var(--bg);
  color: var(--white);
}

body.light-mode::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(109,40,217,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(181,0,142,0.06) 0%, transparent 60%);
}

/* Cards */
body.light-mode .event-card,
body.light-mode .form-card,
body.light-mode .info-card,
body.light-mode .step-card,
body.light-mode .team-card,
body.light-mode .mission-card,
body.light-mode .gallery-item,
body.light-mode .admin-card,
body.light-mode .stat-card,
body.light-mode .checkout-card,
body.light-mode .checkout-summary,
body.light-mode .category-option,
body.light-mode .payment-method,
body.light-mode .completed-reg-card {
  background: var(--bg-card);
  border-color: var(--border);
}

/* Inputs */
body.light-mode .input-field,
body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="tel"],
body.light-mode input[type="number"],
body.light-mode input[type="date"],
body.light-mode input[type="password"],
body.light-mode select,
body.light-mode textarea {
  background: #ebebf5;
  border-color: var(--border);
  color: var(--white);
}

body.light-mode .input-field::placeholder,
body.light-mode input::placeholder,
body.light-mode textarea::placeholder { color: var(--gray); }

/* Footer */
body.light-mode .footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  color: #0a0a0a;
}
body.light-mode .footer-brand p { color: #333344; }
body.light-mode .footer-col h4 { color: #0a0a0a; }
body.light-mode .footer-col ul li a { color: #333344; }
body.light-mode .footer-col ul li a:hover { color: var(--purple-bright); }
body.light-mode .newsletter-form p { color: #333344; }
body.light-mode .footer-bottom {
  border-top: 1px solid var(--border);
  color: #333344;
}
body.light-mode .footer-bottom p { color: #333344; }
body.light-mode .system-status { color: #333344; }
/* social icons handled in base styles above */

/* Section backgrounds */
body.light-mode .section-dark,
body.light-mode .register-section,
body.light-mode .hero-section { background: var(--bg); }

body.light-mode .section-darker { background: var(--bg-card2); }

/* Nav links */
body.light-mode .nav-links a { color: var(--white); }
body.light-mode .nav-hamburger span { background: var(--white); }
body.light-mode .nav-logo span { color: var(--white); }

/* Step numbers */
body.light-mode .step-number { border-color: var(--border-purple); color: var(--purple-bright); }

/* Tables */
body.light-mode .admin-table th { background: var(--bg-card2); }
body.light-mode .admin-table tr:hover td { background: rgba(109,40,217,0.05); }

/* ========================================
   LIGHT MODE - COMPREHENSIVE OVERRIDES
   ======================================== */

/* Hero section overlays */
body.light-mode .hero-bg {
  background: linear-gradient(135deg, #e8e8f5 0%, #d0c8f0 50%, #e8e8f5 100%);
}
body.light-mode .hero-overlay {
  background: linear-gradient(to right, rgba(240,240,245,0.85) 40%, rgba(240,240,245,0.3) 100%),
              linear-gradient(to top, rgba(240,240,245,0.8) 0%, transparent 50%);
}
body.light-mode .hero-bg img { opacity: 0.25; }

/* Event detail hero overlay */
body.light-mode .event-detail-hero::after {
  background: linear-gradient(to top, rgba(240,240,245,1) 0%, rgba(240,240,245,0.3) 100%);
}

/* Gallery overlay */
body.light-mode .gallery-item-overlay {
  background: linear-gradient(to top, rgba(240,240,245,0.95) 0%, transparent 60%);
}
body.light-mode .gallery-lightbox { background: rgba(240,240,245,0.96); }

/* Sections with explicit dark backgrounds */
body.light-mode .section,
body.light-mode section { background-color: transparent; }
body.light-mode .section-dark { background: var(--bg-card2) !important; }

/* Stats bar */
body.light-mode .stats-bar { background: var(--bg-card); }

/* Feature/Value/Impact cards */
body.light-mode .feature-card,
body.light-mode .value-card,
body.light-mode .impact-card,
body.light-mode .story-card,
body.light-mode .impact-item { background: var(--bg-card); border-color: var(--border); }

/* Testimonials */
body.light-mode .testimonial-card { background: var(--bg-card); border-color: var(--border); }
body.light-mode .testimonial-text { color: var(--gray-light); }

/* CTA section */
body.light-mode .cta-section {
  background: radial-gradient(ellipse at center, rgba(109,40,217,0.08) 0%, transparent 70%);
  border-color: var(--border);
}

/* Timeline */
body.light-mode .timeline-dot { background: var(--bg); }

/* Featured event */
body.light-mode .featured-event { background: var(--bg-card); border-color: var(--border); }

/* Page hero */
body.light-mode .page-hero {
  background: linear-gradient(180deg, rgba(109,40,217,0.07) 0%, transparent 100%);
}
body.light-mode .page-hero p,
body.light-mode .section-sub { color: var(--gray); }

/* Contact info */
body.light-mode .contact-info-block { background: var(--bg-card); border-color: var(--border); }
body.light-mode .contact-form-panel { background: var(--bg-card); border-color: var(--border); }

/* Registration steps */
body.light-mode .step-circle { background: var(--bg-card); border-color: var(--border); }
body.light-mode .progress-line { background: var(--border); }
body.light-mode .form-section { background: var(--bg-card); border-color: var(--border); }
body.light-mode .step-item.active .step-label { color: var(--purple-bright); }

/* Checkout */
body.light-mode .checkout-card,
body.light-mode .checkout-summary { background: var(--bg-card); border-color: var(--border); }
body.light-mode .order-item { border-color: var(--border); }

/* Registration panel / category options */
body.light-mode .reg-panel { background: var(--bg-card); border-color: var(--border); }
body.light-mode .category-option { background: var(--bg-card); border-color: var(--border); }
body.light-mode .category-option.selected { background: rgba(109,40,217,0.08); border-color: var(--purple-bright); }
body.light-mode .payment-method { background: var(--bg-card); border-color: var(--border); }
body.light-mode .payment-method.selected { background: rgba(109,40,217,0.08); border-color: var(--purple-bright); }

/* Admin panel */
body.light-mode .admin-sidebar { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-topbar { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-stat-card { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-table th { background: var(--bg-card2); color: var(--gray-light); }
body.light-mode .admin-table td { border-color: var(--border); color: var(--white); }
body.light-mode .admin-table tr:hover td { background: rgba(109,40,217,0.05); }
body.light-mode .admin-card { background: var(--bg-card); border-color: var(--border); }

/* Confirmation page */
body.light-mode .confirmation-card { background: var(--bg-card); border-color: var(--border); }
body.light-mode .reg-detail-row { border-color: var(--border); }

/* Nav links color in light mode */
body.light-mode .nav-links a { color: #2a2a45; }
body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active { color: var(--purple-bright); }

/* Buttons in light mode */
body.light-mode .btn-primary {
  background: var(--magenta);
  color: #000000;
}
body.light-mode .btn-primary:hover {
  background: var(--magenta-bright);
  color: #000000;
}
body.light-mode .btn-outline {
  border-color: #0a0a0a;
  color: #0a0a0a;
  background: transparent;
}
body.light-mode .btn-outline:hover {
  background: #0a0a0a;
  color: #ffffff;
}
body.light-mode .btn-purple {
  background: var(--purple);
  color: #ffffff;
}
body.light-mode .btn-purple:hover {
  background: var(--purple-bright);
  color: #ffffff;
}
body.light-mode .nav-register {
  background: var(--purple);
  color: #ffffff;
}
body.light-mode .nav-register:hover {
  background: var(--purple-bright);
  color: #ffffff;
}
/* Proceed / submit / pay buttons (inline styled) */
body.light-mode button[style*="background:linear-gradient"],
body.light-mode button[style*="background: linear-gradient"] {
  color: #000000 !important;
}
/* APPLY coupon button */
body.light-mode button[style*="background:var(--purple-bright)"],
body.light-mode button[style*="background: var(--purple-bright)"] {
  color: #ffffff !important;
}
/* Subscribe / form submit buttons */
body.light-mode .newsletter-form .btn-outline {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}
body.light-mode .newsletter-form .btn-outline:hover {
  background: var(--purple-bright);
  color: #ffffff;
}

/* Multi-step progress in light */
body.light-mode .mp-slot-num { background: var(--bg-card); border-color: var(--border); color: var(--gray); }
body.light-mode .mp-connector { background: var(--border); }

/* Badges */
body.light-mode .badge-gray { background: rgba(109,40,217,0.08); color: var(--purple-bright); }

/* section with inline bg */
body.light-mode section[style*="background:var(--bg-card)"],
body.light-mode section[style*="background: var(--bg-card)"] {
  background: var(--bg-card) !important;
}

/* Scrollbar */
body.light-mode ::-webkit-scrollbar-track { background: #e0e0ec; }
body.light-mode ::-webkit-scrollbar-thumb { background: #a0a0c0; }
body.light-mode ::-webkit-scrollbar-thumb:hover { background: var(--purple-bright); }

/* ========================================
   LIGHT MODE - ADMIN & REMAINING COMPONENTS
   ======================================== */

/* Admin layout */
body.light-mode .admin-body { background: var(--bg); color: var(--white); }
body.light-mode .admin-sidebar { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-nav a { color: var(--gray); }
body.light-mode .admin-nav a:hover { color: var(--white); background: rgba(0,0,0,0.04); }
body.light-mode .admin-topbar { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-login-page { background: var(--bg); }

/* Admin tables */
body.light-mode .admin-table-wrap { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-table-header { border-color: var(--border); }
body.light-mode .data-table th {
  background: rgba(0,0,0,0.03);
  border-color: var(--border);
  color: var(--gray);
}
body.light-mode .data-table td {
  border-color: rgba(0,0,0,0.06);
  color: var(--gray-light);
}
body.light-mode .data-table tr:hover td { background: rgba(109,40,217,0.04); }

/* Admin search inputs */
body.light-mode .admin-search input,
body.light-mode .admin-search select {
  background: #ebebf5;
  border-color: var(--border);
  color: var(--white);
}

/* Admin login box */
body.light-mode .admin-login-box { background: var(--bg-card); border-color: var(--border); }

/* Admin modal */
body.light-mode .admin-modal { background: var(--bg-card); border-color: var(--border); }
body.light-mode .admin-modal-close { color: var(--gray); }
body.light-mode .admin-modal-close:hover { color: var(--white); }
body.light-mode .detail-row { border-color: var(--border); }
body.light-mode .detail-row label { color: var(--gray); }
body.light-mode .detail-row span { color: var(--white); }

/* Action buttons */
body.light-mode .action-btn { border-color: var(--border); color: var(--gray); }
body.light-mode .page-btn { border-color: var(--border); color: var(--gray); }

/* Stat cards */
body.light-mode .stat-card { background: var(--bg-card); border-color: var(--border); }
body.light-mode .stat-card-value { color: var(--white); }

/* Ticket quantity control */
body.light-mode .ticket-qty-control { background: #ebebf5; border-color: var(--border); }
body.light-mode .qty-btn { color: var(--white); }

/* Checkout disabled button */
body.light-mode button[disabled][style*="background:#333"] {
  background: #d0d0e0 !important;
  color: #999 !important;
}

/* Confirmation page */
body.light-mode .confirmation-icon { color: var(--green); }
body.light-mode .conf-meta-row { border-color: var(--border); }
body.light-mode .conf-meta-label { color: var(--gray); }

/* Contact page info blocks */
body.light-mode .contact-icon-box {
  background: rgba(109,40,217,0.1);
  border-color: var(--border-purple);
}

/* Gallery lightbox */
body.light-mode #lightbox { background: rgba(240,240,245,0.97); }

/* Event detail page */
body.light-mode .event-detail-content { background: var(--bg-card); border-color: var(--border); }
body.light-mode .event-detail-sidebar { background: var(--bg-card); border-color: var(--border); }
body.light-mode .race-route-map { background: var(--bg-card2); border-color: var(--border); }

/* Smooth transitions on cards */
body.light-mode .feature-card,
body.light-mode .value-card,
body.light-mode .impact-card,
body.light-mode .stat-card,
body.light-mode .testimonial-card,
body.light-mode .event-card,
body.light-mode .story-card {
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Section dividers */
body.light-mode section[style*="border-top"],
body.light-mode section[style*="border-bottom"] {
  border-color: var(--border) !important;
}

/* Coupon/discount input */
body.light-mode .coupon-row { border-color: var(--border); }
body.light-mode .coupon-result { color: var(--green); }

/* Progress fill uses CSS vars already, but ensure bg-card for steps */
body.light-mode .step-item.completed .step-circle {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

/* Featured event badge */
body.light-mode .featured-badge {
  background: var(--purple);
  color: #ffffff;
}

/* Distance tags */
body.light-mode .distance-tag {
  background: rgba(109,40,217,0.1);
  border-color: var(--border-purple);
  color: var(--purple-bright);
}

/* Meta labels */
body.light-mode .meta-label { color: var(--gray); }
body.light-mode .meta-value { color: var(--white); }

/* Hero tag / featured tag */
body.light-mode .hero-tag,
body.light-mode .featured-tag { color: var(--magenta-bright); }

/* Countdown (if on page) */
body.light-mode .countdown-separator { color: var(--gray); }
body.light-mode .countdown-label { color: var(--gray); }
body.light-mode .countdown-unit { background: var(--bg-card); border-color: var(--border); }

/* Filter row selects */
body.light-mode .filter-row select {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--white);
}

/* Status badges stay colored — just ensure good contrast */
body.light-mode .badge-green { background: rgba(0,180,96,0.12); color: #007a40; border-color: rgba(0,180,96,0.3); }
body.light-mode .badge-yellow { background: rgba(200,160,0,0.12); color: #8a6800; border-color: rgba(200,160,0,0.3); }
body.light-mode .badge-red { background: rgba(200,40,40,0.12); color: #a01010; border-color: rgba(200,40,40,0.3); }
body.light-mode .badge-purple { background: rgba(109,40,217,0.1); color: var(--purple-bright); border-color: var(--border-purple); }

/* Scrollbar for light */
body.light-mode { scrollbar-color: #a0a0c0 #e0e0ec; }

/* ========================================
   LIGHT MODE - TEXT COLORS (TRUE BLACK)
   ======================================== */

/* Global text reset for light mode */
body.light-mode,
body.light-mode p,
body.light-mode li,
body.light-mode span:not(.accent):not(.accent-text):not(.accent-purple):not(.purple-text):not(.badge):not(.distance-tag):not(.featured-tag):not(.hero-tag):not(.status-fast):not(.system-status span) {
  color: #0a0a0a;
}

/* Headings */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5 { color: #000000; }

/* Section titles */
body.light-mode .section-title,
body.light-mode .display-title,
body.light-mode .feature-title,
body.light-mode .featured-title,
body.light-mode .admin-table-title,
body.light-mode .admin-topbar-title { color: #000000; }

/* Muted / secondary text */
body.light-mode .section-sub,
body.light-mode .feature-text,
body.light-mode .testimonial-text,
body.light-mode .featured-desc,
body.light-mode .footer-brand p,
body.light-mode .mv-block p,
body.light-mode .value-card p,
body.light-mode .impact-card p,
body.light-mode .story-card p,
body.light-mode .timeline-item p,
body.light-mode .page-hero p,
body.light-mode .team-card p,
body.light-mode .stat-item,
body.light-mode .hero-subtitle { color: #333344; }

/* Gray labels */
body.light-mode .stat-card-label,
body.light-mode .impact-label,
body.light-mode .countdown-label,
body.light-mode .meta-label,
body.light-mode .cat-info span,
body.light-mode .testimonial-role,
body.light-mode .form-group label,
body.light-mode .detail-row label,
body.light-mode .admin-pagination,
body.light-mode .footer-bottom p,
body.light-mode .newsletter-form p { color: #444455; }

/* Nav */
body.light-mode .nav-logo span { color: #000000; }
body.light-mode .nav-links a { color: #111111; }
body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active { color: var(--purple-bright); }

/* Card values and numbers */
body.light-mode .stat-card-value,
body.light-mode .impact-num,
body.light-mode .meta-value,
body.light-mode .cat-info h4,
body.light-mode .team-card h4,
body.light-mode .value-card h4,
body.light-mode .impact-card h4 { color: #000000; }

/* Form elements text */
body.light-mode .input-field,
body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="tel"],
body.light-mode input[type="number"],
body.light-mode input[type="date"],
body.light-mode input[type="password"],
body.light-mode select,
body.light-mode textarea {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.18);
  color: #0a0a0a;
}
body.light-mode .input-field::placeholder,
body.light-mode input::placeholder,
body.light-mode textarea::placeholder { color: #888899; }

/* Data tables */
body.light-mode .data-table td { color: #111111; }
body.light-mode .data-table th { color: #444455; }
body.light-mode .detail-row span { color: #0a0a0a; }

/* Admin user */
body.light-mode .admin-user { color: #111111; }

/* ========================================
   LIGHT MODE - PADDING & SPACING FIXES
   ======================================== */

/* Ensure section padding is consistent and adequate */
body.light-mode .section {
  padding-top: 80px;
  padding-bottom: 80px;
}

body.light-mode .page-hero {
  padding: calc(var(--nav-height) + 64px) 0 80px;
}

/* Cards get a little more breathing room */
body.light-mode .feature-card { padding: 40px 32px; }
body.light-mode .value-card { padding: 36px 28px; }
body.light-mode .impact-card { padding: 36px 28px; }
body.light-mode .impact-item { padding: 44px 28px; }
body.light-mode .testimonial-card { padding: 32px; }
body.light-mode .story-card { padding: 40px; }
body.light-mode .form-section { padding: 44px; }
body.light-mode .contact-form-panel { padding: 44px; }
body.light-mode .reg-panel { padding: 36px; }
body.light-mode .checkout-card { padding: 36px; }

/* Nav inner spacing */
body.light-mode .nav-inner { padding: 0 4px; }

/* Footer spacing */
body.light-mode .footer { padding: 72px 0 36px; }
body.light-mode .footer-grid { gap: 52px; margin-bottom: 52px; }
body.light-mode .footer-bottom { padding-top: 28px; }

/* Section headers */
body.light-mode .section-header { margin-bottom: 52px; }

/* Admin content */
body.light-mode .admin-content { padding: 36px; }

/* Mobile: tighter but still spacious */
@media (max-width: 768px) {
  body.light-mode .section { padding-top: 60px; padding-bottom: 60px; }
  body.light-mode .feature-card,
  body.light-mode .value-card { padding: 28px 20px; }
  body.light-mode .form-section,
  body.light-mode .contact-form-panel { padding: 28px 20px; }
  body.light-mode .footer { padding: 52px 0 28px; }
  body.light-mode .footer-grid { gap: 32px; }
}