:root {
  --bg: #0b0d12;
  --bg-soft: #0f131a;
  --panel: #121723;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e9edf3;
  --muted: #a7b1c2;
  --primary: #6ee7ff;
  --accent: #a78bfa;
  --card: #0f131a;
  --btn: #1f2937;
  --btn-text: #e9edf3;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ring: 0 0 0 3px rgba(110, 231, 255, 0.25);
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --nav-height: 70px;
}

html[data-theme="light"] {
  --bg: #f2f5fa;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --border: rgba(0, 0, 0, 0.12);

  --text: #0e141b;
  --muted: #5b6475;

  --primary: #1d4ed8;
  --accent: #ef4444;

  --card: #ffffff;

  --btn: #1d4ed8;
  --btn-text: #ffffff;

  --shadow: 0 6px 20px rgba(29, 78, 216, 0.15);
  --ring: 0 0 0 3px rgba(29, 78, 216, 0.35);
}

html[data-theme="blue-black"] {
  --bg: #0a0f1a;
  --bg-soft: #0f1728;
  --panel: #162035;
  --border: rgba(59, 130, 246, 0.15);
  --text: #e1e8f7;
  --muted: #8ca5d3;
  --primary: #3b82f6;
  --accent: #1d4ed8;
  --card: #1a2332;
  --btn: #3b82f6;
  --btn-text: #ffffff;
  --shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
  --ring: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

html[data-theme="green-black"] {
  --bg: #0a1a0f;
  --bg-soft: #0f2817;
  --panel: #163520;
  --border: rgba(34, 197, 94, 0.15);
  --text: #e1f7e8;
  --muted: #8cd3a5;
  --primary: #22c55e;
  --accent: #16a34a;
  --card: #1a3223;
  --btn: #22c55e;
  --btn-text: #ffffff;
  --shadow: 0 12px 32px rgba(34, 197, 94, 0.2);
  --ring: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

html[data-theme="purple-black"] {
  --bg: #140a1a;
  --bg-soft: #1f0f28;
  --panel: #2a1635;
  --border: rgba(147, 51, 234, 0.15);
  --text: #f0e1f7;
  --muted: #c18cd3;
  --primary: #9333ea;
  --accent: #7c3aed;
  --card: #251a32;
  --btn: #9333ea;
  --btn-text: #ffffff;
  --shadow: 0 12px 32px rgba(147, 51, 234, 0.2);
  --ring: 0 0 0 3px rgba(147, 51, 234, 0.3);
}

html[data-theme="orange-black"] {
  --bg: #1a0f0a;
  --bg-soft: #281f0f;
  --panel: #352616;
  --border: rgba(249, 115, 22, 0.15);
  --text: #f7e6e1;
  --muted: #d3a58c;
  --primary: #f97316;
  --accent: #ea580c;
  --card: #322318;
  --btn: #f97316;
  --btn-text: #ffffff;
  --shadow: 0 12px 32px rgba(249, 115, 22, 0.2);
  --ring: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(110, 231, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(110, 231, 255, 0.6);
  }
}

/* Animation Classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 60;
  backdrop-filter: saturate(1.2) blur(20px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg), transparent 25%);
  transition: all 0.3s ease;
  height: var(--nav-height);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
  animation: glow 2s ease-in-out infinite;
}

.brand-logo svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25));
}

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

.brand-top {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.nav-link {
  opacity: 0.85;
  padding: 10px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  opacity: 1;
  background: color-mix(in oklab, var(--primary), transparent 90%);
  transform: translateY(-2px);
}

.nav-link:hover::before {
  width: 80%;
}

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

/* Theme Selector */
.theme-selector {
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.theme-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.theme-wrapper:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.theme-icon {
  color: var(--primary);
  font-size: 14px;
  margin-right: 8px;
  transition: color 0.3s ease;
}

.theme-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 8px 30px 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  min-width: 140px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-dropdown:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-dropdown:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.25);
}

.theme-dropdown option {
  background: var(--panel);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
  font-weight: 500;
}

.theme-dropdown option:hover,
.theme-dropdown option:focus {
  background: var(--primary);
  color: #fff;
}

/* Theme-specific dropdown styling for desktop */
html[data-theme="light"] .theme-dropdown {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .theme-dropdown:hover {
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

html[data-theme="light"] .theme-dropdown:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.25);
}

html[data-theme="light"] .theme-dropdown option {
  background: #ffffff;
  color: #1a1a1a;
  padding: 10px 12px;
}

html[data-theme="light"] .theme-dropdown option:hover,
html[data-theme="light"] .theme-dropdown option:focus {
  background: #1d4ed8;
  color: #ffffff;
}

html[data-theme="dark"] .theme-dropdown {
  background: #1f2937;
  color: #f9fafb;
  border: 1px solid #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .theme-dropdown:hover {
  border-color: #6ee7ff;
  box-shadow: 0 4px 12px rgba(110, 231, 255, 0.2);
}

html[data-theme="dark"] .theme-dropdown:focus {
  border-color: #6ee7ff;
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.3);
}

