/* Complete CSS overhaul for bold artistic style with dark theme and vibrant accents */

/* Cookie Popup Styles */
.cookie-popup-a7c6f {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
  padding: 20px;
  max-width: 500px;
  width: 90%;
}

.cookie-popup-a7c6f.show-a7c6f {
  bottom: 20px;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #9333ea, #f59e0b);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed, #d97706);
}

/* Hero Text with 3D Wavy Effect */
.hero-text-a7c6f {
  text-shadow: 3px 3px 0 #9333ea, 6px 6px 0 #ec4899, 9px 9px 0 #f59e0b;
  animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: skewY(0deg);
  }
  50% {
    transform: skewY(-2deg);
  }
}

.hero-gradient-a7c6f {
  background: linear-gradient(135deg, #9333ea, #ec4899, #f59e0b, #eab308);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  display: inline-block;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Doodle Button with Hand-Drawn Feel */
.doodle-button-a7c6f {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doodle-button-a7c6f:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.doodle-button-a7c6f:active {
  transform: translate(0, 0) rotate(0deg);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}

/* Floating Animations */
.animate-float-a7c6f {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay-a7c6f {
  animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.animate-bounce-slow-a7c6f {
  animation: bounceSlow 3s ease-in-out infinite;
}

@keyframes bounceSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-spin-slow-a7c6f {
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Image Overlay Effects */
.image-overlay-a7c6f {
  position: relative;
  transition: transform 0.3s ease;
}

.image-overlay-a7c6f:hover {
  transform: scale(1.02);
}

/* Flip Card Animation */
.flip-card-a7c6f {
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner-a7c6f {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card-a7c6f.flipped-a7c6f .flip-card-inner-a7c6f {
  transform: rotateY(180deg);
}

.flip-card-front-a7c6f,
.flip-card-back-a7c6f {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
}

.flip-card-back-a7c6f {
  transform: rotateY(180deg);
}

/* Expandable Card Animation */
.expand-card-a7c6f {
  transition: all 0.4s ease;
  position: relative;
}

.expand-card-details-a7c6f {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.expand-card-a7c6f.expanded-a7c6f {
  transform: scale(1.05);
  z-index: 10;
}

.expand-card-a7c6f.expanded-a7c6f .expand-card-details-a7c6f {
  max-height: 300px;
  padding: 1.5rem;
}

/* Rotate Card on Hover */
.rotate-card-a7c6f {
  perspective: 1000px;
  height: 400px;
}

.rotate-card-inner-a7c6f {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.rotate-card-a7c6f:hover .rotate-card-inner-a7c6f {
  transform: rotateY(180deg);
}

.rotate-card-front-a7c6f,
.rotate-card-back-a7c6f {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

.rotate-card-front-a7c6f {
  position: relative;
}

.rotate-card-back-a7c6f {
  transform: rotateY(180deg);
}

/* Glitch Text Effect */
.glitch-text-a7c6f {
  position: relative;
  display: inline-block;
}

.glitch-text-a7c6f.glitching-a7c6f {
  animation: glitch 0.5s ease;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

/* Border Width Utilities */
.border-3-a7c6f {
  border-width: 3px;
}

/* Form Input Focus Animations */
input:focus,
textarea:focus {
  transform: translateY(-2px);
}

/* Button Hover Effects */
button:hover,
a:hover {
  transition: all 0.3s ease;
}

/* Custom Selection Color */
::selection {
  background: #fbbf24;
  color: #000;
}

::-moz-selection {
  background: #fbbf24;
  color: #000;
}

/* Accessibility Focus Styles */
*:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-text-a7c6f {
    font-size: 3rem;
    text-shadow: 2px 2px 0 #9333ea, 4px 4px 0 #ec4899, 6px 6px 0 #f59e0b;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .cookie-popup-a7c6f,
  header,
  footer {
    display: none;
  }
}
