/* ==========================================
   FUTURISTIC DTU WEBSITE - CSS
   Advanced Educational Interface Design
   ========================================== */

/* Reset and Base Styles */
:root {
  /* Color Palette */
  --primary-color: #00d4ff;
  --secondary-color: #ff006e;
  --accent-color: #8338ec;
  --success-color: #06ffa5;
  --warning-color: #ffbe0b;
  --error-color: #fb5607;
  --quantum-blue: #0066ff;
  --neural-pink: #ff00cc;
  --cyber-green: #00ff88;
  --hologram-cyan: #00ffff;
  --biometric-orange: #ff8800;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #8338ec 100%);
  --gradient-neon: linear-gradient(135deg, #ff006e 0%, #fb5607 100%);
  --gradient-matrix: linear-gradient(135deg, #06ffa5 0%, #00d4ff 100%);
  --gradient-quantum: linear-gradient(
    135deg,
    #0066ff 0%,
    #00ffff 50%,
    #ff00cc 100%
  );
  --gradient-neural: linear-gradient(
    135deg,
    #ff00cc 0%,
    #8338ec 50%,
    #00d4ff 100%
  );
  --gradient-hologram: linear-gradient(
    135deg,
    #00ffff 0%,
    #00ff88 50%,
    #ffbe0b 100%
  );

  /* Backgrounds */
  --bg-dark: #0a0a0f;
  --bg-medium: #1a1a2e;
  --bg-light: #16213e;
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-dark: rgba(0, 0, 0, 0.3);
  --bg-quantum: rgba(0, 102, 255, 0.1);

  /* Typography */
  --font-primary: "Orbitron", "Exo 2", sans-serif;
  --font-secondary: "Exo 2", "Rajdhani", sans-serif;
  --font-accent: "Rajdhani", "Saira", sans-serif;
  --font-mono: "Fira Code", monospace;

  /* Shadows */
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-cyber: 0 8px 32px rgba(131, 56, 236, 0.3);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-quantum: 0 0 40px rgba(0, 102, 255, 0.4);
  --shadow-neural: 0 0 30px rgba(255, 0, 204, 0.3);

  /* Borders */
  --border-neon: 1px solid rgba(0, 212, 255, 0.3);
  --border-glass: 1px solid rgba(255, 255, 255, 0.1);
  --border-quantum: 1px solid rgba(0, 102, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  background: var(--bg-dark);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

/* Font assignments for different elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-link,
.neon-link,
.tab-btn {
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.loading-text,
.panel-title,
.system-status,
.scan-status,
.quantum-status,
.neural-status,
.scan-status-mini,
.quantum-status-mini,
.neural-status-mini,
.hologram-status-mini,
.voice-text,
.developer-credit {
  font-family: var(--font-mono);
}

.news-header h2,
.module-header h3,
.footer-section h4 {
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.subtitle,
.panel-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
}

.marquee-item,
.slide-content,
.news-item {
  font-family: var(--font-secondary);
}

.counter-label,
.counter-value,
.update-time {
  font-family: var(--font-mono);
}

/* Specific UI element fonts */
.futuristic-search input,
.chat-input input {
  font-family: var(--font-mono);
}

.glitch-title,
.glitch {
  font-family: var(--font-primary);
  font-weight: 700;
}

.detail-chip,
.badge,
.new-badge {
  font-family: var(--font-accent);
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 0, 110, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(131, 56, 236, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -10;
  animation: ambient-glow 8s ease-in-out infinite alternate;
}

@keyframes ambient-glow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Cyber Grid Background */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 212, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: -9;
  animation: grid-pulse 4s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* Custom Cursor */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease;
}

.cursor-ring {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.loading-container {
  text-align: center;
  max-width: 500px;
  padding: 2rem;
}

.loading-logo {
  position: relative;
  margin-bottom: 2rem;
}

.loading-logo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: var(--shadow-neon);
  animation: float 3s ease-in-out infinite;
}

.loading-scanner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: conic-gradient(transparent, var(--primary-color), transparent);
  animation: scan 2s linear infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

.loading-text .glitch {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  animation: glitch 2s infinite;
}

.loading-text p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
}

.loading-progress {
  margin-top: 2rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-cyber);
  animation: loading-progress 3s ease-in-out infinite;
}

@keyframes loading-progress {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.progress-percentage {
  margin-top: 1rem;
  font-family: var(--font-mono);
  color: var(--primary-color);
}

/* Glitch Effect */
@keyframes glitch {
  0%,
  100% {
    text-shadow: 0 0 5px var(--primary-color);
  }
  25% {
    text-shadow: -2px 0 var(--secondary-color), 2px 0 var(--primary-color);
  }
  50% {
    text-shadow: 2px 0 var(--secondary-color), -2px 0 var(--primary-color);
  }
  75% {
    text-shadow: 0 0 5px var(--secondary-color);
  }
}

/* Background Effects */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.3;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.5;
}

.neural-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
}

#neural-canvas {
  width: 100%;
  height: 100%;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Top Header */
.top-header {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-neon);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  position: relative;
  overflow: hidden;
}

