/* ============================================
   UGM DIGITAL SERVICES HUB - STYLES
   Extracted from public/index.php for better organization
   ============================================ */

/* ============================================
   ROOT VARIABLES & BASE STYLES
   ============================================ */
:root{ 
  --ugm-maroon:#7C0000; 
  --ugm-gold:#C8A951; 
  --accent-1:#2563eb; 
  --accent-2:#0ea5e9; 
  --accent-3:#10b981; 
  --accent-4:#f59e0b; 
  --accent-5:#ef4444; 
  --ink:#0f172a; 
}

html{scroll-behavior:smooth} 

body{font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial,'Noto Sans';}

/* ============================================
   BERANDA SECTION - DIGITAL CAMPUS THEME
   ============================================ */

.vibrant-hero {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(30, 58, 138, 0.95) 0%,
    rgba(55, 48, 163, 0.92) 25%,
    rgba(79, 70, 229, 0.90) 50%,
    rgba(99, 102, 241, 0.88) 75%,
    rgba(129, 140, 248, 0.85) 100%
  );
  overflow: hidden;
}

/* Soft Gradient Overlay */
.vibrant-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(147, 197, 253, 0.15), transparent 50%),
              radial-gradient(circle at 80% 60%, rgba(196, 181, 253, 0.12), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(165, 180, 252, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Animated Grid Pattern - Digital Campus */
.vibrant-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-flow 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes grid-flow {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* Digital Campus Buildings Silhouette */
.digital-campus-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.4), transparent);
  z-index: 2;
  pointer-events: none;
}

.digital-campus-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0 120V80h40V40h40v40h40V60h40v20h40V40h40v40h40V50h40v30h40V60h40v20h40V50h40v30h40V40h40v40h40V60h40v20h40V50h40v30h40V60h40v20h40V40h40v40h40V50h40v30h40V60h40v20h40V50h40v70h40V80h40v40H0z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 1200px 120px;
  opacity: 0.6;
  animation: building-glow 4s ease-in-out infinite;
}

@keyframes building-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* Data Particles - Floating */
.data-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(147, 197, 253, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(147, 197, 253, 0.8);
  animation: float-particle 15s linear infinite;
  z-index: 2;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

.data-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.data-particle:nth-child(2) { left: 25%; animation-delay: 3s; animation-duration: 18s; }
.data-particle:nth-child(3) { left: 40%; animation-delay: 6s; animation-duration: 20s; }
.data-particle:nth-child(4) { left: 55%; animation-delay: 2s; animation-duration: 16s; }
.data-particle:nth-child(5) { left: 70%; animation-delay: 5s; animation-duration: 22s; }
.data-particle:nth-child(6) { left: 85%; animation-delay: 8s; animation-duration: 19s; }

/* Connection Lines - Data Flow */
.connection-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.4), transparent);
  animation: line-flow 8s linear infinite;
  z-index: 2;
}

@keyframes line-flow {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.connection-line:nth-child(1) { top: 20%; width: 300px; left: 10%; animation-delay: 0s; }
.connection-line:nth-child(2) { top: 40%; width: 250px; right: 15%; animation-delay: 2s; animation-duration: 10s; }
.connection-line:nth-child(3) { top: 60%; width: 200px; left: 20%; animation-delay: 4s; animation-duration: 9s; }

/* Campus Digital Icons - Floating Animation */
.campus-icon {
  position: absolute;
  color: rgba(147, 197, 253, 0.3);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(147, 197, 253, 0.4));
  animation: float-campus-icon 8s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes float-campus-icon {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-25px) translateX(15px) rotate(5deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-15px) translateX(-10px) rotate(-3deg);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-30px) translateX(20px) rotate(8deg);
    opacity: 0.6;
  }
}

/* Campus Icon Glow Effect */
.campus-icon svg {
  filter: drop-shadow(0 0 12px rgba(147, 197, 253, 0.5));
  animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(147, 197, 253, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(196, 181, 253, 0.6));
  }
}

