/* ==========================================================================
   habior.com — super intelligence
   Minimalist Master Stylesheet: Der Funke & Super Intelligence
   ========================================================================== */

/* 1. Base Variables & Typography */
:root {
  --color-gold: #D4AF37;
  --color-gold-light: #F5E6C4;
  --color-gold-glow: rgba(212, 175, 55, 0.4);
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

/* 2. Text Shadows for Unobstructed Video Readability */
.text-shadow-cinematic {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 8px 30px rgba(0, 0, 0, 0.9);
}

.text-shadow-subtle {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* 3. Navigation Link Hover Indicator */
.hover-line {
  position: relative;
}
.hover-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #D4AF37;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-line:hover::after {
  width: 100%;
}

/* 4. Audio Wave Animation */
.sound-wave .bar {
  width: 2px;
  background: #D4AF37;
  border-radius: 1px;
  display: inline-block;
  transition: height 0.2s ease;
}
.sound-wave .bar-1 { height: 4px; }
.sound-wave .bar-2 { height: 8px; }
.sound-wave .bar-3 { height: 6px; }

.audio-playing .sound-wave .bar-1 {
  animation: pulse-bar 0.9s ease-in-out infinite alternate;
}
.audio-playing .sound-wave .bar-2 {
  animation: pulse-bar 0.7s ease-in-out infinite alternate 0.2s;
}
.audio-playing .sound-wave .bar-3 {
  animation: pulse-bar 1.1s ease-in-out infinite alternate 0.4s;
}

@keyframes pulse-bar {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* 5. Minimalist Glass Cards (Ultra-Transparent) */
.glass-minimal {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-minimal:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.35);
}

/* 6. Video Stream Native Presentation & Mobile GPU Acceleration */
.video-stream {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* 7. Mobile Friendly Touch & Safe Area Insets */
html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

button, a {
  touch-action: manipulation;
}

/* Smooth fade-in utility */
.fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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