.top-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  animation: data-stream 3s linear infinite;
}

.top-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color),
    transparent
  );
  animation: energy-flow 2s ease-in-out infinite;
}

@keyframes data-stream {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes energy-flow {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.2);
  }
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.neon-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border: var(--border-glass);
  border-radius: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.neon-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-cyber);
  transition: all 0.4s ease;
  z-index: -1;
}

.neon-link:hover::before {
  left: 0;
}

.neon-link:hover {
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  text-decoration: none;
  border: var(--border-glass);
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-cyber);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.social-link:hover .social-glow {
  opacity: 1;
}

.social-link:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-neon);
}

/* Main Header */
.main-header {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-neon);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 0, 110, 0.08) 0%,
      transparent 70%
    );
  animation: header-ambience 6s ease-in-out infinite alternate;
}

@keyframes header-ambience {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-container {
  position: relative;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient-cyber);
  border-radius: 25px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
  filter: blur(10px);
}

.hologram-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 212, 255, 0.1) 50%,
    transparent 70%
  );
  animation: hologram 3s linear infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes hologram {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.logo-container:hover .logo-glow {
  opacity: 1;
}

.logo-container:hover .logo {
  transform: scale(1.05) rotateY(10deg);
}

.university-info h1 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  background: linear-gradient(45deg, #00d4ff, #ff006e, #8338ec, #00d4ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-text 4s ease-in-out infinite;
}

@keyframes rainbow-text {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.university-info h1::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  animation: title-underline 3s ease-in-out infinite;
}

@keyframes title-underline {
  0%,
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.glitch-title {
  animation: glitch-title 3s infinite;
}

@keyframes glitch-title {
  0%,
  90%,
  100% {
    text-shadow: 0 0 5px var(--primary-color);
  }
  95% {
    text-shadow: -2px 0 var(--secondary-color), 2px 0 var(--primary-color);
  }
}

.subtitle {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.university-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

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

/* Futuristic Search */
.futuristic-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: var(--border-neon);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.futuristic-search::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 25px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent,
    rgba(255, 0, 110, 0.1),
    transparent
  );
  background-size: 400% 400%;
  animation: search-glow 3s ease infinite;
  z-index: -1;
}

@keyframes search-glow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.futuristic-search:focus-within {
  box-shadow: var(--shadow-neon), 0 0 30px rgba(0, 212, 255, 0.3);
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.futuristic-search input {
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  color: #ffffff;
  font-size: 1rem;
  width: 300px;
  font-family: var(--font-mono);
}

.futuristic-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.futuristic-search button {
  background: var(--gradient-cyber);
  border: none;
  padding: 1rem 1.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: all 0.6s ease;
}

.futuristic-search button:hover .btn-glow {
  transform: translateX(100%);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-glass-dark);
  backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-top: none;
  border-radius: 0 0 15px 15px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-suggestions.show {
  opacity: 1;
  visibility: visible;
}

/* Navigation */
.main-nav {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-neon);
  position: sticky;
  top: 0;
  z-index: 999;
  position: relative;
  overflow: hidden;
}

.main-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 212, 255, 0.05),
    rgba(255, 0, 110, 0.05),
    rgba(131, 56, 236, 0.05),
    rgba(0, 212, 255, 0.05)
  );
  background-size: 400% 400%;
  animation: nav-gradient 8s ease infinite;
}

@keyframes nav-gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.nav-container {
  position: relative;
}

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

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.2),
    transparent
  );
  transition: all 0.4s ease;
  z-index: -1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-cyber);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before {
  left: 100%;
}

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

.nav-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 0 10px var(--primary-color);
}

.nav-link i {
  font-size: 1.1rem;
}

/* Main Content */
.main-content {
  padding: 3rem 0;
  position: relative;
}

/* Futuristic Marquee */
.futuristic-marquee {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: var(--border-neon);
  border-radius: 20px;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.futuristic-marquee::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  animation: scan-marquee 3s linear infinite;
  pointer-events: none;
}

@keyframes scan-marquee {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.marquee-content {
  display: flex;
  animation: scroll-marquee 60s linear infinite;
  padding: 1.5rem 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 4rem;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
}

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

@keyframes scroll-marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.futuristic-marquee:hover .marquee-content {
  animation-play-state: paused;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

/* Futuristic Slider */
.futuristic-slider {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: var(--border-neon);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
  position: relative;
}

.slider-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.8));
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.slider-btn {
  background: var(--gradient-cyber);
  border: none;
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

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

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

.slider-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-neon), 0 0 30px rgba(0, 212, 255, 0.5);
}

.slider-dots {
  display: flex;
  gap: 0.8rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-line {
  height: 100%;
  background: var(--gradient-cyber);
  width: 0;
  animation: slider-progress 5s linear infinite;
}

@keyframes slider-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Futuristic News Section */
.futuristic-news {
  background: var(--bg-glass);
  border: var(--border-neon);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.futuristic-news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.03) 0%,
    rgba(255, 0, 110, 0.03) 50%,
    rgba(131, 56, 236, 0.03) 100%
  );
  background-size: 300% 300%;
  animation: module-ambience 6s ease infinite;
}