/* Position each campus icon */
.campus-icon-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.campus-icon-2 {
  top: 25%;
  right: 12%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.campus-icon-3 {
  top: 45%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 14s;
}

.campus-icon-4 {
  top: 35%;
  right: 20%;
  animation-delay: 0s;
  animation-duration: 11s;
}

.campus-icon-5 {
  top: 60%;
  left: 25%;
  animation-delay: 0s;
  animation-duration: 13s;
}

.campus-icon-6 {
  top: 70%;
  right: 18%;
  animation-delay: 0s;
  animation-duration: 15s;
}

/* Ensure content is above background effects */
.vibrant-hero > .max-w-7xl {
  position: relative;
  z-index: 10;
}

/* Heading Animations */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes gradient-text {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 20px rgba(147, 197, 253, 0.6));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 30px rgba(196, 181, 253, 0.8));
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  -webkit-animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
  -webkit-animation: fade-in 0.8s ease-out forwards;
  opacity: 0;
}

.animate-gradient-text {
  animation: gradient-text 3s ease-in-out infinite;
  -webkit-animation: gradient-text 3s ease-in-out infinite;
}

.card{transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .3s ease; will-change:transform}
.card:hover{transform:translateY(-6px) scale(1.01); box-shadow:0 18px 40px rgba(168, 190, 39, 0.12)}
.chip{border:1px solid rgba(15,23,42,.12)}
.chip[data-cat="Pendidikan"]{background:linear-gradient(90deg, rgba(37,99,235,.12), rgba(14,165,233,.12)); color:#1e3a8a}
.chip[data-cat="Penelitian"]{background:linear-gradient(90deg, rgba(16,185,129,.12), rgba(245,158,11,.12)); color:#065f46}
.chip[data-cat="Pengabdian"]{background:linear-gradient(90deg, rgba(239,68,68,.12), rgba(245,158,11,.12)); color:#7c2d12}
.chip[data-cat="Pendukung"]{background:linear-gradient(90deg, rgba(99,102,241,.12), rgba(16,185,129,.12)); color:#3730a3}
.section{scroll-margin-top:90px}
mark{padding:0 .15em;border-radius:.2rem}

/* ============================================
   HEADER DESIGN - PROFESSIONAL SOFT
   ============================================ */

header {
  background: linear-gradient(135deg, 
    rgba(30, 58, 138, 0.98) 0%,
    rgba(55, 48, 163, 0.96) 50%,
    rgba(79, 70, 229, 0.95) 100%
  );
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(30, 58, 138, 0.2),
              0 2px 8px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(147, 197, 253, 0.2);
  transition: all 0.3s ease;
  animation: header-slide-down 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes header-slide-down {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header Subtle Grid Pattern */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.5;
}

/* Header Glow Effect */
header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(147, 197, 253, 0.6) 50%,
    transparent
  );
  animation: header-glow 3s ease-in-out infinite;
}

@keyframes header-glow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Logo Container Enhancement */
.items-center-iconheader {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(55, 48, 163, 0.6));
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.items-center-iconheader::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, 
    rgba(147, 197, 253, 0.4),
    rgba(196, 181, 253, 0.4)
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  animation: logo-shimmer 3s linear infinite;
  background-size: 200% 200%;
}

@keyframes logo-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.items-center-iconheader:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.items-center-iconheader:hover::before {
  opacity: 1;
}

/* ============================================
   LINK BADGES - Quick Access Links
   ============================================ */

/* Header Badge - Sticky Link */
.header-link-badge {
  position: relative;
  overflow: hidden;
  animation: badge-glow 3s ease-in-out infinite;
}

.header-link-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-link-badge:hover::before {
  opacity: 1;
}

.header-link-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.header-link-badge:hover::after {
  transform: translate(-50%, -50%) scale(2);
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(147, 197, 253, 0.3),
                0 0 20px rgba(147, 197, 253, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(147, 197, 253, 0.5),
                0 0 40px rgba(168, 85, 247, 0.2);
  }
}

/* Hero Section Badge - Large Link */
.hero-link-badge {
  position: relative;
  overflow: hidden;
  animation: hero-badge-float 4s ease-in-out infinite;
}

.hero-link-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.4),
    rgba(168, 85, 247, 0.4),
    rgba(236, 72, 153, 0.4)
  );
  border-radius: 1rem;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hero-link-badge:hover::before {
  opacity: 1;
  animation: hero-badge-glow-pulse 1.5s ease-in-out infinite;
}

