/* Base Styles */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Creative Grid Background */
.creative-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(102, 126, 234, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 126, 234, 0.5) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Glitch Effect for Hero Text */
@keyframes glitch {

  0%,
  100% {
    text-shadow: 2px 0 #f093fb, -2px 0 #667eea;
  }

  25% {
    text-shadow: -2px 0 #f093fb, 2px 0 #667eea;
  }

  50% {
    text-shadow: 2px 0 #667eea, -2px 0 #f093fb;
  }

  75% {
    text-shadow: -2px 0 #667eea, 2px 0 #f093fb;
  }
}

.glitch-hover:hover {
  animation: glitch 0.3s ease-in-out infinite;
}

/* Letter spacing for name */
.spaced-letters {
  letter-spacing: 0.2em;
}

/* Section hover underline effect */
.section-container {
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25em;
  margin-bottom: 0.5em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out;
}

.section-container:hover .section-title::after {
  transform: scaleX(1);
}

/* Experimental: Liquid Button */
.liquid-button {
  position: relative;
  overflow: hidden;
}

.liquid-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.6s, height 0.6s;
}

.liquid-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Experimental: Gradient Text Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: linear-gradient(270deg, #667eea, #764ba2, #f093fb, #667eea);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

/* Experimental: Hover Magnetic Effect */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(200%) rotate(45deg);
  }
}

.animate-shimmer {
  animation: shimmer 3s infinite;
}

/* Mobile Menu Transition */
.menu-slide-enter-active,
.menu-slide-leave-active {
  transition: all 0.3s ease;
}

.menu-slide-enter-from {
  transform: translateY(-100%);
  opacity: 0;
}

.menu-slide-leave-to {
  transform: translateY(-100%);
  opacity: 0;
}

/* Experimental: Stagger Fade In */
@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-fade-in {
  opacity: 0;
  animation: staggerFadeIn 0.6s ease-out forwards;
}

/* Experimental: Reveal on Scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Experimental: Text Split Animation */
.text-split {
  display: inline-block;
  overflow: hidden;
}

.text-split span {
  display: inline-block;
  transform: translateY(100%);
  animation: textReveal 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes textReveal {
  to {
    transform: translateY(0);
  }
}

/* Experimental: Stagger Fade In */
@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-fade-in {
  opacity: 0;
  animation: staggerFadeIn 0.6s ease-out forwards;
}

/* Background Integration */
body {
  background: transparent;
}

main {
  background: rgba(249, 250, 251, 0.8);
  backdrop-filter: blur(10px);
}

html {
  overflow-y: scroll;
}