@keyframes module-ambience {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.futuristic-news::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
  animation: scanning-line 3s linear infinite;
}

@keyframes scanning-line {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.news-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  position: relative;
}

.news-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.header-line {
  width: 100px;
  height: 3px;
  background: var(--gradient-cyber);
  margin: 0 auto;
  border-radius: 2px;
}

.news-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  font-weight: 600;
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 212, 255, 0.1),
    rgba(255, 0, 110, 0.1)
  );
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-cyber);
  transition: all 0.3s ease;
}

.tab-btn.active::before {
  opacity: 1;
}

.tab-btn.active::after {
  width: 100%;
}

.tab-btn.active {
  color: #ffffff;
  text-shadow: 0 0 10px var(--primary-color);
}

.tab-btn:hover:not(.active)::before {
  opacity: 0.5;
}

.tab-btn:hover:not(.active) {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.tab-content-container {
  padding: 2rem;
  min-height: 400px;
  background: transparent;
}

.tab-content {
  display: none;
  opacity: 1;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

.news-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border-radius: 10px;
  margin-bottom: 1rem;
  opacity: 1;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.news-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  transition: all 0.5s ease;
  z-index: -1;
}

.news-item:hover::before {
  left: 100%;
}

.news-item:hover {
  background: rgba(0, 212, 255, 0.05);
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1;
}

.news-item a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  display: block;
  transition: all 0.3s ease;
  opacity: 1;
}

.news-item a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 5px var(--primary-color);
}

.new-badge {
  display: inline-block;
  background: var(--gradient-neon);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  margin-left: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-badge 2s infinite;
  opacity: 1;
}

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

.view-all {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  background: rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1;
}

.view-all:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  box-shadow: var(--shadow-neon);
}

/* Right Sidebar */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-module {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: var(--border-neon);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 212, 255, 0.02),
    rgba(255, 0, 110, 0.02),
    rgba(131, 56, 236, 0.02)
  );
  background-size: 200% 200%;
  animation: module-pulse 4s ease infinite;
  z-index: -1;
}

@keyframes module-pulse {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.5;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

.sidebar-module:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-cyber), 0 0 40px rgba(0, 212, 255, 0.2);
  border-color: var(--primary-color);
}

.sidebar-module:hover::before {
  animation-duration: 2s;
}

.module-header {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
}

.module-header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.module-header i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.header-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-cyber);
  border-radius: 2px;
}

/* Important Updates */
.updates-container {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.vertical-scroll {
  animation: scroll-updates 40s linear infinite;
}

@keyframes scroll-updates {
  0% {
    transform: translateY(300px);
  }
  100% {
    transform: translateY(-100%);
  }
}

.updates-container:hover .vertical-scroll {
  animation-play-state: paused;
}

.update-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.update-item:hover {
  background: rgba(0, 212, 255, 0.05);
}

.update-item i {
  color: var(--warning-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.update-item a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: block;
  transition: all 0.3s ease;
}

.update-item a:hover {
  color: var(--primary-color);
}

.update-item .date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
}

/* Resources and Links */
.resources-grid,
.links-grid {
  padding: 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.resource-item,
.link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.resource-item:hover,
.link-item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.resource-item i,
.link-item i {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.resource-item a,
.link-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.resource-item a:hover,
.link-item a:hover {
  color: var(--primary-color);
}

/* AI Assistant */
.ai-chat {
  padding: 1.5rem;
}

.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 15px;
  background: rgba(0, 212, 255, 0.1);
  animation: message-appear 0.5s ease;
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.message span {
  color: #ffffff;
  line-height: 1.5;
}

.chat-input {
  display: flex;
  gap: 0.5rem;
}

.chat-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: var(--border-glass);
  border-radius: 20px;
  padding: 0.8rem 1.2rem;
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-neon);
}

.chat-input button {
  background: var(--gradient-cyber);
  border: none;
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-input button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-neon);
}

/* Futuristic Footer */
.futuristic-footer {
  background: var(--bg-dark);
  border-top: var(--border-neon);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.futuristic-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color),
    var(--primary-color)
  );
  background-size: 300% 100%;
  animation: footer-energy 4s linear infinite;
}

.futuristic-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(0, 212, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 0, 110, 0.05) 0%,
      transparent 50%
    );
  animation: footer-ambience 8s ease-in-out infinite alternate;
}

@keyframes footer-energy {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes footer-ambience {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
  color: var(--primary-color);
  width: 20px;
}

.quality-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.2);
  border: var(--border-neon);
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
}

.update-time {
  font-family: var(--font-mono);
  color: var(--primary-color);
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Footer Social Links */
.social-links-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  padding: 0 1rem;
}

.social-link-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.social-link-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%) translateY(-100%);
  transition: all 0.6s ease;
}

.social-link-footer:hover::before {
  transform: translateX(100%) translateY(100%);
}

.social-link-footer:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
}