@keyframes hero-badge-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes hero-badge-glow-pulse {
  0%, 100% {
    filter: blur(8px);
    opacity: 0.6;
  }
  50% {
    filter: blur(12px);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .header-link-badge {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero-link-badge {
    flex-direction: column;
    gap: 8px !important;
    padding: 16px !important;
  }
  
  .hero-link-badge span {
    font-size: 16px !important;
  }
}

/* ============================================
   END LINK BADGES
   ============================================ */

/* Header Text Enhancement */
header .text-white {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

header h1 {
  background: linear-gradient(135deg, #ffffff, #bfdbfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Header Container Enhancement */
header .flex.items-center {
  position: relative;
  z-index: 10;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(147, 197, 253, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(147, 197, 253, 0.5);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(147, 197, 253, 0.3);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, 
    rgba(30, 58, 138, 0.98) 0%,
    rgba(55, 48, 163, 0.96) 100%
  );
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
  z-index: 30;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  display: block;
  max-height: 500px;
}

.mobile-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(147, 197, 253, 0.1);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.mobile-nav a:hover {
  background: rgba(147, 197, 253, 0.15);
  color: rgba(255, 255, 255, 1);
  padding-left: 2rem;
  box-shadow: inset 4px 0 0 rgba(147, 197, 253, 0.8);
}

.mobile-nav a.active {
  background: rgba(147, 197, 253, 0.2);
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  box-shadow: inset 4px 0 0 rgba(147, 197, 253, 1);
}

/* Header Scroll Effect Enhancement */
@keyframes header-scroll-glow {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(30, 58, 138, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 6px 32px rgba(59, 130, 246, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.12);
  }
}

header.scrolled {
  animation: header-scroll-glow 3s ease-in-out infinite;
}

/* Logo Group Hover Effect */
header .flex.items-center.gap-3:hover .items-center-iconheader {
  transform: scale(1.05) rotate(2deg);
}

header .flex.items-center.gap-3:hover h1 {
  letter-spacing: 1px;
}

/* Desktop Nav Enhancement */
@media (min-width: 768px) {
  header nav {
    position: relative;
  }
  
  header nav::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, 
      transparent,
      rgba(147, 197, 253, 0.3),
      transparent
    );
  }
}

/* Responsive Header Adjustments */
@media (max-width: 640px) {
  header h1 {
    font-size: 0.875rem;
  }
  
  header .text-white.text-sm {
    font-size: 0.75rem;
  }
  
  .items-center-iconheader {
    height: 2rem;
  }
}

/* ============================================
   END HEADER DESIGN
   ============================================ */

.bg-innovation-pipeline { background: linear-gradient(135deg, #3d3e6dff 0%, #441d1dff 100%); }

/* ============================================
   CYBERPUNK CAROUSEL ANIMATIONS
   ============================================ */

/* Slow Pulse for Neon Orbs */
@keyframes pulse-slow {
  0%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  50% { 
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 6s ease-in-out infinite;
}

/* Cyberpunk Grid */
.cyberpunk-grid {
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* Scan Lines - Horizontal */
.scan-line-horizontal {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.6), transparent);
  animation: scan-horizontal 8s ease-in-out infinite;
}

@keyframes scan-horizontal {
  0%, 100% { 
    top: -2px;
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  50% { 
    top: 100%;
  }
}

/* Scan Lines - Vertical */
.scan-line-vertical {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(236, 72, 153, 0.6), transparent);
  animation: scan-vertical 10s ease-in-out infinite;
}

@keyframes scan-vertical {
  0%, 100% { 
    left: -2px;
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  50% { 
    left: 100%;
  }
}

/* Glitch Bars */
.glitch-bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background: rgba(6, 182, 212, 0.3);
  animation: glitch 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes glitch {
  0%, 90%, 100% { 
    opacity: 0;
    transform: translateX(0);
  }
  91% {
    opacity: 1;
    transform: translateX(-10px);
  }
  93% {
    transform: translateX(10px);
  }
  95% {
    transform: translateX(-5px);
  }
  97% {
    transform: translateX(0);
  }
}

/* Neon Glow Effects (Original - Intense) */
.neon-glow-cyan {
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.8),
              0 0 20px rgba(6, 182, 212, 0.6),
              0 0 30px rgba(6, 182, 212, 0.4);
}

.neon-glow-pink {
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.8),
              0 0 20px rgba(236, 72, 153, 0.6),
              0 0 30px rgba(236, 72, 153, 0.4);
}

.neon-glow-purple {
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8),
              0 0 20px rgba(168, 85, 247, 0.6),
              0 0 30px rgba(168, 85, 247, 0.4);
}

/* Soft Neon Glow Effects (For Subtle Look) */
.neon-glow-cyan-soft {
  box-shadow: 0 0 8px rgba(103, 232, 249, 0.4),
              0 0 15px rgba(103, 232, 249, 0.3),
              0 0 20px rgba(103, 232, 249, 0.2);
}

.neon-glow-pink-soft {
  box-shadow: 0 0 8px rgba(249, 168, 212, 0.4),
              0 0 15px rgba(249, 168, 212, 0.3),
              0 0 20px rgba(249, 168, 212, 0.2);
}

.neon-glow-purple-soft {
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.4),
              0 0 15px rgba(192, 132, 252, 0.3),
              0 0 20px rgba(192, 132, 252, 0.2);
}

/* ============================================
   FUTURISTIC NAVIGATION BUTTON
   ============================================ */

.futuristic-nav-btn {
  position: relative;
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(147, 197, 253, 0.25);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 0 10px rgba(147, 197, 253, 0.15),
              0 0 20px rgba(147, 197, 253, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated Border Gradient */
.futuristic-nav-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, 
    rgba(147, 197, 253, 0.3),
    rgba(249, 168, 212, 0.3),
    rgba(192, 132, 252, 0.3),
    rgba(147, 197, 253, 0.3)
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  background-size: 200% 100%;
  animation: border-flow 4s linear infinite;
}

@keyframes border-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Hover Glow Effect */
.futuristic-nav-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(147, 197, 253, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
  pointer-events: none;
}

/* Hover State */
.futuristic-nav-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.5);
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 15px rgba(147, 197, 253, 0.3),
              0 0 30px rgba(147, 197, 253, 0.15),
              0 0 40px rgba(147, 197, 253, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.futuristic-nav-btn:hover::before {
  opacity: 1;
}

.futuristic-nav-btn:hover::after {
  opacity: 1;
}

/* Active/Focus State */
.futuristic-nav-btn:active,
.futuristic-nav-btn:focus {
  outline: none;
  transform: translateY(0);
  box-shadow: 0 0 12px rgba(147, 197, 253, 0.4),
              0 0 24px rgba(147, 197, 253, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Ensure text is above effects */
.futuristic-nav-btn span {
  position: relative;
  z-index: 10;
}

/* Active Navigation State */
.futuristic-nav-btn.active {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.25), rgba(147, 197, 253, 0.15));
  border-color: rgba(147, 197, 253, 0.7);
  box-shadow: 0 0 20px rgba(147, 197, 253, 0.4),
              0 0 40px rgba(147, 197, 253, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.futuristic-nav-btn.active::before {
  opacity: 1;
}

.futuristic-nav-btn.active::after {
  opacity: 0.5;
}

/* Float Animation for Particles */
@keyframes float {
  0%, 100% { 
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(-10px) translateX(-10px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

/* Circuit Lines Animation */
.circuit-line {
  stroke-dasharray: 10, 5;
  animation: circuit-flow 4s linear infinite;
}

.circuit-line-vertical {
  stroke-dasharray: 10, 5;
  animation: circuit-flow-vertical 5s linear infinite;
}

@keyframes circuit-flow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 100; }
}

@keyframes circuit-flow-vertical {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 100; }
}

/* Circuit Nodes Pulse */
.circuit-node {
  animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { 
    opacity: 0.6;
    r: 4;
  }
  50% { 
    opacity: 1;
    r: 6;
  }
}

/* Edge Neon Glow */
.neon-edge-glow {
  animation: edge-pulse 3s ease-in-out infinite;
}

@keyframes edge-pulse {
  0%, 100% { 
    opacity: 0.3;
    filter: blur(2px);
  }
  50% { 
    opacity: 0.8;
    filter: blur(4px);
  }
}

/* Cyberpunk Border */
.cyberpunk-border {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3),
              0 0 40px rgba(6, 182, 212, 0.2),
              inset 0 0 20px rgba(6, 182, 212, 0.1);
  animation: border-glow 4s ease-in-out infinite;
}

@keyframes border-glow {
  0%, 100% { 
    border-color: rgba(6, 182, 212, 0.3);
  }
  50% { 
    border-color: rgba(236, 72, 153, 0.5);
  }
}

/* Corner Brackets Animation */
.corner-bracket {
  animation: bracket-glow 3s ease-in-out infinite;
}

@keyframes bracket-glow {
  0%, 100% { 
    opacity: 0.6;
  }
  50% { 
    opacity: 1;
  }
}

/* Holographic Scan */
.holographic-scan {
  animation: holo-scan 6s ease-in-out infinite;
}

@keyframes holo-scan {
  0%, 100% { 
    top: -2px;
    opacity: 0;
  }
  10%, 90% {
    opacity: 0.8;
  }
  50% { 
    top: 100%;
  }
}

/* Neon Icon Glow */
.neon-icon {
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5),
              0 0 30px rgba(168, 85, 247, 0.3);
  animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5),
                0 0 30px rgba(168, 85, 247, 0.3);
  }
  50% { 
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.8),
                0 0 50px rgba(168, 85, 247, 0.5);
  }
}

