/* Custom Variables */
:root {
  --primary: #1b2e47;
  --glow: #e1da00;
}

.bg-primary {
  background-color: var(--primary);
}

.text-glow {
  color: var(--glow);
}

.bg-glow {
  background-color: var(--glow);
}

/* Glow Effects */
.glow-text {
  text-shadow: 0 0 20px rgba(251, 249, 193, 0.5), 0 0 40px rgba(251, 249, 193, 0.3);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(125, 121, 0, 0.6), 0 0 40px rgba(251, 249, 193, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.shadow-glow {
  box-shadow: 0 0 30px rgba(251, 249, 193, 0.3);
}

/* Pulse Animation */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(251, 249, 193, 0.6), 0 0 40px rgba(251, 249, 193, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(251, 249, 193, 0.8), 0 0 60px rgba(251, 249, 193, 0.6), 0 4px 30px rgba(0, 0, 0, 0.4);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

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

/* Parallax Tilt Effect */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* CTA Banner Transition */
.cta-banner {
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Spin Animation */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

.wheel-container {
  position: relative;
  transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

/* Prose Styling for Readability */
.prose {
  line-height: 1.7;
}

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

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

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.prose strong {
  font-weight: 700;
  color: var(--glow);
}

.prose a {
  color: var(--glow);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.prose a:hover {
  opacity: 0.8;
}

/* Smooth Transitions */
* {
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-hero {
    animation: none;
  }

  .glow-text {
    text-shadow: 0 0 10px rgba(251, 249, 193, 0.4);
  }
}

/* Details/Summary Styling */
details summary {
  transition: all 0.2s ease;
}

details[open] summary {
  color: var(--glow);
}

details summary::-webkit-details-marker {
  color: var(--glow);
}

/* Gradient Animations */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Selection Color */
::selection {
  background-color: var(--glow);
  color: var(--primary);
}