.social-link-footer i {
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

/* Make X character bigger */
.social-link-footer[data-platform="x"] span {
  font-size: 1.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.social-link-footer:hover i {
  transform: scale(1.2);
}

/* Make X character bigger on hover too */
.social-link-footer[data-platform="x"]:hover span {
  transform: scale(1.2);
}

.social-glow-footer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.social-link-footer:hover .social-glow-footer {
  transform: translateX(100%);
}

/* Ensure proper footer section alignment */
.footer-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

/* Mobile responsive for footer social links */
@media (max-width: 768px) {
  .social-links-footer {
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .social-links-footer::-webkit-scrollbar {
    display: none;
  }

  .social-link-footer {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .social-link-footer i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .social-links-footer {
    gap: 0.5rem;
    padding: 0 0.25rem;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .social-link-footer {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
  }

  .social-link-footer i {
    font-size: 1.1rem;
  }
}

@media (max-width: 360px) {
  .social-links-footer {
    gap: 0.4rem;
    padding: 0 0.2rem;
  }

  .social-link-footer {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }

  .social-link-footer i {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  .social-links-footer {
    gap: 0.3rem;
    padding: 0 0.1rem;
  }

  .social-link-footer {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 6px;
  }

  .social-link-footer i {
    font-size: 0.9rem;
  }

  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .right-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: auto;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Mobile-friendly top header */
  .top-header {
    padding: 0.8rem 0;
  }

  .top-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .header-links {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .header-links.mobile-expanded {
    display: grid;
    animation: slideDown 0.3s ease;
  }

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

  .neon-link {
    padding: 0.6rem;
    font-size: 0.7rem;
    min-width: 40px;
    text-align: center;
    justify-content: center;
  }

  .neon-link span {
    display: none;
  }

  .neon-link i {
    font-size: 1rem;
  }

  /* Mobile header toggle button */
  .mobile-header-toggle {
    display: block;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
  }

  .mobile-header-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
  }

  .mobile-header-toggle i {
    margin-right: 0.5rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .logo-section {
    flex-direction: column;
    gap: 1.5rem;
  }

  .university-info h1 {
    font-size: 1.8rem;
  }

  .futuristic-search input {
    width: 250px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: var(--border-neon);
  }

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

  .nav-link {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .news-tabs {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1;
    min-width: 120px;
  }

  .slider-container {
    height: 300px;
  }

  .slide-content h3 {
    font-size: 1.4rem;
  }

  .marquee-item {
    margin-right: 2rem;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

/* Hide mobile header toggle on desktop */
.mobile-header-toggle {
  display: none;
}

/* Scroll Animations */
[data-scroll] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

[data-scroll].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Additional Futuristic Effects */
.holographic-border {
  position: relative;
  overflow: hidden;
}

.holographic-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.3),
    transparent
  );
  animation: holographic-scan 3s linear infinite;
}

@keyframes holographic-scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Matrix Rain Effect (optional) */
.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -4;
  opacity: 0.1;
}

/* Quantum Grid Background (optional) */
.quantum-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 212, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -5;
}

/* Performance optimizations */
* {
  will-change: auto;
}

.slide,
.marquee-content,
.vertical-scroll {
  will-change: transform;
}

/* Print styles */
@media print {
  #bg-canvas,
  #particles-js,
  .neural-network,
  #cursor {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* Developer Credit Styling */
.developer-credit {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.developer-credit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  animation: dev-credit-scan 4s linear infinite;
}

@keyframes dev-credit-scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.developer-credit i {
  color: var(--primary-color);
  animation: icon-pulse 2s ease-in-out infinite;
}

.developer-credit .fa-heart {
  color: var(--secondary-color);
  animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes heart-beat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.developer-name {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: rainbow-name 3s ease-in-out infinite;
  position: relative;
}

@keyframes rainbow-name {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.developer-name::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-cyber);
  transform: scaleX(0);
  animation: underline-expand 2s ease-in-out infinite;
}

@keyframes underline-expand {
  0%,
  100% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
}

/* Responsive styling for developer credit */
@media (max-width: 768px) {
  .developer-credit {
    font-size: 0.8rem;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
  }

  .developer-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .developer-credit {
    font-size: 0.75rem;
    gap: 0.3rem;
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    flex-wrap: wrap;
  }

  .developer-name {
    font-size: 0.8rem;
  }
}

/* Matrix Data Rain Effect */
.matrix-data-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -8;
  overflow: hidden;
}

.matrix-data-rain::before {
  content: "01100100011010010110011101101001011101000110000101101100001000000110011001110101011101000111010101110010011001010010000001100001011011100110111001101000000110000100000001100001011100100111010001101001011001100110100101100011011010010110000101101100001000000110100101101110011101000110010101101100011011000110100101100111011001010110111001100011011001010";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 200%;
  color: rgba(0, 212, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 14px;
  word-wrap: break-word;
  animation: matrix-fall 20s linear infinite;
}

@keyframes matrix-fall {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

/* ==========================================
   POINTER EVENTS & Z-INDEX FIXES
   Ensuring all interactive elements remain clickable
   ========================================== */

/* Ensure all background effects don't block clicks */
body::before,
body::after,
.matrix-data-rain,
.matrix-data-rain::before,
#bg-canvas,
#particles-js,
.neural-network,
#neural-canvas {
  pointer-events: none !important;
}

/* Ensure interactive elements are clickable */
.social-link-footer,
.visit-counter,
.view-all,
.neon-link,
.nav-link,
.tab-btn,
.news-item a,
.resource-item,
.link-item,
.slider-btn,
.mobile-header-toggle,
.chat-input button,
.search-suggestions,
.suggestion-item {
  pointer-events: auto !important;
  position: relative;
  z-index: 100;
}

/* Fix holographic scanner to not block clicks */
.holographic-scanner {
  pointer-events: none !important;
}

/* Ensure footer elements are on top */
.futuristic-footer {
  position: relative;
  z-index: 50;
}

.futuristic-footer::before,
.futuristic-footer::after {
  pointer-events: none;
}

/* Fix sidebar modules */
.sidebar-module {
  position: relative;
  z-index: 10;
}

.sidebar-module::before {
  pointer-events: none;
}

/* Ensure news section elements are clickable */
.futuristic-news {
  position: relative;
  z-index: 10;
}

.futuristic-news::before,
.futuristic-news::after {
  pointer-events: none;
}

/* Fix main content elements */
.main-content {
  position: relative;
  z-index: 10;
}

/* Ensure headers don't block content */
.top-header::before,
.top-header::after,
.main-header::before,
.main-nav::before {
  pointer-events: none;
}

/* Specific fixes for problematic elements */
.news-item {
  pointer-events: auto !important;
  z-index: 50;
}

.update-item {
  pointer-events: auto !important;
}

.analytics-container {
  pointer-events: auto !important;
  z-index: 100;
}

/* Footer Analytics Section */
.analytics-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.visit-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.visit-counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 255, 165, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.visit-counter:hover::before {
  left: 100%;
}

.visit-counter:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-neon), 0 0 30px rgba(6, 255, 165, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.visit-counter:active {
  transform: translateY(0) scale(0.98);
}

.visit-counter i {
  color: var(--primary-color);
  font-size: 1.1rem;
  animation: pulse-eye 2s ease-in-out infinite;
}

@keyframes pulse-eye {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.counter-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
}

.counter-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--success-color);
  font-family: var(--font-mono);
  text-shadow: 0 0 10px rgba(6, 255, 165, 0.5);
  animation: counter-glow 3s ease-in-out infinite;
  transition: transform 0.3s ease;
  min-width: 60px;
  text-align: center;
}

@keyframes counter-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(6, 255, 165, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(6, 255, 165, 0.8);
  }
}

.counter-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter-badge i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

/* Responsive adjustments for analytics */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .analytics-container {
    gap: 0.5rem;
  }

  .visit-counter {
    padding: 0.5rem;
    gap: 0.4rem;
  }

  .counter-label {
    font-size: 0.75rem;
  }

  .counter-value {
    font-size: 1rem;
  }

  .counter-badge {
    font-size: 0.7rem;
  }

  .footer-section {
    padding: 0 0.5rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    padding: 0 0.5rem;
    gap: 1.2rem;
  }

  .visit-counter {
    padding: 0.4rem;
    gap: 0.3rem;
    flex-direction: column;
    text-align: center;
  }

  .counter-label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .counter-value {
    font-size: 1.2rem;
    min-width: auto;
  }

  .counter-badge {
    font-size: 0.65rem;
    margin-top: 0.2rem;
  }

  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
  }

  .contact-item {
    font-size: 0.85rem;
    gap: 0.7rem;
  }

  .update-time {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .footer-grid {
    padding: 0 0.3rem;
    gap: 1rem;
  }

  .visit-counter {
    padding: 0.3rem;
  }

  .counter-value {
    font-size: 1.1rem;
  }

  .footer-section h4 {
    font-size: 0.9rem;
  }

  .contact-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .university-info h1 {
    font-size: 1.5rem;
  }

  .futuristic-search input {
    width: 200px;
  }

  .slider-container {
    height: 250px;
  }

  .slide-content {
    padding: 1rem;
  }

  .slide-content h3 {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quality-badges {
    justify-content: center;
  }

  /* Smaller mobile header adjustments */
  .mobile-header-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .neon-link {
    padding: 0.5rem;
    min-width: 36px;
  }

  .neon-link i {
    font-size: 0.9rem;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }
}

/* QUANTUM FIELD EFFECTS */
.quantum-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -8;
  overflow: hidden;
}

.quantum-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gradient-quantum);
  border-radius: 50%;
  animation: quantum-float 6s ease-in-out infinite;
  opacity: 0.7;
  filter: blur(1px);
}

