html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

.glass-nav {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Background Blob Animation */
@keyframes float {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
  animation: float 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
  filter: blur(5px);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-gradient {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

/* Loader Animations */
@keyframes wipe-in {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-wipe {
  animation: wipe-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loader-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-out;
}


body.loaded {
  overflow: auto !important;
}

/* Page Transition: Content slides up revealingly */
body > *:not(#initial-loader):not(script) {
    opacity: 0;
    transform: translateY(80px); /* Start from below */
    transition: opacity 1.5s ease-out, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

body.loaded > *:not(#initial-loader):not(script) {
    opacity: 1;
    transform: translateY(0);
}

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

.animate-blink {
    animation: blink 1s step-end infinite;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Delay content appearance slightly to sync with loader fade */
body.loaded nav { transition-delay: 0.1s; }
body.loaded section:nth-of-type(1) { transition-delay: 0.2s; } /* Hero */
body.loaded section:nth-of-type(2) { transition-delay: 0.3s; }