/* Neon Button */
.neon-button {
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
  transition: all 0.3s ease;
}

.neon-button:hover {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6),
              0 0 30px rgba(6, 182, 212, 0.4);
}

/* Neon CTA */
.neon-cta {
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4),
              0 0 30px rgba(236, 72, 153, 0.3);
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4),
                0 0 30px rgba(236, 72, 153, 0.3);
  }
  50% { 
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6),
                0 0 40px rgba(236, 72, 153, 0.5);
  }
}

/* ============================================
   END CYBERPUNK ANIMATIONS
   ============================================ */

/* ============================================
   BERANDA SEARCH & FILTER STYLING
   ============================================ */

/* Search Input - Professional Soft Design */
#searchInput {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.12),
              0 4px 12px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#searchInput:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.18),
              0 6px 16px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(147, 197, 253, 0.6);
}

#searchInput:focus {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2),
              0 8px 20px rgba(99, 102, 241, 0.15),
              0 0 0 4px rgba(147, 197, 253, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Filter Container - Soft Glass Morphism */
#beranda .bg-white\/10,
#beranda [class*="bg-white/"],
#filterContainer {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.15),
              0 4px 12px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

#beranda .bg-white\/10:hover,
#beranda [class*="bg-white/"]:hover,
#filterContainer:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.2),
              0 6px 16px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Filter Select Boxes - Enhanced Soft Design */
#beranda select {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

#beranda select:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15),
              0 2px 6px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

#beranda select:focus {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.3),
              0 6px 16px rgba(59, 130, 246, 0.2);
}