@keyframes quantum-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

.quantum-entanglement {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--quantum-blue),
    transparent
  );
  animation: entanglement-pulse 3s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes entanglement-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1.5);
  }
}

/* BIOMETRIC SCANNING EFFECTS */
.biometric-scanner {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--hologram-cyan);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.retina-scan {
  width: 40px;
  height: 40px;
  border: 2px solid var(--biometric-orange);
  border-radius: 50%;
  position: relative;
  margin-right: 10px;
  animation: retina-scan-animation 2s ease-in-out infinite;
}

.retina-scan::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(
    circle,
    var(--biometric-orange) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: iris-scan 2s ease-in-out infinite;
}

.retina-scan::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-top: 2px solid var(--biometric-orange);
  border-radius: 50%;
  animation: scan-rotation 1s linear infinite;
}

@keyframes retina-scan-animation {
  0%,
  100% {
    box-shadow: 0 0 10px var(--biometric-orange);
  }
  50% {
    box-shadow: 0 0 30px var(--biometric-orange),
      0 0 50px rgba(255, 136, 0, 0.3);
  }
}

@keyframes iris-scan {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes scan-rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.scan-status {
  color: var(--cyber-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
}

.scan-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 5px;
}

.scan-progress-bar {
  height: 100%;
  background: var(--gradient-quantum);
  width: 0%;
  animation: biometric-progress 3s ease-in-out infinite;
}

@keyframes biometric-progress {
  0% {
    width: 0%;
  }
  70% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

/* NEURAL BRAIN VISUALIZATION */
.neural-brain {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 180px;
  height: 120px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--neural-pink);
  border-radius: 12px;
  padding: 15px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.brain-wave {
  width: 100%;
  height: 30px;
  position: relative;
  margin: 5px 0;
  overflow: hidden;
}

.brain-wave::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%;
  width: 200%;
  height: 2px;
  background: var(--gradient-neural);
  animation: brain-wave-flow 2s ease-in-out infinite;
}

.brain-wave:nth-child(2)::before {
  animation-delay: 0.3s;
  background: var(--gradient-quantum);
}

.brain-wave:nth-child(3)::before {
  animation-delay: 0.6s;
  background: var(--gradient-hologram);
}

@keyframes brain-wave-flow {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.neural-status {
  color: var(--neural-pink);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* HOLOGRAPHIC DATA VISUALIZATION */
.holographic-dashboard {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 280px;
  height: 200px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--hologram-cyan);
  border-radius: 12px;
  padding: 20px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.hologram-header {
  color: var(--hologram-cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.data-stream {
  width: 100%;
  height: 120px;
  position: relative;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(0, 255, 255, 0.1) 50%,
    transparent 60%
  );
  background-size: 20px 20px;
  animation: hologram-scan 3s linear infinite;
}

.data-point {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--hologram-cyan);
  border-radius: 50%;
  animation: data-float 4s ease-in-out infinite;
  box-shadow: 0 0 10px var(--hologram-cyan);
}

.data-point:nth-child(2) {
  animation-delay: 0.5s;
  background: var(--cyber-green);
  box-shadow: 0 0 10px var(--cyber-green);
}

.data-point:nth-child(3) {
  animation-delay: 1s;
  background: var(--biometric-orange);
  box-shadow: 0 0 10px var(--biometric-orange);
}

.data-point:nth-child(4) {
  animation-delay: 1.5s;
  background: var(--neural-pink);
  box-shadow: 0 0 10px var(--neural-pink);
}

@keyframes hologram-scan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

@keyframes data-float {
  0%,
  100% {
    transform: translate(10px, 100px);
    opacity: 0.7;
  }
  25% {
    transform: translate(50px, 20px);
    opacity: 1;
  }
  50% {
    transform: translate(180px, 60px);
    opacity: 0.8;
  }
  75% {
    transform: translate(120px, 30px);
    opacity: 1;
  }
}

/* QUANTUM COMPUTING INTERFACE */
.quantum-computer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 220px;
  height: 140px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--quantum-blue);
  border-radius: 12px;
  padding: 15px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.quantum-header {
  color: var(--quantum-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.qubit-display {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.qubit {
  width: 30px;
  height: 30px;
  border: 2px solid var(--quantum-blue);
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle, transparent 60%, var(--quantum-blue) 80%);
  animation: qubit-oscillation 2s ease-in-out infinite;
}

.qubit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--quantum-blue);
  border-radius: 50%;
  animation: qubit-core-pulse 1s ease-in-out infinite;
}

.qubit:nth-child(odd) {
  animation-delay: 0.5s;
}

.qubit:nth-child(even)::before {
  animation-delay: 0.3s;
}

@keyframes qubit-oscillation {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px var(--quantum-blue);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--quantum-blue), 0 0 30px rgba(0, 102, 255, 0.3);
  }
}

