/* Cuppawins Custom Styles */

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

/* Prose readability */
.prose {
  max-width: 75ch;
  line-height: 1.75;
}

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

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

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

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

/* Animation 1: Shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(250, 204, 21, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #facc15 0%,
    #fef08a 25%,
    #facc15 50%,
    #fef08a 75%,
    #facc15 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
}

/* Animation 2: Float effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

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

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

/* Glow effects */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.6);
  }
}

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

.glow-yellow {
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.25);
}

/* CTA button styles */
.cta-primary {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
}

.cta-secondary {
  border: 2px solid #facc15;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(250, 204, 21, 0.1);
  transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Slot card specific */
.slot-card {
  position: relative;
  overflow: hidden;
}

.slot-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.slot-card:hover img {
  transform: scale(1.08);
}

.slot-card img {
  transition: transform 0.4s ease;
}

/* Badge styles */
.badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.badge-popular {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

/* Tab styles */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #facc15;
  color: #000;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Table styles */
.payment-table {
  border-collapse: separate;
  border-spacing: 0;
}

.payment-table th {
  background: rgba(250, 204, 21, 0.1);
  border-bottom: 2px solid rgba(250, 204, 21, 0.3);
}

.payment-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-table tr:hover td {
  background: rgba(250, 204, 21, 0.05);
}

/* Live bets table */
.bet-win {
  color: #22c55e;
}

.bet-lose {
  color: #ef4444;
}

/* Review stars */
.star-filled {
  color: #facc15;
}

.star-empty {
  color: #4b5563;
}

/* Provider pill */
.provider-pill {
  transition: all 0.3s ease;
}

.provider-pill:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

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

/* iOS rounded styles */
.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);
}

/* Gradient backgrounds */
.gradient-dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #171717 100%);
}

.gradient-card {
  background: linear-gradient(145deg, rgba(38, 38, 38, 0.8) 0%, rgba(23, 23, 23, 0.9) 100%);
}

/* FAQ accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-content {
  max-height: 300px;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 1rem;
  background: #facc15;
  color: #000;
}

.skip-link:focus {
  top: 0;
}

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

::-webkit-scrollbar-track {
  background: #171717;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #525252;
}

/* ====== SECTION ACCENT BACKGROUNDS ====== */
.section-games {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, transparent 100%);
}

.section-about {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.04) 0%, transparent 100%);
}

.section-review {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.04) 0%, transparent 100%);
}

.section-countries {
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.04) 0%, transparent 100%);
}

.section-author {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.04) 0%, transparent 100%);
}

.section-faq {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.04) 0%, transparent 100%);
}

/* ====== REVIEW CARD (shared dashboard style) ====== */
.review-card {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ====== COUNTRIES SLIDER ====== */
.countries-slider-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.countries-slider {
  display: flex;
  gap: 1.5rem;
  animation: countries-scroll 30s linear infinite;
  width: max-content;
}

.countries-slider:hover {
  animation-play-state: paused;
}

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

.country-flag-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 130px;
  transition: all 0.3s ease;
}

.country-flag-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 63, 94, 0.3);
  transform: translateY(-4px);
}