html[data-theme="dark"] .theme-dropdown option {
  background: #1f2937;
  color: #f9fafb;
  padding: 10px 12px;
}

html[data-theme="dark"] .theme-dropdown option:hover,
html[data-theme="dark"] .theme-dropdown option:focus {
  background: #6ee7ff;
  color: #0b0d12;
}

html[data-theme="blue-black"] .theme-dropdown {
  background: #1a2332;
  color: #e1e8f7;
  border: 1px solid #2d3748;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

html[data-theme="blue-black"] .theme-dropdown:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

html[data-theme="blue-black"] .theme-dropdown:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

html[data-theme="blue-black"] .theme-dropdown option {
  background: #1a2332;
  color: #e1e8f7;
  padding: 10px 12px;
}

html[data-theme="blue-black"] .theme-dropdown option:hover,
html[data-theme="blue-black"] .theme-dropdown option:focus {
  background: #3b82f6;
  color: #ffffff;
}

html[data-theme="green-black"] .theme-dropdown {
  background: #1a3223;
  color: #e1f7e8;
  border: 1px solid #2d4a3a;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

html[data-theme="green-black"] .theme-dropdown:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

html[data-theme="green-black"] .theme-dropdown:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

html[data-theme="green-black"] .theme-dropdown option {
  background: #1a3223;
  color: #e1f7e8;
  padding: 10px 12px;
}

html[data-theme="green-black"] .theme-dropdown option:hover,
html[data-theme="green-black"] .theme-dropdown option:focus {
  background: #22c55e;
  color: #ffffff;
}

html[data-theme="purple-black"] .theme-dropdown {
  background: #251a32;
  color: #f0e1f7;
  border: 1px solid #3d2a4a;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.2);
}

html[data-theme="purple-black"] .theme-dropdown:hover {
  border-color: #9333ea;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

html[data-theme="purple-black"] .theme-dropdown:focus {
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.3);
}

html[data-theme="purple-black"] .theme-dropdown option {
  background: #251a32;
  color: #f0e1f7;
  padding: 10px 12px;
}

html[data-theme="purple-black"] .theme-dropdown option:hover,
html[data-theme="purple-black"] .theme-dropdown option:focus {
  background: #9333ea;
  color: #ffffff;
}

html[data-theme="orange-black"] .theme-dropdown {
  background: #322318;
  color: #f7e6e1;
  border: 1px solid #4a3d2a;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

html[data-theme="orange-black"] .theme-dropdown:hover {
  border-color: #f97316;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

html[data-theme="orange-black"] .theme-dropdown:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

html[data-theme="orange-black"] .theme-dropdown option {
  background: #322318;
  color: #f7e6e1;
  padding: 10px 12px;
}

html[data-theme="orange-black"] .theme-dropdown option:hover,
html[data-theme="orange-black"] .theme-dropdown option:focus {
  background: #f97316;
  color: #ffffff;
}

/* Mobile menu theme-specific dropdown styling */
html[data-theme="light"] .mobile-menu .theme-dropdown option {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: 1px solid #e5e7eb;
}

html[data-theme="light"] .mobile-menu .theme-dropdown option:hover,
html[data-theme="light"] .mobile-menu .theme-dropdown option:focus {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8;
}

html[data-theme="dark"] .mobile-menu .theme-dropdown option {
  background: #1f2937 !important;
  color: #f9fafb !important;
  border: 1px solid #374151;
}

html[data-theme="dark"] .mobile-menu .theme-dropdown option:hover,
html[data-theme="dark"] .mobile-menu .theme-dropdown option:focus {
  background: #6ee7ff !important;
  color: #0b0d12 !important;
  border-color: #6ee7ff;
}

html[data-theme="blue-black"] .mobile-menu .theme-dropdown option {
  background: #1a2332 !important;
  color: #e1e8f7 !important;
  border: 1px solid #2d3748;
}

html[data-theme="blue-black"] .mobile-menu .theme-dropdown option:hover,
html[data-theme="blue-black"] .mobile-menu .theme-dropdown option:focus {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border-color: #3b82f6;
}

html[data-theme="green-black"] .mobile-menu .theme-dropdown option {
  background: #1a3223 !important;
  color: #e1f7e8 !important;
  border: 1px solid #2d4a3a;
}

html[data-theme="green-black"] .mobile-menu .theme-dropdown option:hover,
html[data-theme="green-black"] .mobile-menu .theme-dropdown option:focus {
  background: #22c55e !important;
  color: #ffffff !important;
  border-color: #22c55e;
}

html[data-theme="purple-black"] .mobile-menu .theme-dropdown option {
  background: #251a32 !important;
  color: #f0e1f7 !important;
  border: 1px solid #3d2a4a;
}

html[data-theme="purple-black"] .mobile-menu .theme-dropdown option:hover,
html[data-theme="purple-black"] .mobile-menu .theme-dropdown option:focus {
  background: #9333ea !important;
  color: #ffffff !important;
  border-color: #9333ea;
}

html[data-theme="orange-black"] .mobile-menu .theme-dropdown option {
  background: #322318 !important;
  color: #f7e6e1 !important;
  border: 1px solid #4a3d2a;
}

html[data-theme="orange-black"] .mobile-menu .theme-dropdown option:hover,
html[data-theme="orange-black"] .mobile-menu .theme-dropdown option:focus {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316;
}

/* Custom arrow */
.dropdown-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  z-index: 5;
}

.theme-wrapper:hover .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
  box-shadow: var(--shadow);
}

.mobile-menu-toggle:hover {
  background: var(--btn);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mobile-menu-toggle i {
  font-size: 18px;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--panel);
  z-index: 50;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: block;
  backdrop-filter: blur(10px);
}

.mobile-menu.show {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.mobile-nav-link {
  padding: 16px 20px;
  color: var(--text);
  transition: all 0.3s ease;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  background: color-mix(in oklab, var(--panel), transparent 20%);
  border: 1px solid var(--border);
}

.mobile-nav-link:hover {
  background: color-mix(in oklab, var(--primary), transparent 90%);
  transform: translateX(5px);
}

/* Buttons */
.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--btn);
  color: var(--btn-text);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
}

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

.register-btn {
  font-size: 14px;
  padding: 12px 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: white;
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.register-btn:hover::before {
  opacity: 0;
}

.register-btn span,
.register-btn i {
  position: relative;
  z-index: 1;
}

.register-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

#bg-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.orb {
  position: absolute;
  filter: blur(80px);
  opacity: .4;
  animation: pulse 4s ease-in-out infinite;
}

.orb.one {
  width: 400px;
  height: 400px;
  right: -150px;
  top: -150px;
  background: radial-gradient(circle at 30% 30%, var(--primary), transparent 60%);
  animation-delay: 0s;
}

.orb.two {
  width: 450px;
  height: 450px;
  left: -180px;
  bottom: -180px;
  background: radial-gradient(circle at 60% 60%, var(--accent), transparent 60%);
  animation-delay: 2s;
}

.hero-wrap {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding: 80px 0;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  background: color-mix(in oklab, var(--panel), transparent 30%);
  backdrop-filter: blur(10px);
}

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

.headline {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 20px 0;
}

.headline .accent {
  color: var(--primary);
  position: relative;
}

.wavy-underline {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: color-mix(in oklab, var(--primary), transparent 40%);
  text-underline-offset: 8px;
}

.sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

/* Hero Image */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.hero-image img.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-image img.hero-img.active {
  opacity: 1;
  z-index: 1;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 420px;
  margin-top: 24px;
}

.cd-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  padding: 16px 12px;
  background: color-mix(in oklab, var(--panel), transparent 20%);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cd-box:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cd-val {
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.cd-key {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Sections */
section {
  padding: 80px 0;
}

h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

h2 i {
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

/* About Section */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.pills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  background: color-mix(in oklab, var(--panel), transparent 20%);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pill:hover {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary), transparent 90%);
  transform: translateY(-3px);
}

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

.quick-info-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-info-card h3 {
  margin: 0 0 16px 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-info-card h3 i {
  color: var(--primary);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.info-list i {
  color: var(--primary);
  width: 16px;
}

.quick-register {
  margin-top: 20px;
}

/* Events Section */
.events-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.grid-events {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Event Cards */
.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), transparent, transparent);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

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

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

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.card-icon {
  font-size: 48px;
  color: white;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.badge.shark-tank {
  background: linear-gradient(135deg, #FF1744, transparent 50%);
  /* Vivid Red */
  color: white;
}

.badge.lumora {
  background: linear-gradient(135deg, #00E5FF, transparent 50%);
  /* Neon Cyan */
  color: white;
}

.badge.bug-zappers {
  background: linear-gradient(135deg, #FFEA00, transparent 50%);
  /* Bright Yellow */
  color: white;
}

.badge.quantumshift {
  background: linear-gradient(135deg, #D500F9, transparent 50%);
  /* Electric Purple */
  color: white;
}

.badge.technovolts {
  background: linear-gradient(135deg, #00E676, transparent 50%);
  /* Neon Green */
  color: white;
}

.badge.animeverse {
  background: linear-gradient(135deg, #FF6D00, transparent 50%);
  /* Vibrant Orange */
  color: white;
}

.badge.beyond-aesthetics {
  background: linear-gradient(135deg, #2979FF, transparent 50%);
  /* Bright Blue */
  color: white;
}


.card-body {
  padding: 20px 20px 8px;
  flex-grow: 1;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-title i {
  color: var(--primary);
}

.card-desc {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-meta i {
  color: var(--primary);
  width: 12px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 20px;
  gap: 8px;
}

/* Schedule Section */
.schedule-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.schedule-icon {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.sched-list {
  display: grid;
  gap: 16px;
}

.sched-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: color-mix(in oklab, var(--panel), transparent 20%);
  transition: all 0.3s ease;
}

.sched-item:hover {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary), transparent 95%);
  transform: translateX(5px);
}

.sched-time {
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
}

.sched-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sched-title {
  font-weight: 700;
  font-size: 16px;
}

.sched-speaker {
  color: var(--muted);
  font-size: 14px;
}

.sched-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.sched-location i {
  color: var(--primary);
}

/* Gallery */
.gallery-header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  
}
.gallery-header i {
  color: var(--primary);
  margin-bottom: 7px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-content {
  display: grid;
  gap: 16px;
  padding: 32px 0;
  text-align: center;
}

.footer-title {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-title i {
  color: var(--primary);
}

.footer-subtitle {
  color: var(--muted);
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.footer-link {
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.footer-link i {
  color: var(--primary);
}

.footer-bottom {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer-bottom i {
  color: var(--error);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  place-items: center;
  z-index: 80;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  display: grid;
  opacity: 1;
}

.modal {
  width: min(560px, 95vw);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-backdrop.show .modal {
  transform: scale(1);
}

.modal header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal header i {
  color: var(--primary);
}

.modal .content {
  padding: 24px;
}

.modal-desc {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field label i {
  color: var(--primary);
  width: 14px;
}

.input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel), transparent 30%);
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--ring);
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  /* Navigation */
  .nav {
    height: 60px;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: color-mix(in oklab, var(--bg), transparent 10%);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    padding: 0 16px;
    height: 60px;
    gap: 8px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand-text {
    overflow: hidden;
  }

  .brand-top {
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .brand-name {
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .nav-links {
    display: none;
  }

  /* Theme selector - now visible and positioned */
  /* .theme-selector {
    display: block;
    order: 1;
  } */

  #themeSelector {
      appearance: none;      /* remove default UI */
      position: absolute;    /* position over the wrapper */
      top: 0;
      left: 0;
      width: 100%;           /* cover the wrapper */
      height: 100%;
      opacity: 0;            /* invisible but clickable */
      cursor: pointer;
      z-index: 2;            /* stay on top */
    }  


  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .register-btn {
    order: 2;
  }

  .register-btn span {
    display: none;
  }

  .theme-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    font-size: 11px;
    padding: 0;
    text-align: center;
    color: transparent; /* Hide the selected text */
    text-shadow: 0 0 0 transparent; /* Ensure text is completely hidden */
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
  }

  /* Show the selected option text only in the dropdown */
  .theme-dropdown option {
    color: var(--text) !important;
    text-shadow: none !important;
    font-weight: 500;
  }

  .theme-wrapper {
    position: relative;
    padding: 6px 8px;
    min-width: auto;
    width: auto;
  }

  .theme-icon {
    font-size: 14px !important;
    margin-right: 4px;
  }

  /* Override the main mobile menu styles for mobile */
  .mobile-menu {
    position: fixed;
    height: 1000px;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
  }

  .mobile-menu.show,
  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .mobile-nav-link {
    padding: 16px 20px;
    color: var(--text);
    transition: all 0.3s ease;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    background: color-mix(in oklab, var(--panel), transparent 20%);
    border: 1px solid var(--border);
    text-decoration: none;
  }

  .mobile-nav-link:hover {
    background: color-mix(in oklab, var(--primary), transparent 90%);
    transform: translateX(5px);
    color: var(--primary);
  }

  /* Mobile menu theme selector */
  .mobile-menu .theme-selector {
    display: block !important;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .mobile-menu .theme-wrapper {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  .mobile-menu .theme-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    font-size: 14px;
    padding: 0;
    text-align: center;
    color: transparent; /* Hide the selected text */
    text-shadow: 0 0 0 transparent; /* Ensure text is completely hidden */
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
  }

  /* Show the selected option text only in the dropdown for mobile menu */
  .mobile-menu .theme-dropdown option {
    color: var(--text) !important;
    text-shadow: none !important;
    font-weight: 500;
  }

  .mobile-menu .theme-wrapper {
    position: relative;
    width: auto;
    min-width: auto;
    justify-content: center;
  }

  .mobile-hidden {
    display: block !important;
  }

  /* Hero Section */
  .hero {
    min-height: 90vh;
    padding-top: var(--nav-height);
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 32px;
    text-align: center;
  }

  .headline {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-cta {
    justify-content: center;
    gap: 12px;
  }

  .hero-cta .btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  .hero-image {
    max-width: 320px;
    height: 320px;
  }

  .countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 300px;
    margin: 20px auto 0;
  }

  .cd-box {
    padding: 12px 8px;
  }

  .cd-val {
    font-size: 20px;
  }

  .cd-key {
    font-size: 9px;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  h2 {
    font-size: 24px;
    text-align: center;
    justify-content: center;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pills-container {
    grid-template-columns: 1fr;
  }

  /* Events */
  .events-head {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .grid-events {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-foot {
    flex-direction: column;
    gap: 12px;
  }

  .card-foot .btn {
    width: 100%;
    justify-content: center;
  }

  .card-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Schedule */
  .schedule-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    justify-content: center;
  }

  .sched-item {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }

  .sched-item:hover {
    transform: translateY(-2px);
  }

  /* Footer */
  .footer-content {
    padding: 40px 20px;
    gap: 24px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footer-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
  }

  .footer-link {
    font-size: 13px;
    padding: 8px 0;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-bottom {
    font-size: 11px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  /* Modal container */
  .modal {
    width: 90vw;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    position: fixed;
    top: 70px;
    /* Reduced gap from nav */
    transform: translateX(-50%);
    z-index: 1001;
    background: var(--panel);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  /* Modal header */
  .modal-header {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Form layout */
  .modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Input fields */
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* Special styling for email/phone row */
  .input-row {
    display: flex;
    gap: 12px;
  }

  .input-row .input-group {
    flex: 1;
  }

  /* Input elements */
  input,
  select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--input-bg);
    font-size: 14px;
  }

  /* Submit button */
  .submit-btn {
    margin-top: 16px;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

  /* Tablet Styles */
  .nav-links {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    height: 1000px;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .hero-wrap {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .headline {
    font-size: 48px;
  }

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

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .pills-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sched-item {
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
  }
}

@media (min-width: 1025px) {

  /* Desktop Styles */
  .nav-links {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .hero-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 100px 0;
  }

  .headline {
    font-size: 56px;
  }

  .grid-events {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .pills-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {

  /* Large Desktop */
  .grid-events {
    grid-template-columns: repeat(4, 1fr);
  }

  .headline {
    font-size: 64px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .hero-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Media Query Support */
@media (prefers-color-scheme: dark) {
  html[data-theme="light"] {
    --bg: #ffffff;
    --bg-soft: #f5f5f5;
    --panel: #f0f0f0;
    --border: #d1d1d1;
    --text: #1a1a1a;
    --muted: #555555;
    --primary: #6ee7ff;
    --accent: #a78bfa;
    --card: #ffffff;
    --ring: 0 0 0 3px rgba(110, 231, 255, 0.5);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .orb {
    animation: none;
  }

  .animate-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .nav,
  .hero-cta,
  .register-btn,
  .modal-backdrop,
  #bg-canvas,
  .orb {
    display: none !important;
  }

  .hero {
    min-height: auto;
  }

  section {
    page-break-inside: avoid;
    padding: 20px 0;
  }

  .card {
    break-inside: avoid;
  }
}

/* Credits Section */
#credits {
  padding: 80px 0;
  background-color: var(--bg-soft);
}

.credits-header {
  text-align: center;
  margin-bottom: 50px;
}

.credits-header h2 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 15px;
}

.credits-header .sub {
  font-size: 1.1rem;
  color: var(--muted);
}

.credits-grid {
  display: flex;
  flex-wrap: wrap;       /* allow wrapping */
  gap: 30px;
  padding: 0 20px;
  justify-content: center;
}

.credit-card {
  background: var(--card);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  border: 1px solid var(--border);
  min-height: 280px;
  flex: 1 1 300px;       /* min width 300px, grows if space */
  max-width: 300px; 
}

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

.credit-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.credit-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.credit-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.credit-info h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

.credit-role {
  color: var(--primary);
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.credit-dept {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.credit-contact {
  display: flex;
  gap: 15px;
}

.credit-contact a {
  color: var(--muted);
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.credit-contact a:hover {
  color: var(--primary);
}

/* Dark mode specific adjustments */
html[data-theme="dark"] .credit-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Light mode specific adjustments */
html[data-theme="light"] .credit-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Special layout for 3-card sections (like Staff Coordinators) */
.credits-grid-special {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
  padding: 0 20px;
  justify-items: center;
}

.credits-row-first {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.credits-row-second {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
  max-width: 600px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }

  .credits-grid-special {
    gap: 20px;
  }

  .credits-row-second {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .credits-row-first {
    width: 100%;
    max-width: 100%;
  }

  .credit-card {
    padding: 20px 15px;
    min-height: 250px;
    width: 100%;
    max-width: 100%;
  }

  .credit-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
  }

  .credit-info h3 {
    font-size: 1.2rem;
  }

  .credit-role {
    font-size: 0.9rem;
  }

  .credit-dept {
    font-size: 0.8rem;
  }
}

/* Ensure nav is visible during loading */
body.loading .nav {
  display: flex !important;
}

/* Hide skeleton when not loading */
body:not(.loading) .skeleton-container {
  display: none !important;
}

/* Show content when not loading */
body:not(.loading) .content-container {
  display: block !important;
}


/* ===== IGNITIA'25 EXPO CAROUSEL (image-only) ===== */
#expo {
  padding: 0 40px;
  background: linear-gradient(135deg, var(--bg), var(--bg-soft));
  /* let the slider control its own spacing */
}

#expo .expo-carousel-container {
  width: min(1300px, 92vw);
  margin: 0 auto;
  perspective: 2000px;
  padding: 3rem 0;
  position: relative;
  overflow: hidden; 
  /* no overflow outside viewport */
}

#expo .expo-track {
  display: flex;
  transition: transform 0.75s cubic-bezier(0.21, 0.61, 0.35, 1);
  transform-style: preserve-3d;
}

#expo .expo-card {
  min-width: clamp(260px, 32vw, 520px);
  max-width: clamp(260px, 32vw, 520px);
  margin: 0 25px;
  background: color-mix(in oklab, var(--panel), transparent 15%);
  border-radius: 1.2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklab, var(--primary), transparent 80%);
  box-shadow: var(--shadow);
  transition: all 0.6s cubic-bezier(0.21, 0.61, 0.35, 1);
  transform-origin: center center;
}

/* neon border glow when active */
#expo .expo-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, transparent 0%, color-mix(in oklab, var(--primary), transparent 20%) 25%, color-mix(in oklab, var(--accent), transparent 20%) 50%, color-mix(in oklab, var(--info), transparent 20%) 75%, transparent 100%);
  border-radius: 1.3rem;
  filter: blur(8px);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
}

#expo .expo-card.is-active::before {
  opacity: 1;
  background-size: 300% 300%;
}

#expo .expo-card:not(.is-active) {
  transform: scale(.8) rotateY(35deg) translateZ(-100px);
  opacity: .45;
  filter: saturate(.6) brightness(.7);
}

#expo .expo-card.is-prev {
  transform-origin: right center;
  transform: scale(.75) rotateY(45deg) translateX(-80px) translateZ(-150px);
}

#expo .expo-card.is-next {
  transform-origin: left center;
  transform: scale(.75) rotateY(-45deg) translateX(80px) translateZ(-150px);
}

#expo .expo-card.is-active {
  transform: scale(1) rotateY(0) translateZ(0);
  opacity: 1;
  z-index: 20;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .5), 0 0 40px color-mix(in oklab, var(--primary), transparent 30%), inset 0 0 20px color-mix(in oklab, var(--primary), transparent 90%);
  filter: saturate(1.05) brightness(1.03);
  border-color: var(--primary);
}

/* IMAGE: fully visible portrait & landscape */
/* IMAGE: fully visible for all aspect ratios */
/* IMAGE CONTAINER: fixed grid height */
#expo .expo-image-container {
  position: relative;
  width: 100%;
  height: clamp(260px, 55vh, 480px); /* fixed "grid size" */
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in oklab, var(--primary), transparent 75%);
}

#expo .expo-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;   /* scale but no crop */
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* nav arrows */
#expo .expo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: color-mix(in oklab, var(--primary), transparent 85%);
  color: var(--primary);
  border: 1px solid color-mix(in oklab, var(--primary), transparent 60%);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 30;
  transition: all .3s ease;
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}

#expo .expo-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

#expo .expo-btn.prev {
  left: 5px;
}

#expo .expo-btn.next {
  right: 5px;
}

#expo .expo-btn:hover {
  background-color: var(--primary);
  color: var(--btn-text);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 20px color-mix(in oklab, var(--primary), transparent 60%);
}

/* Dots navigation */
.expo-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.expo-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}

.expo-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Fullscreen lightbox */
.expo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--bg), transparent 10%);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.expo-lightbox.show {
  display: flex;
}

.expo-lightbox-img {
  max-width: 95%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.expo-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  transition: color .3s ease;
  background: color-mix(in oklab, var(--panel), transparent 20%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.expo-close:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Expo section title */
.expo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.expo-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.expo-header h2 i {
  color: var(--primary);
}

.expo-header .sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* responsive tweaks  */
 @media (max-width: 768px) {

  
  #expo .expo-card {
    min-width: clamp(240px, 82vw, 520px);
    max-width: clamp(240px, 82vw, 520px);
    margin: 0 15px; 
  
  }

  #expo .expo-card:not(.is-active) {
    transform: scale(.85) rotateY(25deg);
  }

  #expo .expo-card.is-prev {
    transform: scale(.8) rotateY(30deg) translateX(-40px);
  }

  #expo .expo-card.is-next {
    transform: scale(.8) rotateY(-30deg) translateX(40px);
  }

  #expo .expo-image-container {
    height: clamp(220px, 56vh, 68vh);
  }

  #expo .expo-btn {
    width: 42px;
    height: 42px;
  }

  .expo-header h2 {
    font-size: 2rem;
  }
}

/* 📱 Mobile carousel view */
/* 

.eve {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel), transparent 30%);
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
}