@keyframes qubit-core-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.quantum-status {
  text-align: center;
  color: var(--cyber-green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
}

/* ENHANCED AI ASSISTANT */
.ai-assistant {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid var(--neural-pink) !important;
  position: relative;
  overflow: hidden;
}

.ai-assistant::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 204, 0.1),
    transparent
  );
  animation: ai-scan 3s linear infinite;
}

@keyframes ai-scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-neural);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  animation: ai-pulse 2s ease-in-out infinite;
}

.ai-avatar::before {
  content: "🤖";
  font-size: 20px;
  filter: hue-rotate(180deg);
}

.ai-avatar::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid transparent;
  border-top: 2px solid var(--neural-pink);
  border-right: 2px solid var(--neural-pink);
  border-radius: 50%;
  animation: ai-spin 3s linear infinite;
}

@keyframes ai-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px var(--neural-pink);
  }
  50% {
    box-shadow: 0 0 40px var(--neural-pink), 0 0 60px rgba(255, 0, 204, 0.3);
  }
}

@keyframes ai-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* VOICE RECOGNITION INTERFACE */
.voice-command {
  position: fixed;
  bottom: 180px;
  left: 20px;
  width: 200px;
  height: 80px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--success-color);
  border-radius: 12px;
  padding: 15px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  display: none;
}

