/* ============================================
   GOLDENCLOVER CUSTOM STYLES
   Clover Spark Theme - Glowing Neon Clovers
   ============================================ */

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

@keyframes glow-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6)) drop-shadow(0 0 16px rgba(16, 185, 129, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.8)) drop-shadow(0 0 24px rgba(16, 185, 129, 0.6));
  }
}

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

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

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

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

@keyframes burst {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-15px) translateX(10px);
  }
  50% {
    transform: translateY(-25px) translateX(-5px);
  }
  75% {
    transform: translateY(-10px) translateX(-15px);
  }
}

/* === UTILITY CLASSES === */

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

.spin-slow {
  animation: spin-slow 20s linear infinite;
}

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

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

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

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

/* === MARQUEE CONTAINER === */

.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;
}

/* === CLOVER DECORATIONS === */

.clover-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  filter: blur(1px);
}

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

.neon-border {
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3), inset 0 0 10px rgba(16, 185, 129, 0.2);
}

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

.gold-glow {
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4), 0 0 40px rgba(251, 191, 36, 0.2);
}

/* === GRADIENT OVERLAYS === */

.emerald-gradient {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
}

.clover-gradient {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 25%, #047857 50%, #059669 75%, #10b981 100%);
}

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

.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #1f2937;
  font-size: 1rem;
}

.prose h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-top: 2.5em;
  margin-bottom: 1em;
  color: #064e3b;
  line-height: 1.3;
}

.prose h3 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.75em;
  color: #065f46;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.5em;
  color: #374151;
}

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

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5em;
  color: #374151;
  line-height: 1.6;
}

.prose li::marker {
  color: #10b981;
}

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

.prose em {
  font-style: italic;
  color: #047857;
}

.prose a {
  color: #059669;
  text-decoration: underline;
  text-decoration-thickness: 0.0625em;
  text-underline-offset: 0.125em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.prose a:hover {
  color: #10b981;
  text-decoration-color: #10b981;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 2em;
  margin-bottom: 2em;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.prose blockquote {
  border-left: 0.25rem solid #10b981;
  padding-left: 1.5em;
  margin-left: 0;
  margin-right: 0;
  margin-top: 2em;
  margin-bottom: 2em;
  font-style: italic;
  color: #4b5563;
  background-color: #f0fdf4;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 1em;
  border-radius: 0.25rem;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.9375em;
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
}

.prose thead {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.prose th {
  padding: 0.875em 1em;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  border: none;
}

.prose td {
  padding: 0.875em 1em;
  border-bottom: 0.0625rem solid #d1fae5;
  color: #374151;
}

.prose tbody tr {
  transition: background-color 0.2s ease;
}

.prose tbody tr:nth-child(even) {
  background-color: #f0fdf4;
}

.prose tbody tr:hover {
  background-color: #d1fae5;
}

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

/* === TABLE RESPONSIVE WRAPPER === */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.table-responsive table {
  min-width: 37.5rem;
}

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

html {
  scroll-behavior: smooth;
}

/* === BURGER MENU === */

.burger-line {
  transition: all 0.3s ease;
}

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

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

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

/* === MOBILE MENU === */

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

/* === BONUS BADGE === */

.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(251, 191, 36, 0.1), transparent);
  animation: shimmer 3s infinite;
}

/* === CTA BUTTONS === */

.cta-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* === GAME CARDS === */

.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

/* === STEP BADGES === */

.step-badge {
  position: relative;
  z-index: 1;
}

.step-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.3), transparent);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: burst 2s ease-in-out infinite;
}

/* === FAQ ACCORDION === */

.faq-item {
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
  max-height: 500px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* === PROMO CARDS === */

.promo-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.promo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
  transition: left 0.5s ease;
}

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

.promo-card:hover {
  transform: scale(1.02);
}

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

.payment-icon {
  transition: transform 0.2s ease;
}

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

/* === PROVIDER CLOUD === */

.provider-tag {
  transition: all 0.2s ease;
}

.provider-tag:hover {
  background-color: #10b981;
  color: white;
  transform: translateY(-2px);
}

/* === DISCLAIMER === */

.disclaimer {
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0.8;
}
