@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

/* ==========================================================================
   BHAWANIPUR GLOBAL CAMPUS ACM STUDENT CHAPTER - CYBER TECH DESIGN SYSTEM
   DARK THEME: #37111E Velvet Wine & Cyber Accents | LIGHT THEME: Clean Tech Porcelain
   ========================================================================== */

:root {
  /* Dark Theme Palette Tokens (Default) */
  --bg-dark: #0a0205;
  --bg-darker: #060103;
  --bg-wine: #37111E;
  --bg-card: rgba(22, 10, 16, 0.78);
  --bg-card-hover: rgba(36, 16, 26, 0.9);
  --bg-glass: rgba(55, 17, 30, 0.45);
  --bg-glass-subtle: rgba(255, 255, 255, 0.03);

  /* Mouse Pointer Palette (#FF7B60 & #FFFFFF) */
  --cursor-coral: #FF7B60;
  --cursor-white: #FFFFFF;
  --cursor-glow-coral: rgba(255, 123, 96, 0.25);
  --cursor-glow-wine: rgba(55, 17, 30, 0.35);

  /* High-Voltage Cyber Tech Accents for Elements */
  --neon-cyan: #00f2fe;
  --neon-cyan-glow: rgba(0, 242, 254, 0.35);
  --neon-emerald: #00f5a0;
  --neon-emerald-glow: rgba(0, 245, 160, 0.35);
  --neon-purple: #9d4edd;
  --neon-purple-glow: rgba(157, 78, 221, 0.35);
  --neon-blue: #4361ee;
  --neon-gold: #ffb703;
  --neon-gold-glow: rgba(255, 183, 3, 0.35);
  --neon-coral: #FF7B60;

  /* Text & Border Tokens */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --border-cyan: rgba(0, 242, 254, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-wine: rgba(255, 123, 96, 0.25);

  /* Typography */
  --font-main: 'Exo 2', sans-serif;
  --font-heading: 'Exo 2', sans-serif;
  --font-mono: 'Exo 2', monospace, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow-cyan: 0 0 25px rgba(0, 242, 254, 0.28);
  --shadow-glow-emerald: 0 0 25px rgba(0, 245, 160, 0.28);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--border-subtle);
}

/* ==========================================================================
   LIGHT THEME OVERRIDES
   ========================================================================== */
body.light-theme {
  --bg-dark: #f6f8fb;
  --bg-darker: #ffffff;
  --bg-wine: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-subtle: rgba(55, 17, 30, 0.04);

  --cursor-coral: #e04a28;
  --cursor-white: #37111E;
  --cursor-glow-coral: rgba(224, 74, 40, 0.18);
  --cursor-glow-wine: rgba(55, 17, 30, 0.12);

  --neon-cyan: #007799;
  --neon-cyan-glow: rgba(0, 119, 153, 0.2);
  --neon-emerald: #059669;
  --neon-emerald-glow: rgba(5, 150, 105, 0.2);
  --neon-purple: #7c3aed;
  --neon-gold: #b45309;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --border-cyan: rgba(0, 119, 153, 0.25);
  --border-subtle: rgba(55, 17, 30, 0.12);
  --border-wine: rgba(224, 74, 40, 0.2);

  --shadow-card: 0 10px 30px -10px rgba(55, 17, 30, 0.08), 0 0 0 1px rgba(55, 17, 30, 0.08);
}

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

html, body {
  font-family: var(--font-main);
  font-optical-sizing: auto;
}

input, button, textarea, select {
  font-family: inherit;
}

/* Exo 2 Utility Class */
.exo-2 {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* ==========================================================================
   PAGE LOADING SCREEN (CYBER CAR ANIMATION)
   ========================================================================== */
.cyber-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: radial-gradient(circle at center, #260c15 0%, #15060c 60%, #060103 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cyber-page-loader.loader-exit {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

.loader-backdrop-stars {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 140px 180px, #00F2FE, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 300px 90px, #FF7B60, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 500px 240px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 700px 60px, #00F5A0, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 900px 190px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 600px 300px;
  opacity: 0.3;
  pointer-events: none;
}

.loader-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Loader Header Branding */
.loader-brand {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 123, 96, 0.12);
  border: 1px solid rgba(255, 123, 96, 0.35);
  color: var(--neon-coral);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  box-shadow: 0 0 15px rgba(255, 123, 96, 0.2);
}

.loader-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 20%, #cbd5e1 60%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.loader-sub {
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* Car Animation Stage Container */
.car-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2rem 0 1.2rem;
  overflow: hidden;
}