/* CTA Buttons - Professional Soft Glow */
#beranda .bg-gradient-to-r {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2),
              0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#beranda .bg-gradient-to-r:hover {
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.35),
              0 8px 20px rgba(99, 102, 241, 0.2),
              0 0 60px rgba(147, 197, 253, 0.3);
}

#beranda button.border-2 {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

#beranda button.border-2:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25),
              0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Search Label Icon Animation */
#beranda label span:first-child {
  display: inline-block;
  animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-5deg);
  }
  75% {
    transform: translateY(-2px) rotate(5deg);
  }
}

/* Filter Label Glow */
#beranda .flex.items-center.gap-2.text-white {
  text-shadow: 0 2px 8px rgba(147, 197, 253, 0.3);
}

#beranda .flex.items-center.gap-2.text-white span:first-child {
  display: inline-block;
  animation: filter-pulse 3s ease-in-out infinite;
}

@keyframes filter-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(147, 197, 253, 0.4));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(147, 197, 253, 0.7));
  }
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .data-particle:nth-child(n+4) {
    display: none;
  }
  
  .connection-line:nth-child(n+2) {
    display: none;
  }
  
  .digital-campus-bg {
    height: 120px;
  }
  
  .digital-campus-bg::before {
    height: 80px;
    background-size: 800px 80px;
  }
}

