/* Wagerland Custom Styles - Alice in Wonderland Dark Casino Theme */

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

/* Prose Styling for Readability */
.prose {
  max-width: 65ch;
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1.25em;
  color: rgba(255, 255, 255, 0.85);
}

.prose h2 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: 700;
  color: #fff;
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-weight: 600;
  color: #fff;
}

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

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

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

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

.prose th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

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

/* Keyframe Animations */

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

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

.parallax-float-delayed {
  animation: parallax-float 6s ease-in-out infinite;
  animation-delay: 2s;
}

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

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 2rem;
  min-width: 100%;
  animation: marquee 30s linear infinite;
}

/* Glow Effect */
@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.7), 0 0 60px rgba(147, 51, 234, 0.5);
  }
}

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

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Gradient Backgrounds */
.gradient-wonderland {
  background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%);
}

.gradient-purple-dark {
  background: linear-gradient(135deg, #4c1d95 0%, #2d1b4e 100%);
}

.gradient-blue-dark {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
}

.gradient-emerald-dark {
  background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
}

/* iOS Style Rounded Sections */
.ios-card {
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bonus Badge Styling */
.bonus-badge {
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu.hidden {
  transform: translateX(-100%);
  opacity: 0;
}

/* Bottom Island Menu */
.bottom-island {
  backdrop-filter: blur(20px);
  background: rgba(30, 11, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

/* Trustpilot Star */
.star-filled {
  color: #00b67a;
}

/* Game Card Overlay */
.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::after {
  opacity: 1;
}

.game-card-cta {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.game-card:hover .game-card-cta {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Calculator Styling */
.calculator-result {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* Wonderland Decorative Elements */
.chess-pattern {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

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

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
  background: #4c1d95;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7c3aed;
}
