/* Slotmaster Casino Theme - Custom Styles */

:root {
  --hero-blue: #0a1f44;
  --blue-dark: #0d1b2a;
  --blue-mid: #1b3a5f;
  --lime: #c4f82a;
  --lime-glow: #d4ff3e;
  --gold: #ffd700;
  --red: #ff3366;
  --green: #00ff88;
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(196, 248, 42, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(196, 248, 42, 0.8), 0 0 60px rgba(196, 248, 42, 0.4);
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes comic-pop {
  0% {
    transform: scale(0.8) rotate(-5deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

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

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

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

/* Comic Book Effect */
.comic-border {
  border: 4px solid #000;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2), -2px -2px 0 rgba(255, 255, 255, 0.1);
}

/* Lime Glow Effect */
.lime-glow {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-glow) 100%);
  animation: pulse-glow 2s infinite;
}

/* Hero Float Animation */
.hero-float {
  animation: float 6s ease-in-out infinite;
}

/* Game Card Hover */
.game-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 248, 42, 0.3), transparent);
  transition: left 0.5s;
}

.game-card:hover::before {
  left: 100%;
}

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

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

.badge-jackpot {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  animation: pulse-glow 2s infinite;
}

.badge-rtp {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
}

.badge-bonus {
  background: linear-gradient(135deg, #ff3366 0%, #ff6b8a 100%);
  color: #fff;
}

/* Parallax Background */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

/* 3D Button Style */
.btn-3d {
  position: relative;
  transition: all 0.2s;
  box-shadow: 0 6px 0 #8ab800, 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
  box-shadow: 0 2px 0 #8ab800, 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(4px);
}

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

.prose h2 {
  color: var(--lime);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prose h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.prose ul {
  list-style-type: none;
  padding-left: 0;
}

.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.prose ul li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.prose a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.prose a:hover {
  border-bottom-color: var(--lime);
}

/* Gradient Backgrounds */
.bg-hero-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
}

.bg-comic-pattern {
  background-color: var(--blue-dark);
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(196, 248, 42, 0.03) 10px,
      rgba(196, 248, 42, 0.03) 20px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(196, 248, 42, 0.02) 10px,
      rgba(196, 248, 42, 0.02) 20px
    );
}

/* Sticky CTA Banner */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  animation: slide-in-right 0.5s ease-out;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  transition: right 0.3s ease;
  z-index: 60;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 55;
  display: none;
}

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

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

.wheel {
  animation: rotate-slow 20s linear infinite;
  transform-origin: center;
}

.wheel.spinning {
  animation: rotate-slow 2s cubic-bezier(0.17, 0.67, 0.12, 0.99) forwards;
}

/* Review Stars */
.star-rating {
  color: var(--gold);
  font-size: 1.25rem;
}

/* Table Styles */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
}

.table-custom th {
  background: var(--blue-mid);
  color: var(--lime);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.table-custom td {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.table-custom tr:hover td {
  background: rgba(196, 248, 42, 0.1);
}

/* Tilt Effect */
.tilt-effect {
  animation: tilt 3s ease-in-out infinite;
}

/* Comic Pop Animation */
.comic-pop {
  animation: comic-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-float {
    animation: none;
  }

  .prose h2 {
    font-size: 1.5rem;
  }

  .prose h3 {
    font-size: 1.25rem;
  }
}