/* ============================================
   END BERANDA SEARCH & FILTER STYLING
   ============================================ */

/* --- Futuristic Digital Campus Launchpad Design (CSS Only) --- */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(2, 6, 23, .06); 
  }
  50% { 
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.25), 0 12px 36px rgba(168, 85, 247, .1); 
  }
}

.svc-card {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 249, 255, 0.92) 50%,
    rgba(237, 233, 254, 0.95) 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(121, 171, 252, 0.57);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 8px 32px rgba(2, 6, 23, .06),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.25rem !important;
}

/* Top shimmer line */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(59, 130, 246, 0.6),
    rgba(168, 85, 247, 0.6),
    rgba(236, 72, 153, 0.6),
    transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Gradient border on hover */
.svc-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  padding: 2px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.4),
    rgba(168, 85, 247, 0.4),
    rgba(236, 72, 153, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.svc-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.2);
  animation: pulse-glow 2s ease-in-out infinite;
}

.svc-card:hover::before,
.svc-card:hover::after {
  opacity: 1;
}

/* Holographic Chip Badge */
.svc-chip {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15),
    rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1e40af;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

.chip[data-cat="Pendidikan"] {
  background: linear-gradient(90deg, rgba(37,99,235,.15), rgba(14,165,233,.15));
  border-color: rgba(37,99,235,.3);
  color: #1e3a8a;
}

.chip[data-cat="Penelitian"] {
  background: linear-gradient(90deg, rgba(16,185,129,.15), rgba(245,158,11,.15));
  border-color: rgba(16,185,129,.3);
  color: #065f46;
}

.chip[data-cat="Pengabdian"] {
  background: linear-gradient(90deg, rgba(239,68,68,.15), rgba(245,158,11,.15));
  border-color: rgba(239,68,68,.3);
  color: #7c2d12;
}

.chip[data-cat="Pendukung"] {
  background: linear-gradient(90deg, rgba(99,102,241,.15), rgba(16,185,129,.15));
  border-color: rgba(99,102,241,.3);
  color: #3730a3;
}

/* Description styling */
.svc-desc {
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 0;
  width: 100%;
}

/* Futuristic Icon Container */
.svc-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.12) 0%,
    rgba(168, 85, 247, 0.08) 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

/* Icon shine effect */
.svc-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-icon {
  transform: scale(1.08) rotate(3deg);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.svc-card:hover .svc-icon::before {
  transform: translateX(100%) rotate(45deg);
}

/* Icon SVG sizing */
.svc-icon > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-icon svg {
  width: 24px;
  height: 24px;
}

.svc-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  font-size: 0.875rem;
}

/* --- Futuristic Launch Button (CSS Only) --- */
.btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Button glass overlay */
.btn-launch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2),
    transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-launch .ico {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-launch:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45),
              0 4px 14px rgba(168, 85, 247, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-launch:hover::before {
  opacity: 1;
}

.btn-launch:hover .ico {
  transform: translateX(4px);
}

.btn-launch:active {
  transform: translateY(0);
}

/* --- Guide Button (Icon Only) --- */
.btn-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.btn-guide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2),
    transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-guide svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

.btn-guide:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45),
              0 4px 14px rgba(5, 150, 105, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-guide:hover::before {
  opacity: 1;
}

.btn-guide:hover svg {
  transform: scale(1.1);
}

.btn-guide:active {
  transform: translateY(0) scale(1);
}

/* Search input enhanced */
#searchInput {
  transition: all 0.3s ease;
}

#searchInput:focus {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1), 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Section Layanan Background Animations */
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 10px) scale(0.95); }
  75% { transform: translate(10px, 20px) scale(1.02); }
}

.floating-orb-1 {
  animation: floatOrb 20s ease-in-out infinite;
}

