/* Custom animations and overrides */
@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

@keyframes tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

/* Parallax elements */
.parallax-float {
  animation: parallax-float 6s ease-in-out infinite;
}

.parallax-slow {
  animation: parallax-float 8s ease-in-out infinite reverse;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

/* Corpse bride theme colors */
:root {
  --corpse-purple: #2d1b69;
  --corpse-blue: #1e3a8a;
  --corpse-dark: #0f0f23;
  --neon-pink: #ec4899;
  --neon-pink-light: #f472b6;
  --bone-white: #f8fafc;
  --shadow-gray: #374151;
}

/* Custom button styles */
.btn-neon-pink {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-pink-light));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  animation: pulse-glow 2s infinite;
}

.btn-neon-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-pink);
  border: 2px solid var(--neon-pink);
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--neon-pink);
  color: white;
  transform: translateY(-2px);
}

/* Corpse bride background */
body {
  background: linear-gradient(135deg, var(--corpse-dark) 0%, var(--corpse-purple) 50%, var(--corpse-blue) 100%);
  min-height: 100vh;
}

/* Glass morphism effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.glass-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

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

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus {
  outline: 2px solid var(--neon-pink);
  outline-offset: 2px;
}

/* Prose styling for content blocks */
.prose {
  color: var(--bone-white);
  line-height: 1.6;
}

.prose h2 {
  color: var(--neon-pink);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.prose ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

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

/* Game grid hover effects */
.game-card {
  transition: all 0.3s ease;
  animation: tilt 4s ease-in-out infinite;
}

.game-card:hover {
  transform: scale(1.05) rotate(0deg);
  animation-play-state: paused;
}

/* Sticky sidebar */
.sidebar-sticky {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0 16px 16px 0;
  padding: 1rem 0.5rem;
}

@media (max-width: 1024px) {
  .sidebar-sticky {
    display: none;
  }
}

/* Responsive utilities */
@media (max-width: 640px) {
  .btn-neon-pink,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--neon-pink);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 50;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}
