/* Golisimo Casino - Custom CSS */
/* Animation Keyframes & Overrides */

:root {
  --primary-green: #22c55e;
  --primary-green-dark: #16a34a;
  --primary-green-glow: rgba(34, 197, 94, 0.5);
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.4);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-green) var(--bg-dark);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Prose Styling for Readability */
.prose-casino {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 1rem;
}

.prose-casino h2 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-casino h3 {
  color: #f3f4f6;
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

.prose-casino ul,
.prose-casino ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

.prose-casino a {
  color: var(--primary-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-casino a:hover {
  color: #4ade80;
}

/* Pulse Animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--primary-green-glow), 0 0 40px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 30px var(--primary-green-glow), 0 0 60px rgba(34, 197, 94, 0.3), 0 0 80px rgba(34, 197, 94, 0.1);
  }
}

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

/* Fireball Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(2deg);
  }
  50% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

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

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

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

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

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

/* Tilt Card Effect */
.tilt-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-5px);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-green-glow);
}

/* Gold Glow for Featured */
@keyframes gold-pulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--gold-glow), 0 0 40px rgba(251, 191, 36, 0.2);
  }
  50% {
    box-shadow: 0 0 35px var(--gold-glow), 0 0 70px rgba(251, 191, 36, 0.3);
  }
}

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

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-green) 0%, #4ade80 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fire Gradient */
.fire-gradient {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 30%, #fbbf24 60%, #f97316 100%);
}

/* Hero Pattern Background */
.hero-pattern {
  background-color: #0f0f0f;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 60%);
}

/* Card Gradient */
.card-gradient {
  background: linear-gradient(145deg, #1a1a1a 0%, #111111 50%, #0d0d0d 100%);
}

/* Slot Card Hover */
.slot-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slot-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--primary-green-glow);
}

.slot-card:hover .slot-overlay {
  opacity: 1;
}

.slot-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Badge Styles */
.badge-rtp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

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

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

.badge-popular {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* CTA Button */
.cta-button {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--primary-green-glow);
}

/* Secondary Button */
.secondary-button {
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: var(--primary-green);
  color: #000;
  box-shadow: 0 0 20px var(--primary-green-glow);
}

/* Provider Button 3D */
.provider-btn {
  background: linear-gradient(145deg, #1f1f1f, #151515);
  box-shadow: 5px 5px 10px #0a0a0a, -5px -5px 10px #1a1a1a;
  transition: all 0.3s ease;
}

.provider-btn:hover {
  background: linear-gradient(145deg, #252525, #1a1a1a);
  box-shadow: 2px 2px 5px #0a0a0a, -2px -2px 5px #1a1a1a, 0 0 15px var(--primary-green-glow);
  color: var(--primary-green);
}

/* Feature Card */
.feature-card {
  background: linear-gradient(145deg, #161616, #0f0f0f);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

/* Review Card */
.review-card {
  background: linear-gradient(145deg, #1a1a1a, #111111);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Star Rating */
.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #374151;
}

/* Table Styling */
.casino-table {
  border-collapse: separate;
  border-spacing: 0;
}

.casino-table th {
  background: linear-gradient(145deg, #1f1f1f, #151515);
  color: #fff;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid var(--primary-green);
}

.casino-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d1d5db;
}

.casino-table tr:hover td {
  background: rgba(34, 197, 94, 0.05);
}

/* Sticky Header */
.sticky-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.9);
  transition: all 0.3s ease;
}

.sticky-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

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

/* Responsive Typography */
@media (max-width: 768px) {
  .prose-casino {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .prose-casino h2 {
    font-size: 1.5rem;
  }
  
  .prose-casino h3 {
    font-size: 1.2rem;
  }
}

/* Loading Shimmer */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Glow Border */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--primary-green), var(--gold), #ef4444, var(--primary-green));
  border-radius: inherit;
  z-index: -1;
  animation: border-rotate 3s linear infinite;
  background-size: 300% 300%;
}

@keyframes border-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll indicator */
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.bounce-down {
  animation: bounce-down 1.5s ease-in-out infinite;
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