.voice-command.active {
  display: block;
  animation: voice-appear 0.5s ease-out;
}

@keyframes voice-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.voice-indicator {
  width: 60px;
  height: 60px;
  border: 3px solid var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  animation: voice-pulse 1.5s ease-in-out infinite;
}

.voice-indicator::before {
  content: "🎤";
  font-size: 24px;
}

.voice-indicator::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--success-color);
  border-radius: 50%;
  opacity: 0;
  animation: voice-ripple 1.5s ease-out infinite;
}

@keyframes voice-pulse {
  0%,
  100% {
    box-shadow: 0 0 10px var(--success-color);
  }
  50% {
    box-shadow: 0 0 30px var(--success-color), 0 0 50px rgba(6, 255, 165, 0.3);
  }
}

@keyframes voice-ripple {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* CYBER SECURITY DASHBOARD */
.security-dashboard {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 250px;
  height: 120px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--error-color);
  border-radius: 12px;
  padding: 15px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.security-header {
  color: var(--error-color);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.security-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  text-align: center;
  padding: 5px;
  border: 1px solid rgba(251, 86, 7, 0.3);
  border-radius: 6px;
  background: rgba(251, 86, 7, 0.1);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--success-color);
}

.metric-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.threat-indicator {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
}

.threat-level {
  height: 100%;
  background: var(--gradient-neon);
  width: 25%;
  animation: threat-scan 3s ease-in-out infinite;
}

@keyframes threat-scan {
  0%,
  100% {
    width: 25%;
    background: var(--gradient-matrix);
  }
  50% {
    width: 80%;
    background: var(--gradient-neon);
  }
}

/* TIME DISTORTION EFFECTS */
.time-distortion {
  position: relative;
  overflow: hidden;
}

.time-distortion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 212, 255, 0.1) 50%,
    transparent 70%
  );
  animation: time-warp 4s linear infinite;
  pointer-events: none;
}

@keyframes time-warp {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(100%) skewX(-15deg);
  }
}

/* ENHANCED RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .biometric-scanner,
  .neural-brain,
  .holographic-dashboard,
  .quantum-computer,
  .voice-command,
  .security-dashboard {
    position: relative;
    width: 100%;
    margin: 10px 0;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .quantum-field {
    display: none;
  }
}

/* FUTURISTIC CONTROL PANEL */
.futuristic-control-panel {
  position: fixed;
  top: 50%;
  right: -340px;
  transform: translateY(-50%);
  width: 320px;
  height: 80vh;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--primary-color);
  border-radius: 20px 0 0 20px;
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

.futuristic-control-panel.active {
  right: 0;
}

.futuristic-control-panel::-webkit-scrollbar {
  width: 6px;
}

.futuristic-control-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.futuristic-control-panel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.control-panel-toggle {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 100px;
  background: var(--gradient-cyber);
  border: none;
  border-radius: 10px 0 0 10px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1px;
}

.control-panel-toggle:hover {
  background: var(--gradient-neural);
  box-shadow: var(--shadow-neon);
  transform: translateY(-50%) scale(1.05);
}

.control-panel-toggle i {
  font-size: 24px;
  margin-bottom: 10px;
}

.panel-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  background: var(--gradient-cyber);
}

.panel-title {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.panel-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 5px;
  font-family: var(--font-mono);
}

.panel-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* MINI DASHBOARD MODULES */
.mini-module {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mini-module:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.mini-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  transition: all 0.5s ease;
}

.mini-module:hover::before {
  left: 100%;
}

.module-mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.module-mini-header i {
  font-size: 14px;
}

/* COMPACT BIOMETRIC SCANNER */
.mini-biometric {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-retina {
  width: 30px;
  height: 30px;
  border: 2px solid var(--biometric-orange);
  border-radius: 50%;
  position: relative;
  animation: mini-scan 2s ease-in-out infinite;
}

.mini-retina::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--biometric-orange);
  border-radius: 50%;
  opacity: 0.8;
}

