html, body {
  overflow-x: hidden;
}

/* Custom animations and overrides */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

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

@keyframes cloverSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes mapleLeafFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(10px) rotate(360deg);
    opacity: 1;
  }
}

/* Parallax elements */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    /* add this so mobile has a baseline; .hidden still hides it */
    display: none;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 50;
  }

  .nav-menu.active {
    left: 0;
    /* add this to override .hidden */
    display: flex;
  }
}


.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

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

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

/* Maple Clover theme colors and gradients */
.bg-emerald-scarlet {
  background: linear-gradient(135deg, #10b981 0%, #ef4444 100%);
}

.bg-emerald-scarlet-soft {
  background: linear-gradient(135deg, #d1fae5 0%, #fee2e2 100%);
}

.text-emerald-scarlet {
  background: linear-gradient(135deg, #10b981 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Clover and maple leaf decorative elements */
.clover-decoration::before {
  content: "🍀";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  animation: cloverSpin 4s ease-in-out infinite;
}

.maple-decoration::after {
  content: "🍁";
  position: absolute;
  bottom: -5px;
  left: -5px;
  font-size: 1.2rem;
  animation: mapleLeafFall 3s ease-in-out infinite;
}

/* Bonus badge styling */
.bonus-badge {
  position: relative;
  background: linear-gradient(135deg, #10b981 0%, #ef4444 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
  transform: perspective(1000px) rotateX(5deg);
  transition: transform 0.3s ease;
}

.bonus-badge:hover {
  transform: perspective(1000px) rotateX(0deg) scale(1.05);
}

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

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

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

/* Prose styling for readability */
.prose {
  line-height: 1.7;
  color: #374151;
}

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

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

.prose ul {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th,
.prose td {
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  text-align: left;
}

.prose th {
  background-color: #f9fafb;
  font-weight: 600;
}

/* Sticky navigation */
.sticky-nav {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

/* Mobile burger menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: #374151;
  margin: 3px 0;
  transition: 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 1023px) {
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 50;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }
}

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

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

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

/* CTA button styles */
.cta-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  color: white;
  text-decoration: none;
}

.cta-secondary {
  background: transparent;
  color: #10b981;
  padding: 1rem 2rem;
  border: 2px solid #10b981;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: #10b981;
  color: white;
  text-decoration: none;
}

/* Wagering disclaimer */
.wagering-disclaimer {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
  font-style: italic;
}

/* FAQ styling */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1f2937;
}

.faq-answer {
  margin-top: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Step guide styling */
.step-badge {
  background: linear-gradient(135deg, #10b981 0%, #ef4444 100%);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Payment method icons */
.payment-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Responsible gaming badges */
.responsible-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 8px;
  margin: 0.25rem;
  font-size: 0.875rem;
  color: #374151;
}
