/* ============================================
   RIZZIO DISCO PARTY CASINO THEME
   Custom CSS for animations, keyframes & prose
   ============================================ */

/* === KEYFRAME ANIMATIONS === */

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.6);
  }
}

@keyframes neon-flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

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

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

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

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

/* === GLOW EFFECTS === */

.glow-primary {
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), 0 0 40px rgba(255, 0, 255, 0.4);
}

.glow-secondary {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.4);
}

.glow-accent {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
}

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

.neon-text {
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.8), 0 0 20px rgba(255, 0, 255, 0.6), 0 0 30px rgba(255, 0, 255, 0.4);
}

.neon-text-cyan {
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4);
}

/* === MARQUEE ANIMATION === */

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

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

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

/* === PARALLAX LAYERS === */

.parallax-layer {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* === ISLAND COMPONENTS === */

.island {
  background: rgba(20, 20, 40, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 2px solid rgba(255, 0, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 255, 0.2);
}

.island-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 2px solid rgba(255, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 0, 255, 0.15);
}

/* === DISCO BACKGROUND PATTERNS === */

.disco-bg {
  background: linear-gradient(135deg, #1a0033 0%, #0d001a 50%, #1a0033 100%);
  position: relative;
}

.disco-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.disco-dots {
  background-image: radial-gradient(circle, rgba(255, 0, 255, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* === GAME CARD HOVER EFFECTS === */

.game-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

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

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

/* === BUTTON STYLES === */

.btn-primary {
  background: linear-gradient(135deg, #ff00ff 0%, #ff0080 100%);
  border-radius: 50px;
  padding: 16px 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 255, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
  border-radius: 50px;
  padding: 16px 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
}

/* === BADGE STYLES === */

.bonus-badge {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

.step-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff 0%, #ff0080 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.5);
}

/* === TRUSTPILOT STYLES === */

.trustpilot-star {
  color: #00b67a;
  filter: drop-shadow(0 2px 4px rgba(0, 182, 122, 0.3));
}

/* === PROSE STYLING FOR READABILITY === */

.prose {
  max-width: 75ch;
  line-height: 1.7;
}

.prose h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.prose p {
  margin-bottom: 1.25em;
  font-size: 1.125rem;
}

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

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

.prose strong {
  font-weight: 700;
  color: #ff00ff;
}

.prose a {
  color: #00ffff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #ff00ff;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  border-radius: 12px;
  overflow: hidden;
}

.prose th {
  background: linear-gradient(135deg, #ff00ff 0%, #ff0080 100%);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 0, 255, 0.1);
}

.prose tr:hover {
  background: rgba(255, 0, 255, 0.05);
}

/* === RESPONSIVE UTILITIES === */

@media (max-width: 1024px) {
  .island {
    border-radius: 20px;
  }

  .bonus-badge {
    padding: 20px 28px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 32px;
  }
}

@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.75rem;
  }

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

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

  .step-badge {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* === SMOOTH SCROLL === */

html {
  scroll-behavior: smooth;
}

/* === LOADING SHIMMER === */

.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* === CALCULATOR STYLES === */

.calculator-input {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 0, 255, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.calculator-input:focus {
  outline: none;
  border-color: #ff00ff;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

/* === PAYMENT METHOD ICONS === */

.payment-icon {
  width: 80px;
  height: 50px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.payment-icon:hover {
  transform: scale(1.05);
}