.floating-orb-2 {
  animation: floatOrb 25s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.floating-orb-3 {
  animation: floatOrb 30s ease-in-out infinite;
  animation-delay: 4s;
}

/* Floating Icons Animation */
@keyframes floatIcon {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
    opacity: 0.15;
  }
  50% { 
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.25;
  }
}

@keyframes rotateIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floating-icon {
  animation: floatIcon 6s ease-in-out infinite;
  will-change: transform, opacity;
}

.rotating-icon {
  animation: rotateIcon 20s linear infinite;
}

/* ============================================
   POPUP GUIDE MODAL ANIMATIONS & STYLING
   ============================================ */
@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Custom Scrollbar for Guide Modal */
#guideModal ::-webkit-scrollbar {
  width: 8px;
}

#guideModal ::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

#guideModal ::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

#guideModal ::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* ============================================
   LISA FLOATING BUBBLE - FUTURISTIC DESIGN
   ============================================ */

@keyframes futuristicPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.15); 
    opacity: 0.4;
  }
}

@keyframes orbitRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes neonGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6),
                0 0 40px rgba(99, 102, 241, 0.4),
                0 0 60px rgba(168, 85, 247, 0.3),
                inset 0 0 20px rgba(59, 130, 246, 0.2);
  }
  50% { 
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8),
                0 0 60px rgba(99, 102, 241, 0.6),
                0 0 90px rgba(168, 85, 247, 0.5),
                inset 0 0 30px rgba(59, 130, 246, 0.3);
  }
}

@keyframes holographicShift {
  0%, 100% { 
    background-position: 0% 50%;
  }
  50% { 
    background-position: 100% 50%;
  }
}

/* LISA Bubble - Fixed Floating Position */
#lisa-bubble-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  pointer-events: none;
}

#lisa-bubble {
  position: relative;
  pointer-events: auto;
  animation: neonGlow 3s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#lisa-bubble:hover {
  transform: scale(1.05);
}

#lisa-bubble::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(45deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.3) 25%, 
    rgba(168, 85, 247, 0.3) 50%, 
    rgba(236, 72, 153, 0.3) 75%, 
    transparent 100%);
  animation: orbitRing 4s linear infinite;
  pointer-events: none;
}

#lisa-bubble::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 60deg,
    rgba(59, 130, 246, 0.4) 60deg 120deg,
    transparent 120deg 180deg,
    rgba(168, 85, 247, 0.4) 180deg 240deg,
    transparent 240deg 300deg,
    rgba(236, 72, 153, 0.4) 300deg 360deg
  );
  animation: orbitRing 6s linear infinite reverse;
  pointer-events: none;
}

.futuristic-glow {
  animation: futuristicPulse 2s ease-in-out infinite;
}

.holographic-bg {
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #00f2fe 100%
  );
  background-size: 200% 200%;
  animation: holographicShift 4s ease infinite;
}

#lisa-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 12px;
  min-width: 280px;
  backdrop-filter: blur(20px) saturate(180%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 249, 255, 0.9) 50%,
    rgba(237, 233, 254, 0.95) 100%
  );
  border: 2px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3),
              0 10px 30px rgba(168, 85, 247, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: auto;
}

#lisa-menu.hidden {
  visibility: hidden;
  pointer-events: none;
}

#lisa-menu.menu-visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#lisa-menu a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

#lisa-menu a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

#lisa-menu::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  background: linear-gradient(45deg, 
    rgba(59, 130, 246, 0.5),
    rgba(168, 85, 247, 0.5),
    rgba(236, 72, 153, 0.5));
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
}

.ai-chip-icon {
  position: relative;
  display: inline-block;
}

.ai-chip-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #3b82f6, #a855f7, #ec4899);
  border-radius: 8px;
  animation: orbitRing 3s linear infinite;
  opacity: 0.6;
  filter: blur(4px);
}

/* LISA Bubble - Responsive Mobile */
@media (max-width: 768px) {
  #lisa-bubble-root {
    bottom: 16px;
    right: 16px;
  }
  
  #lisa-menu {
    min-width: 260px;
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 480px) {
  #lisa-bubble-root {
    bottom: 12px;
    right: 12px;
  }
  
  #lisa-menu {
    min-width: 240px;
    right: 0;
    left: auto;
    transform-origin: bottom right;
  }
}
