/* Reelduck 8-bit Duck Hunt Casino Theme - Custom Styles */

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.9);
  }
}

@keyframes pixel-flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes duck-hop {
  0%,
  100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-15px) scaleY(0.9);
  }
}

@keyframes retro-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* Utility Classes */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

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

.pixel-flash {
  animation: pixel-flash 1.5s ease-in-out infinite;
}

.slide-up {
  animation: slide-up 0.6s ease-out forwards;
}

.tilt-animation {
  animation: tilt 4s ease-in-out infinite;
}

.duck-hop {
  animation: duck-hop 1.2s ease-in-out infinite;
}

.retro-blink {
  animation: retro-blink 1s step-start infinite;
}

/* Marquee Container */
.marquee-container {
  overflow: hidden;
  position: relative;
}

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

.marquee-content:hover {
  animation-play-state: paused;
}

/* 8-bit Pixel Font Effect */
.pixel-text {
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* Retro Grid Pattern Background */
.retro-grid {
  background-image: linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Duck Hunt Sky Gradient */
.duck-hunt-sky {
  background: linear-gradient(180deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
}

/* 8-bit Button Style */
.pixel-button {
  position: relative;
  border: 4px solid currentColor;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3), inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0
    rgba(255, 255, 255, 0.2);
  transition: all 0.1s ease;
}

.pixel-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3), inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0
    rgba(255, 255, 255, 0.2);
}

/* Game Card Hover 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(59, 130, 246, 0.3);
}

/* Grass Pattern */
.grass-pattern {
  background: repeating-linear-gradient(0deg, #22543d 0px, #22543d 2px, #276749 2px, #276749 4px);
}

/* Prose Styling for Readability */
.prose {
  color: #e2e8f0;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #3b82f6;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1 {
  font-size: 2.25em;
  line-height: 1.1;
}

.prose h2 {
  font-size: 1.875em;
  line-height: 1.2;
}

.prose h3 {
  font-size: 1.5em;
  line-height: 1.3;
}

.prose p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.prose ul,
.prose ol {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose strong {
  color: #60a5fa;
  font-weight: 600;
}

.prose a {
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #60a5fa;
}

.prose table {
  width: 100%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  border-collapse: collapse;
}

.prose th {
  background-color: #1e293b;
  color: #3b82f6;
  padding: 0.75em;
  text-align: left;
  border: 2px solid #334155;
}

.prose td {
  padding: 0.75em;
  border: 1px solid #334155;
}

.prose tr:nth-child(even) {
  background-color: rgba(30, 41, 59, 0.3);
}

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Wheel of Luck Styles */
.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #3b82f6;
  position: relative;
  transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
  background: conic-gradient(
    from 0deg,
    #3b82f6 0deg 45deg,
    #8b5cf6 45deg 90deg,
    #ec4899 90deg 135deg,
    #f59e0b 135deg 180deg,
    #10b981 180deg 225deg,
    #3b82f6 225deg 270deg,
    #8b5cf6 270deg 315deg,
    #ec4899 315deg 360deg
  );
}

.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #f59e0b;
}

/* Crosshair Cursor for Duck Hunt Theme */
.duck-hunt-cursor {
  cursor: crosshair;
}

/* Star Rating */
.star-rating {
  color: #f59e0b;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.badge-high-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.badge-bonus-buy {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
}