.mini-retina::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid var(--biometric-orange);
  border-top: 2px solid var(--biometric-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes mini-scan {
  0%,
  100% {
    box-shadow: 0 0 5px var(--biometric-orange);
  }
  50% {
    box-shadow: 0 0 15px var(--biometric-orange);
  }
}

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

.scan-info {
  flex: 1;
}

.scan-status-mini {
  color: var(--cyber-green);
  font-family: var(--font-mono);
  font-size: 10px;
  margin-bottom: 5px;
}

.scan-progress-mini {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.scan-bar-mini {
  height: 100%;
  background: var(--gradient-quantum);
  width: 0%;
  animation: mini-progress 3s ease-in-out infinite;
}

@keyframes mini-progress {
  0% {
    width: 0%;
  }
  70% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

/* COMPACT QUANTUM COMPUTER */
.mini-quantum {
  text-align: center;
}

.mini-qubits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.mini-qubit {
  width: 20px;
  height: 20px;
  border: 1px solid var(--quantum-blue);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, var(--quantum-blue) 80%);
  animation: mini-qubit-pulse 2s ease-in-out infinite;
}

.mini-qubit:nth-child(odd) {
  animation-delay: 0.5s;
}

@keyframes mini-qubit-pulse {
  0%,
  100% {
    box-shadow: 0 0 5px var(--quantum-blue);
  }
  50% {
    box-shadow: 0 0 10px var(--quantum-blue);
  }
}

.quantum-status-mini {
  color: var(--quantum-blue);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

/* COMPACT NEURAL BRAIN */
.mini-neural {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-brain-wave {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.mini-brain-wave::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: var(--gradient-neural);
  animation: mini-wave 1.5s ease-in-out infinite;
}

.mini-brain-wave:nth-child(2)::before {
  animation-delay: 0.2s;
  background: var(--gradient-quantum);
}

.mini-brain-wave:nth-child(3)::before {
  animation-delay: 0.4s;
  background: var(--gradient-hologram);
}

@keyframes mini-wave {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.neural-status-mini {
  color: var(--neural-pink);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: center;
  margin-top: 5px;
}

/* COMPACT SECURITY DASHBOARD */
.mini-security {
  text-align: center;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.mini-metric {
  padding: 5px;
  background: rgba(251, 86, 7, 0.1);
  border: 1px solid rgba(251, 86, 7, 0.3);
  border-radius: 4px;
  text-align: center;
}

.mini-metric-value {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--success-color);
}

.mini-metric-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.mini-threat {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.mini-threat-level {
  height: 100%;
  background: var(--gradient-matrix);
  width: 30%;
  animation: mini-threat-scan 3s ease-in-out infinite;
}

@keyframes mini-threat-scan {
  0%,
  100% {
    width: 30%;
  }
  50% {
    width: 70%;
  }
}

/* COMPACT HOLOGRAPHIC DATA */
.mini-hologram {
  position: relative;
  height: 60px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(0, 255, 255, 0.05) 50%,
    transparent 60%
  );
  background-size: 10px 10px;
  animation: mini-hologram-scan 2s linear infinite;
}

@keyframes mini-hologram-scan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 10px 10px;
  }
}

.mini-data-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mini-data-point {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--hologram-cyan);
  border-radius: 50%;
  animation: mini-data-float 3s ease-in-out infinite;
}

.mini-data-point:nth-child(1) {
  top: 20%;
  left: 20%;
}

.mini-data-point:nth-child(2) {
  top: 60%;
  left: 70%;
  background: var(--cyber-green);
  animation-delay: 0.5s;
}

.mini-data-point:nth-child(3) {
  top: 40%;
  left: 50%;
  background: var(--neural-pink);
  animation-delay: 1s;
}

@keyframes mini-data-float {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.hologram-status-mini {
  color: var(--hologram-cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: center;
  margin-top: 5px;
}

/* REMOVE ORIGINAL FIXED POSITIONED ELEMENTS */
.biometric-scanner,
.neural-brain,
.holographic-dashboard,
.quantum-computer,
.security-dashboard {
  display: none;
}

/* VOICE COMMAND - KEEP BUT REPOSITION */
.voice-command {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 160px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--success-color);
  border-radius: 30px;
  padding: 10px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  gap: 10px;
}

.voice-command.active {
  display: flex;
  animation: voice-appear 0.5s ease-out;
}

.voice-indicator {
  width: 40px;
  height: 40px;
  border: 2px solid var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: voice-pulse 1.5s ease-in-out infinite;
}

.voice-indicator::before {
  content: "🎤";
  font-size: 16px;
}

.voice-text {
  color: var(--success-color);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SYSTEM STATUS INDICATOR */
.system-status {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--success-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  z-index: 1000;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--success-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--success-color);
  border-radius: 50%;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  .futuristic-control-panel {
    width: 280px;
    right: -300px;
  }

  .control-panel-toggle {
    left: -40px;
    width: 40px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .futuristic-control-panel {
    width: 100%;
    height: 100vh;
    right: -100%;
    top: 0;
    transform: none;
    border-radius: 0;
  }

  .control-panel-toggle {
    left: -50px;
    top: 20px;
    transform: none;
    height: 60px;
    width: 50px;
    border-radius: 10px 0 0 10px;
    writing-mode: horizontal-tb;
    text-orientation: unset;
  }

  .voice-command {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin: 10px 0;
  }

  .system-status {
    position: relative;
    top: auto;
    left: auto;
    margin: 10px;
    justify-content: center;
  }
}
