/* Custom animations and overrides for Monoplay Casino */

/* Pulse Jackpot Theme Keyframes */
@keyframes pulse-jackpot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.8);
  }
}

@keyframes shockwave {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

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

@keyframes electric-glow {
  0%,
  100% {
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 30px #00bfff;
  }
  50% {
    text-shadow: 0 0 20px #ff1493, 0 0 30px #ff1493, 0 0 40px #ff1493;
  }
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Theme Colors */
:root {
  --electric-blue: #00bfff;
  --fuchsia: #ff1493;
  --chrome: #c0c0c0;
  --dark-bg: #0a0a0a;
  --pulse-primary: linear-gradient(135deg, var(--electric-blue), var(--fuchsia));
}

/* Base Styles */
body,
html {
  overflow: auto !important;
  scroll-behavior: smooth;
}

/* Pulse Jackpot Elements */
.pulse-jackpot {
  animation: pulse-jackpot 2s ease-in-out infinite;
  background: var(--pulse-primary);
  border: 2px solid var(--chrome);
}

.shockwave-effect::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid var(--electric-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: shockwave 2s ease-out infinite;
}

.electric-text {
  animation: electric-glow 3s ease-in-out infinite;
  color: var(--electric-blue);
}

.heartbeat-jackpot {
  animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* Chrome edges */
.chrome-edge {
  border: 3px solid var(--chrome);
  box-shadow: inset 0 0 10px rgba(192, 192, 192, 0.3);
}

/* Custom Button Styles */
.btn-primary {
  background: var(--pulse-primary);
  border: 2px solid var(--chrome);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--electric-blue);
  color: var(--electric-blue);
  font-weight: bold;
}

.btn-secondary:hover {
  background: var(--electric-blue);
  color: white;
}

/* Bonus Badge */
.bonus-badge {
  position: relative;
  background: var(--pulse-primary);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, var(--fuchsia), transparent 30%);
  animation: spin 4s linear infinite;
}

.bonus-badge > * {
  position: relative;
  z-index: 2;
}

/* Game Cards */
.game-card {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--chrome);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 191, 255, 0.3);
}

.game-card::after {
  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;
}

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

/* Navigation */
.nav-sticky {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--electric-blue);
}

.burger-menu {
  background: rgba(0, 0, 0, 1) !important;
}

/* Responsive Typography */
.prose {
  max-width: 100%;
  line-height: 1.6;
  color: #e0e0e0;
}

.prose h2 {
  color: var(--electric-blue);
  font-weight: bold;
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem 0;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.prose h3 {
  color: var(--fuchsia);
  font-weight: bold;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  text-shadow: 0 0 8px rgba(255, 20, 147, 0.3);
}

.prose p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li::marker {
  color: var(--electric-blue);
}

.prose ol li::marker {
  color: var(--fuchsia);
  font-weight: bold;
}

.prose table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--chrome);
  border-radius: 10px;
  overflow: hidden;
  overflow-x: auto;
}

.prose th {
  background: var(--pulse-primary);
  color: white;
  font-weight: bold;
  padding: 1rem;
  text-align: left;
}

.prose td {
  padding: 1rem;
  border-bottom: 1px solid rgba(192, 192, 192, 0.2);
  color: #e0e0e0;
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose blockquote {
  border-left: 4px solid var(--electric-blue);
  background: rgba(0, 191, 255, 0.1);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #b0e0ff;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  border: 2px solid var(--chrome);
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
}

.prose strong {
  color: var(--fuchsia);
  font-weight: bold;
}

.prose em {
  color: var(--electric-blue);
  font-style: italic;
}

.prose a {
  color: var(--electric-blue);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: var(--fuchsia);
  text-shadow: 0 0 5px rgba(255, 20, 147, 0.5);
}

/* Responsive prose adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem 0;
  }

  .prose h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
  }

  .prose table {
    font-size: 0.9rem;
  }

  .prose th,
  .prose td {
    padding: 0.75rem;
  }
}

/* Container Max Width */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1440px) {
  .container {
    padding: 0 2rem;
  }
}
