:root {
  --gradient: linear-gradient(135deg, #9B59B6, #4A90D9);
}

html {
  scroll-behavior: smooth;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient {
  background: var(--gradient);
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.nav-solid {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(8px);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Active language button */
.active-lang {
  background: var(--gradient);
  color: #fff;
}

/* Waveform divider animation */
@keyframes waveScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.waveform-svg {
  animation: waveScroll 20s linear infinite;
}

/* Hamburger animation when menu is open */
.menu-open .hamburger-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.menu-open .hamburger-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}