/* Speed Streaks & Wind Particles */
.speed-streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.streak {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.streak-1 { top: 22%; width: 140px; background: linear-gradient(90deg, transparent, #00F2FE, transparent); animation: speedStreakAnim 0.7s infinite linear; }
.streak-2 { top: 38%; width: 180px; background: linear-gradient(90deg, transparent, #FF7B60, transparent); animation: speedStreakAnim 0.55s infinite 0.15s linear; }
.streak-3 { top: 58%; width: 120px; background: linear-gradient(90deg, transparent, #ffffff, transparent); animation: speedStreakAnim 0.75s infinite 0.3s linear; }
.streak-4 { top: 72%; width: 160px; background: linear-gradient(90deg, transparent, #00F5A0, transparent); animation: speedStreakAnim 0.5s infinite 0.2s linear; }
.streak-5 { top: 14%; width: 100px; background: linear-gradient(90deg, transparent, #00F2FE, transparent); animation: speedStreakAnim 0.85s infinite 0.4s linear; }
.streak-6 { top: 82%; width: 130px; background: linear-gradient(90deg, transparent, #FF7B60, transparent); animation: speedStreakAnim 0.6s infinite 0.25s linear; }

@keyframes speedStreakAnim {
  0% {
    transform: translate3d(320px, 0, 0) scaleX(0.2);
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.75;
  }
  100% {
    transform: translate3d(-320px, 0, 0) scaleX(1.8);
    opacity: 0;
  }
}

/* The Cyber Hypercar Container */
.cyber-car-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 480px;
  animation: carChassisVibe 0.45s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.cyber-car-container.car-accelerate-out {
  transform: translate3d(350px, 0, 0) scale(0.92) !important;
  opacity: 0 !important;
}

@keyframes carChassisVibe {
  0% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -1.8px, 0) rotate(-0.25deg);
  }
  100% {
    transform: translate3d(0, 1.2px, 0) rotate(0.2deg);
  }
}

.cyber-car-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
}

/* Volumetric Headlight Cone */
.headlight-beam {
  position: absolute;
  right: -130px;
  top: 90px;
  width: 220px;
  height: 80px;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.4) 0%, rgba(0, 242, 254, 0.12) 50%, transparent 100%);
  clip-path: polygon(0 40%, 100% 0%, 100% 100%, 0 60%);
  filter: blur(3px);
  pointer-events: none;
  animation: beamGlow 1.8s infinite alternate;
}

@keyframes beamGlow {
  0% { opacity: 0.8; filter: blur(3px); }
  100% { opacity: 1; filter: blur(4px); }
}

/* Taillight Laser Trail */
.taillight-trail {
  position: absolute;
  left: -70px;
  top: 104px;
  width: 120px;
  height: 10px;
  background: linear-gradient(270deg, #FF7B60 0%, rgba(255, 123, 96, 0.5) 45%, transparent 100%);
  filter: blur(3px);
  pointer-events: none;
  animation: tailPulse 1.2s infinite alternate;
}

@keyframes tailPulse {
  0% { opacity: 0.75; transform: scaleX(0.9); }
  100% { opacity: 1; transform: scaleX(1.15); }
}

/* Car Neon Underglow */
.car-underglow {
  position: absolute;
  bottom: 8px;
  left: 40px;
  right: 40px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(255, 123, 96, 0.75) 0%, rgba(0, 242, 254, 0.45) 55%, transparent 80%);
  filter: blur(12px);
  border-radius: 50%;
  pointer-events: none;
  animation: underglowPulsing 1.4s infinite alternate;
}

@keyframes underglowPulsing {
  0% { opacity: 0.7; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Wheel Spokes Rotation Animation (Zero-wobble hardware rotation) */
.wheel-spokes {
  transform-origin: 0 0;
  animation: spinWheelRims 0.3s linear infinite;
  will-change: transform;
}

@keyframes spinWheelRims {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 3D Cyber Highway Road Surface */
.cyber-road-track {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 48px;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
}

.road-grid-perspective {
  position: relative;
  width: 100%;
  height: 100%;
}

.road-surface {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 12, 21, 0.4) 0%, rgba(10, 2, 5, 0.95) 100%);
  border-top: 1px solid rgba(0, 242, 254, 0.25);
  border-bottom: 1px solid rgba(255, 123, 96, 0.25);
}

.road-lane-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%) translateZ(0);
  overflow: hidden;
}

.road-lane-track {
  width: 250%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #00F2FE 0px, #00F2FE 30px, transparent 30px, transparent 65px);
  animation: moveRoadDash 0.32s linear infinite;
  will-change: transform;
  box-shadow: 0 0 10px #00F2FE;
}

@keyframes moveRoadDash {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-65px, 0, 0);
  }
}

.road-edge {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
}

.road-edge.edge-left {
  top: 0;
  background: linear-gradient(90deg, transparent, #00F2FE, transparent);
  box-shadow: 0 0 8px #00F2FE;
}

.road-edge.edge-right {
  bottom: 0;
  background: linear-gradient(90deg, transparent, #FF7B60, transparent);
  box-shadow: 0 0 8px #FF7B60;
}

/* Progress Box */
.loader-progress-box {
  width: 100%;
  max-width: 480px;
  background: rgba(22, 10, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.08);
  backdrop-filter: blur(10px);
}

.loader-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}

.loader-status-text {
  color: var(--neon-cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.loader-percent {
  color: var(--neon-coral);
  font-weight: 700;
  font-size: 0.88rem;
}

.loader-progress-track {
  position: relative;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.loader-progress-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #FF7B60 0%, #00F2FE 70%, #00F5A0 100%);
  border-radius: 999px;
  will-change: transform;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.8);
}

.loader-telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 0.6rem;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.telemetry-pill i {
  color: var(--neon-cyan);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  font-family: var(--font-main);
  font-optical-sizing: auto;
}

body.tech-theme {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  font-optical-sizing: auto;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Custom Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cursor-glow-coral) 0%, var(--cursor-glow-wine) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: normal;
}

.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--cursor-coral);
  box-shadow: 0 0 10px var(--cursor-coral), 0 0 20px var(--cursor-white);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: transform 0.08s ease;
}

/* Background Canvas & Ambient Cyber Lights */
#cyberCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 123, 96, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 123, 96, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: 0;
  pointer-events: none;
}

body.light-theme .cyber-grid-overlay {
  background-image: 
    linear-gradient(rgba(55, 17, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 17, 30, 0.035) 1px, transparent 1px);
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: pulseAmbient 10s ease-in-out infinite alternate;
}

.glow-1 {
  width: 550px;
  height: 550px;
  top: -100px;
  left: 10%;
  background: rgba(255, 123, 96, 0.18);
}

.glow-2 {
  width: 650px;
  height: 650px;
  top: 35%;
  right: -100px;
  background: rgba(55, 17, 30, 0.75);
  animation-delay: -3s;
}

.glow-3 {
  width: 480px;
  height: 480px;
  bottom: 5%;
  left: -50px;
  background: rgba(255, 255, 255, 0.07);
  animation-delay: -6s;
}

body.light-theme .glow-1 { background: rgba(255, 123, 96, 0.12); }
body.light-theme .glow-2 { background: rgba(55, 17, 30, 0.06); }
body.light-theme .glow-3 { background: rgba(0, 119, 153, 0.06); }

@keyframes pulseAmbient {
  0% { transform: scale(1) translate(0, 0); opacity: 0.45; }
  100% { transform: scale(1.15) translate(30px, 20px); opacity: 0.7; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glass Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-cyan);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.18);
}

body.light-theme .glass-card:hover {
  box-shadow: 0 15px 35px -10px rgba(55, 17, 30, 0.12), 0 0 20px rgba(0, 119, 153, 0.12);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.28);
  border-radius: 50px;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Gradient Highlights */
.gradient-cyber {
  background: linear-gradient(135deg, #ffffff 10%, var(--neon-cyan) 60%, var(--neon-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .gradient-cyber {
  background: linear-gradient(135deg, #0f172a 10%, #d94827 60%, #007799 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-cyan { color: var(--neon-cyan); }
.highlight-emerald { color: var(--neon-emerald); }
.highlight-purple { color: var(--neon-purple); }
.highlight-white { color: var(--text-main); }

/* Cyber Button Styles */
.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #00b4d8 100%);
  color: #040914;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  border: 1px solid var(--neon-cyan);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-cyber-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
  background: linear-gradient(135deg, #00f5a0 0%, var(--neon-cyan) 100%);
}

body.light-theme .btn-cyber-primary {
  background: linear-gradient(135deg, #d94827 0%, #FF7B60 100%);
  color: #ffffff;
  border-color: #d94827;
  box-shadow: 0 4px 18px rgba(217, 72, 39, 0.3);
}

body.light-theme .btn-cyber-primary:hover {
  background: linear-gradient(135deg, #007799 0%, #00a8cc 100%);
  box-shadow: 0 6px 24px rgba(0, 119, 153, 0.4);
}

.btn-cyber-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: rgba(0, 242, 254, 0.06);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid var(--border-cyan);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.btn-cyber-outline:hover {
  background: rgba(0, 242, 254, 0.16);
  border-color: var(--neon-cyan);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-cyber-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-cyber-ghost:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   NAVIGATION BAR & THEME TOGGLE
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: all var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 2, 5, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(6, 1, 3, 0.95);
  border-bottom-color: rgba(0, 242, 254, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: 0.65rem 0;
}

body.light-theme .header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(55, 17, 30, 0.1);
}

body.light-theme .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 119, 153, 0.25);
  box-shadow: 0 10px 30px rgba(55, 17, 30, 0.08);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
  transition: transform 0.4s ease;
}

.logo-link:hover .brand-logo {
  transform: scale(1.05) rotate(4deg);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--neon-cyan);
  font-weight: 600;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--neon-emerald);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.nav-icon {
  font-size: 0.8rem;
  opacity: 0.7;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
  background: rgba(0, 242, 254, 0.08);
}

.nav-item.active {
  color: var(--neon-cyan);
  border-bottom: 2px solid var(--neon-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: scale(1.06);
}

.theme-icon-light { display: none; }
.theme-icon-dark { display: block; }

body.light-theme .theme-toggle-btn {
  background: #f1f5f9;
  border-color: rgba(55, 17, 30, 0.15);
  color: #0f172a;
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(217, 72, 39, 0.12);
  border-color: #d94827;
  color: #d94827;
}

body.light-theme .theme-icon-light { display: block; color: #d94827; }
body.light-theme .theme-icon-dark { display: none; }

.nav-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--neon-cyan);
  transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: rgba(30, 10, 20, 0.85);
  border: 1px solid var(--border-cyan);
  border-radius: 50px;
  margin-bottom: 1.8rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

body.light-theme .hero-badge {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.15);
  box-shadow: 0 4px 15px rgba(55, 17, 30, 0.06);
}

.badge-icon {
  color: var(--neon-cyan);
}

.badge-code {
  color: var(--text-muted);
}

.badge-tag {
  color: var(--neon-emerald);
  font-weight: 700;
  padding-left: 0.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

body.light-theme .badge-tag {
  border-left-color: rgba(55, 17, 30, 0.15);
}

.hero-header-block {
  max-width: 960px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.title-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.title-main {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
}

body.light-theme .title-main {
  text-shadow: none;
}

.title-glow {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero Interactive Terminal Card */
.hero-terminal-card {
  width: 100%;
  max-width: 820px;
  background: rgba(18, 7, 13, 0.95);
  border: 1px solid var(--border-cyan);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  margin-bottom: 2.5rem;
  text-align: left;
  backdrop-filter: blur(16px);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-terminal-card:hover {
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 242, 254, 0.22);
}

body.light-theme .hero-terminal-card {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.18);
  box-shadow: 0 20px 50px rgba(55, 17, 30, 0.12);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  background: rgba(28, 10, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.8rem;
  flex-wrap: wrap;
}

body.light-theme .terminal-bar {
  background: #f1f5f9;
  border-bottom-color: rgba(55, 17, 30, 0.12);
}

.terminal-left-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.terminal-dots .dot:hover {
  transform: scale(1.2);
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-name-text {
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

body.light-theme .file-name-text {
  color: #0f172a;
}

.file-lang-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.light-theme .file-lang-pill {
  background: rgba(55, 17, 30, 0.08);
  color: #37111e;
  border-color: rgba(55, 17, 30, 0.2);
}

.terminal-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-terminal-shuffle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-terminal-shuffle:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-1px);
}

.btn-terminal-shuffle i {
  transition: transform 0.3s ease;
}

.btn-terminal-shuffle:hover i {
  transform: rotate(180deg);
}

body.light-theme .btn-terminal-shuffle {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.2);
  color: #475569;
}

body.light-theme .btn-terminal-shuffle:hover {
  background: rgba(55, 17, 30, 0.08);
  color: #37111e;
  border-color: #37111e;
}

.badge-live {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon-emerald);
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.1);
}

body.light-theme .badge-live {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}

.pulse-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
  animation: pulseDot 1.4s infinite;
}

.terminal-body-wrapper {
  position: relative;
  overflow: hidden;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.75;
  overflow-x: auto;
  min-height: 240px;
  max-height: 275px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.25s ease;
}

.code-line {
  display: flex;
  align-items: baseline;
  color: #d1d5db;
  white-space: pre;
  min-height: 1.55em;
  gap: 1.1rem;
}

body.light-theme .code-line {
  color: #1e293b;
}

.line-num {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
  min-width: 20px;
  text-align: right;
  font-family: var(--font-mono);
}

body.light-theme .line-num {
  color: rgba(55, 17, 30, 0.35);
}

.line-content {
  flex: 1;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-comment { color: #64748b; font-style: italic; }
.code-keyword { color: #f472b6; font-weight: 600; }
body.light-theme .code-keyword { color: #d94827; }
.code-var { color: var(--neon-cyan); }
body.light-theme .code-var { color: #0284c7; }
.code-const { color: #fbbf24; }
body.light-theme .code-const { color: #b45309; }
.code-func { color: #60a5fa; }
body.light-theme .code-func { color: #2563eb; }
.code-prop { color: #38bdf8; }
body.light-theme .code-prop { color: #0369a1; }
.code-string { color: var(--neon-emerald); }
body.light-theme .code-string { color: #059669; }
.code-num { color: #fb923c; }

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1.15em;
  background: var(--neon-cyan);
  vertical-align: middle;
  margin-left: 2px;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: blinkTerminalCursor 0.65s infinite;
  border-radius: 1px;
}

body.light-theme .terminal-cursor {
  background: #37111e;
  box-shadow: 0 0 8px rgba(55, 17, 30, 0.4);
}

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

.terminal-execution-tag {
  color: var(--neon-emerald);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.8rem;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideUpTag 0.3s ease forwards;
}

body.light-theme .terminal-execution-tag {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}

@keyframes slideUpTag {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.terminal-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.2rem;
  background: rgba(12, 4, 8, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  gap: 1rem;
  flex-wrap: wrap;
}

body.light-theme .terminal-footer-bar {
  background: #e2e8f0;
  border-top-color: rgba(55, 17, 30, 0.1);
  color: #64748b;
}

.footer-status-left, .footer-status-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

body.light-theme .status-indicator {
  color: #37111e;
}

.badge-metric {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero HUD Bottom Elements */
.hero-hud-footer {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .hero-hud-footer {
  border-top-color: rgba(55, 17, 30, 0.12);
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hud-item.hud-right {
  justify-content: flex-end;
}

.hud-marker {
  width: 4px;
  height: 42px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  border-radius: 2px;
}

.hud-marker.right {
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  order: 2;
}

.hud-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hud-content.text-right {
  text-align: right;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.text-right .hud-label {
  justify-content: flex-end;
}

.hud-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.cyber-highlight {
  color: var(--neon-cyan);
}

.cyber-motto {
  color: var(--neon-emerald);
  font-style: italic;
}

.hud-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hud-stats-ticker {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(36, 13, 23, 0.7);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .hud-stats-ticker {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.12);
  box-shadow: 0 4px 15px rgba(55, 17, 30, 0.05);
}

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

.ticker-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.ticker-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

body.light-theme .ticker-separator {
  color: rgba(55, 17, 30, 0.2);
}

/* ==========================================================================
   METRICS STRIP
   ========================================================================== */
.metrics-strip {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 3, 7, 0.65);
  position: relative;
  z-index: 1;
}

body.light-theme .metrics-strip {
  background: #f1f5f9;
  border-bottom-color: rgba(55, 17, 30, 0.1);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.metric-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-dossier-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.dossier-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(36, 13, 23, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

body.light-theme .dossier-top-bar {
  background: #f1f5f9;
  border-bottom-color: rgba(55, 17, 30, 0.1);
}

.dossier-id {
  color: var(--neon-cyan);
  font-weight: 600;
}

.dossier-status {
  color: var(--neon-emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dossier-content {
  padding: 2rem 2.2rem;
}

.dossier-para {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.lead-para {
  font-size: 1.05rem;
  color: var(--text-main);
}

.dossier-badges {
  padding: 0 2.2rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

body.light-theme .pill-badge {
  background: #f1f5f9;
  border-color: rgba(55, 17, 30, 0.12);
}

.pill-badge:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--border-cyan);
  color: var(--text-main);
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.info-widget {
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.widget-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.widget-icon.emerald {
  background: rgba(0, 245, 160, 0.1);
  color: var(--neon-emerald);
  border-color: rgba(0, 245, 160, 0.25);
}

.widget-icon.purple {
  background: rgba(157, 78, 221, 0.1);
  color: var(--neon-purple);
  border-color: rgba(157, 78, 221, 0.25);
}

.widget-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.widget-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   DOMAINS / TRACKS SECTION
   ========================================================================== */
.domains-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(55, 17, 30, 0.35) 50%, transparent 100%);
  position: relative;
  z-index: 1;
}

body.light-theme .domains-section {
  background: linear-gradient(180deg, transparent 0%, rgba(241, 245, 249, 0.7) 50%, transparent 100%);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.domain-card {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.domain-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease;
}

.domain-card:hover .domain-icon {
  transform: scale(1.1) rotate(5deg);
}

.ai-glow { background: rgba(0, 242, 254, 0.12); color: var(--neon-cyan); border: 1px solid rgba(0, 242, 254, 0.3); }
.cloud-glow { background: rgba(0, 245, 160, 0.12); color: var(--neon-emerald); border: 1px solid rgba(0, 245, 160, 0.3); }
.web-glow { background: rgba(157, 78, 221, 0.12); color: var(--neon-purple); border: 1px solid rgba(157, 78, 221, 0.3); }
.algo-glow { background: rgba(255, 183, 3, 0.12); color: var(--neon-gold); border: 1px solid rgba(255, 183, 3, 0.3); }

.domain-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.domain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.domain-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.domain-specs {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

body.light-theme .domain-specs {
  border-top-color: rgba(55, 17, 30, 0.1);
}

.domain-specs li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.domain-specs li i {
  color: var(--neon-emerald);
  font-size: 0.75rem;
}

/* ==========================================================================
   CORE MEMBERS SECTION (TIERED / SEPARATE PARTS)
   ========================================================================== */
.members-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.members-part-wrapper {
  margin-bottom: 4.5rem;
}

.part-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.part-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.3), transparent);
}

body.light-theme .part-line {
  background: linear-gradient(90deg, transparent, rgba(0, 119, 153, 0.3), transparent);
}

.part-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neon-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* PART 1: Faculty Sponsor Spotlight */
.faculty-spotlight-container {
  display: flex;
  justify-content: center;
}

.faculty-card {
  max-width: 680px;
  width: 100%;
  padding: 2.8rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 242, 254, 0.35);
  background: linear-gradient(135deg, rgba(36, 13, 23, 0.95) 0%, rgba(20, 6, 13, 0.9) 100%);
  position: relative;
}

body.light-theme .faculty-card {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.15);
  box-shadow: 0 10px 30px rgba(55, 17, 30, 0.08);
}

.faculty-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-gold);
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.member-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 1.4rem;
}

.faculty-avatar {
  width: 120px;
  height: 120px;
}

.avatar-cyber-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--neon-cyan);
  animation: rotateRing 15s linear infinite;
}

.avatar-cyber-ring.cyan { border-color: var(--neon-cyan); }
.avatar-cyber-ring.purple { border-color: var(--neon-purple); }
.avatar-cyber-ring.emerald { border-color: var(--neon-emerald); }
.avatar-cyber-ring.gold { border-color: var(--neon-gold); }

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a0f1b, #12040b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

body.light-theme .avatar-placeholder {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #0f172a;
  border-color: rgba(55, 17, 30, 0.15);
}

.faculty-avatar .avatar-placeholder {
  font-size: 2rem;
  background: linear-gradient(135deg, #44162a, #1a0610);
  color: var(--neon-cyan);
}

body.light-theme .faculty-avatar .avatar-placeholder {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: #0284c7;
}

.member-role-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faculty-tag {
  color: var(--neon-gold);
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.25);
}

.member-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.member-dept {
  font-size: 0.9rem;
  color: var(--neon-emerald);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.member-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 1.4rem;
}

.member-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

body.light-theme .social-icon {
  background: #f1f5f9;
  border-color: rgba(55, 17, 30, 0.12);
}

.social-icon:hover {
  background: var(--neon-cyan);
  color: #040914;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  transform: translateY(-2px);
}

/* PART 2: Executive Council Grid (2 Cards) */
.members-grid-exec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.exec-card {
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card-tier-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  letter-spacing: 0.08em;
}

/* Student Core Committee Grid (6 Cards Unified) */
.members-grid-officers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faculty-img,
.member-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

body.light-theme .faculty-img,
body.light-theme .member-img {
  border-color: rgba(55, 17, 30, 0.15);
  box-shadow: 0 4px 20px rgba(55, 17, 30, 0.12);
}

.officer-card {
  padding: 1.8rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.officer-card .member-avatar-wrapper {
  margin-bottom: 1rem;
}

.officer-card .member-name {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.officer-card .member-socials {
  margin-top: 0.5rem;
}

/* ==========================================================================
   EVENTS SECTION
   ========================================================================== */
.events-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.event-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  background: rgba(36, 13, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.light-theme .filter-btn {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.15);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--neon-cyan);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

body.light-theme .filter-btn:hover, body.light-theme .filter-btn.active {
  background: #007799;
  border-color: #007799;
  color: #ffffff;
}

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

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.event-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.event-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(10px);
}

.live-status {
  background: rgba(0, 245, 160, 0.25);
  color: var(--neon-emerald);
  border: 1px solid var(--neon-emerald);
}

.upcoming-status {
  background: rgba(0, 242, 254, 0.25);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

.event-date-chip {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 54px;
  height: 54px;
  background: rgba(18, 7, 13, 0.88);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

body.light-theme .event-date-chip {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(55, 17, 30, 0.15);
}

.event-date-chip .day {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--neon-cyan);
}

.event-date-chip .month {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.event-date-chip.date-soon {
  width: auto;
  min-width: 60px;
  height: auto;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  background: rgba(18, 7, 13, 0.92);
  border: 1px solid var(--border-cyan);
}

body.light-theme .event-date-chip.date-soon {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(55, 17, 30, 0.15);
}

.event-date-chip.date-soon span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.event-date-chip.date-soon i {
  color: var(--neon-cyan);
  font-size: 0.75rem;
}

.event-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.event-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.event-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.event-tags .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.btn-event-register {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.light-theme .btn-event-register {
  background: #f8fafc;
  border-color: rgba(55, 17, 30, 0.15);
}

.btn-event-register:hover {
  background: var(--neon-cyan);
  color: #040914;
  box-shadow: var(--shadow-glow-cyan);
}

body.light-theme .btn-event-register:hover {
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE CLI TERMINAL SECTION
   ========================================================================== */
.cli-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.interactive-terminal-window {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 242, 254, 0.15);
  background: rgba(14, 5, 10, 0.96);
  overflow: hidden;
}

body.light-theme .interactive-terminal-window {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.15);
  box-shadow: 0 15px 40px rgba(55, 17, 30, 0.08);
}

.terminal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  background: rgba(30, 10, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .terminal-header-bar {
  background: #f1f5f9;
  border-bottom-color: rgba(55, 17, 30, 0.1);
}

.terminal-host {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-emerald);
}

.terminal-hint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.terminal-output-area {
  height: 260px;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.term-line {
  margin-bottom: 0.3rem;
  word-break: break-word;
}

.banner-line { color: #64748b; }
.banner-title { color: var(--neon-cyan); font-weight: 700; }
.term-hl { color: var(--neon-emerald); font-weight: 600; }

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  background: rgba(20, 6, 13, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .terminal-input-row {
  background: #f8fafc;
  border-top-color: rgba(55, 17, 30, 0.1);
}

.term-prompt {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon-cyan);
  white-space: nowrap;
}

.term-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}

.term-run-btn {
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--border-cyan);
  color: var(--neon-cyan);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.term-run-btn:hover {
  background: var(--neon-cyan);
  color: #040914;
}

/* ==========================================================================
   JOIN / MEMBERSHIP SECTION
   ========================================================================== */
.join-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.join-wrapper {
  padding: 3.5rem 3rem;
  position: relative;
  border: 1px solid var(--border-cyan);
}

.join-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.join-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.join-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.benefit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.b-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.benefit-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.join-form-card {
  background: rgba(22, 8, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem 2.2rem;
}

body.light-theme .join-form-card {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.12);
  box-shadow: 0 10px 30px rgba(55, 17, 30, 0.06);
}

.form-header {
  margin-bottom: 1.5rem;
}

.join-onboarding-card {
  padding: 2.2rem 2rem;
  background: rgba(22, 9, 16, 0.95);
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

body.light-theme .join-onboarding-card {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.15);
}

.join-success-banner {
  margin-top: 0.5rem;
  padding: 1.6rem;
  background: rgba(22, 9, 16, 0.95);
  border: 1px solid var(--border-cyan);
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.15);
  animation: fadeInCard 0.4s ease forwards;
}

body.light-theme .join-success-banner {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.18);
  box-shadow: 0 15px 40px rgba(55, 17, 30, 0.12);
}

.onboarding-header {
  text-align: center;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .onboarding-header {
  border-bottom-color: rgba(55, 17, 30, 0.1);
}

.success-icon {
  font-size: 2.2rem;
  color: var(--neon-emerald);
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 10px rgba(0, 245, 160, 0.4));
}

.onboarding-header h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.onboarding-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.onboarding-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.onboarding-step-card {
  background: rgba(36, 13, 23, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
  padding: 1.4rem;
  position: relative;
  transition: all var(--transition-fast);
}

body.light-theme .onboarding-step-card {
  background: #f8fafc;
  border-color: rgba(55, 17, 30, 0.15);
}

.onboarding-step-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 5px 20px rgba(0, 242, 254, 0.12);
}

.step-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}

.step-badge-pill.emerald {
  color: var(--neon-emerald);
  background: rgba(0, 245, 160, 0.1);
  border-color: rgba(0, 245, 160, 0.3);
}

.step-num {
  background: var(--neon-cyan);
  color: #040914;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  font-size: 0.65rem;
}

.step-badge-pill.emerald .step-num {
  background: var(--neon-emerald);
}

.step-body h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.btn-onboard-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
}

/* QR Code Induction Layout */
.qr-onboarding-layout {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: rgba(18, 6, 12, 0.8);
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .qr-onboarding-layout {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.12);
}

.qr-code-box {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.3);
  border: 2px solid var(--neon-emerald);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f5a0, transparent);
  box-shadow: 0 0 8px #00f5a0;
  animation: scanQR 2.5s ease-in-out infinite alternate;
}

@keyframes scanQR {
  0% { top: 4%; }
  100% { top: 92%; }
}

.qr-action-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.qr-scan-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.onboarding-reset-row {
  text-align: center;
  padding-top: 0.5rem;
}

.completed-status {
  background: rgba(0, 245, 160, 0.2);
  color: var(--neon-emerald);
  border: 1px solid rgba(0, 245, 160, 0.4);
}

.event-footer-action {
  display: flex;
  width: 100%;
  margin-top: auto;
}

.btn-gallery-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.92rem;
}

.btn-coming-soon {
  cursor: default !important;
  opacity: 0.75;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-muted) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-coming-soon:hover {
  transform: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.light-theme .btn-coming-soon {
  background: #f1f5f9 !important;
  border-color: rgba(55, 17, 30, 0.15) !important;
  color: #64748b !important;
}

/* ==========================================================================
   MODAL DIALOGS (EVENT & GALLERY)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 5, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

body.light-theme .modal-overlay {
  background: rgba(15, 23, 42, 0.6);
}

.modal-card {
  max-width: 520px;
  width: 100%;
  padding: 2.2rem;
  border: 1px solid var(--border-cyan);
  position: relative;
  background: rgba(22, 8, 15, 0.98);
}

body.light-theme .modal-card {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.15);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--neon-cyan);
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

body.light-theme .modal-meta-grid {
  background: #f1f5f9;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   INTERACTIVE CYBER EVENT PHOTO GALLERY MODAL
   ========================================================================== */
.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 2, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.gallery-modal-container {
  max-width: 1040px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: rgba(18, 7, 13, 0.98);
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 242, 254, 0.2);
  overflow: hidden;
  position: relative;
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.light-theme .gallery-modal-container {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.18);
  box-shadow: 0 25px 70px rgba(55, 17, 30, 0.18);
}

@keyframes modalPop {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.8rem;
  background: rgba(30, 10, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .gallery-header {
  background: #f1f5f9;
  border-bottom-color: rgba(55, 17, 30, 0.1);
}

.gallery-title-wrap {
  display: flex;
  flex-direction: column;
}

.gallery-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.gallery-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-emerald);
  margin-top: 0.2rem;
}

.gallery-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gallery-action-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan);
  color: var(--neon-cyan);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-action-btn:hover {
  background: var(--neon-cyan);
  color: #040914;
}

.gallery-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-close-btn:hover {
  background: #ff5f56;
  color: #fff;
  border-color: #ff5f56;
}

/* Slide View Layout */
.gallery-slide-view {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.8rem;
  gap: 1.2rem;
  overflow-y: auto;
}

.gallery-main-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  position: relative;
}

.gallery-img-stage {
  position: relative;
  flex: 1;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 3, 7, 0.85);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body.light-theme .gallery-img-stage {
  background: #f8fafc;
  border-color: rgba(55, 17, 30, 0.1);
}

.gallery-active-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-counter-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(15, 5, 10, 0.85);
  border: 1px solid var(--border-cyan);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  backdrop-filter: blur(8px);
}

.gallery-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(36, 13, 23, 0.85);
  border: 1px solid var(--border-cyan);
  color: var(--neon-cyan);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

body.light-theme .gallery-nav-btn {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.2);
  color: #0f172a;
}

.gallery-nav-btn:hover {
  background: var(--neon-cyan);
  color: #040914;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-cyan);
}

/* Thumbnail Carousel Strip */
.gallery-thumb-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) transparent;
}

.gallery-thumb-item {
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.gallery-thumb-item.active {
  border-color: var(--neon-cyan);
  opacity: 1;
  box-shadow: 0 0 12px var(--neon-cyan);
  transform: scale(1.05);
}

/* Grid View Layout */
.gallery-grid-view {
  padding: 1.5rem 1.8rem;
  max-height: 560px;
  overflow-y: auto;
}

.gallery-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-grid-item {
  position: relative;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

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

.gallery-grid-item:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.25);
}

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

.gallery-grid-overlay-tag {
  position: absolute;
  inset: 0;
  background: rgba(0, 242, 254, 0.25);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  transition: opacity var(--transition-fast);
}

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

@media (max-width: 768px) {
  .gallery-img-stage {
    height: 300px;
  }
  .gallery-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .gallery-header {
    padding: 1rem;
  }
  .gallery-slide-view {
    padding: 1rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tech-footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 1;
}

body.light-theme .tech-footer {
  background: #f1f5f9;
  border-top-color: rgba(55, 17, 30, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-title h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
}

.footer-title span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
}

.footer-about-snippet {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.footer-accreditation {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.accred-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-col h4, .footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 0.65rem;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.footer-links-col a i {
  font-size: 0.7rem;
  color: var(--neon-cyan);
  transition: transform var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.footer-contact-col p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.6rem;
}

.footer-contact-col a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

body.light-theme .social-btn {
  background: #ffffff;
  border-color: rgba(55, 17, 30, 0.12);
}

.social-btn:hover {
  background: var(--neon-cyan);
  color: #040914;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

body.light-theme .footer-bottom-bar {
  border-top-color: rgba(55, 17, 30, 0.1);
}

.motto-tag {
  font-family: var(--font-mono);
  color: var(--neon-emerald);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-hud-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hud-item.hud-right {
    justify-content: flex-start;
  }
  .hud-content.text-right {
    text-align: left;
  }
  .hud-marker.right {
    order: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .join-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-bar {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(14, 3, 7, 0.98);
    backdrop-filter: blur(20px);
    transition: 0.3s ease;
    padding: 2rem;
  }
  body.light-theme .nav-bar {
    background: rgba(255, 255, 255, 0.98);
  }
  .nav-bar.active {
    left: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .nav-item {
    font-size: 1.1rem;
    width: 100%;
  }
  .mobile-toggle {
    display: flex;
  }
  .status-pill {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .join-wrapper {
    padding: 2rem 1.5rem;
  }
  .cursor-glow, .cursor-dot {
    display: none;
  }
}
