/* Custom animations and overrides */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

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

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 127, 80, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 127, 80, 0.6);
  }
}

/* Cat silhouette animations */
.cat-spin {
  animation: spin-slow 8s linear infinite;
}

.cat-spin-reverse {
  animation: spin-reverse 12s linear infinite;
}

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

.parallax-element {
  animation: parallax-float 4s ease-in-out infinite;
}

/* Gradient backgrounds */
.coral-teal-gradient {
  background: linear-gradient(135deg, #ff7f50 0%, #20b2aa 100%);
}

.coral-teal-gradient-soft {
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.1) 0%, rgba(32, 178, 170, 0.1) 100%);
}

/* Frosted glass effect */
.frosted-glass {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Radial glow effects */
.radial-glow {
  position: relative;
}

.radial-glow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: radial-gradient(circle, rgba(221, 160, 221, 0.3) 0%, transparent 70%);
  border-radius: inherit;
  z-index: -1;
}

/* Dotted texture overlay */
.dotted-texture {
  position: relative;
}

.dotted-texture::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Bonus badge styling */
.bonus-badge {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Prose styling for readability */
.prose {
  line-height: 1.7;
  color: #374151;
}

.prose h2 {
  color: #1f2937;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #ff7f50 0%, #ff6347 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 127, 80, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(32, 178, 170, 0.3);
}

/* Mobile navigation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Cat silhouette shapes using CSS */
.cat-silhouette {
  width: 60px;
  height: 60px;
  background: #ff7f50;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
}

.cat-silhouette::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 15px solid #ff7f50;
  transform: rotate(-20deg);
}

.cat-silhouette::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 15px solid #ff7f50;
  transform: rotate(20deg);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .parallax-element {
    animation: none;
  }
}
