/* Wintino Custom CSS - Neon City Casino Vibe */

/* Base Typography & Prose Readability */
.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #e2e8f0;
}

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

.prose h3 {
  color: #f1f5f9;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

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

.prose a {
  color: #22d3ee;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: #67e8f9;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #ec4899);
  border-radius: 4px;
}

/* ANIMATION 1: Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

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

.shimmer-border {
  position: relative;
  overflow: hidden;
}

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.3),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

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

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

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

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

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

.float-delayed {
  animation: float-delayed 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Glow Effects */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4),
                0 0 40px rgba(139, 92, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6),
                0 0 60px rgba(139, 92, 246, 0.3);
  }
}

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

@keyframes neon-flicker {
  0%, 100% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  93% {
    opacity: 0.8;
  }
  94% {
    opacity: 1;
  }
  96% {
    opacity: 0.9;
  }
  97% {
    opacity: 1;
  }
}

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

/* Button Hover Effects */
.btn-glow {
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.5),
              0 0 50px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(139, 92, 246, 0.2);
}

/* Gradient Borders */
.gradient-border {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  border-radius: 1rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6366f1, #ec4899, #22d3ee);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Tab Styling */
.tab-btn {
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

.tab-content {
  display: none;
}

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

/* Badge Styles */
.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
}

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

.badge-bonus {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.badge-popular {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Winner Card Overlay */
.winner-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    transparent 100%
  );
}

/* Mobile Menu Animation */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Smooth anchor scrolling handled by JS, but add scroll margin */
[id] {
  scroll-margin-top: 100px;
}

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

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

.provider-pill:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transform: scale(1.05);
}

/* Star Rating */
.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #475569;
}

/* Table Styling */
.casino-table {
  border-collapse: separate;
  border-spacing: 0;
}

.casino-table th {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
}

.casino-table tr:nth-child(even) td {
  background: rgba(30, 27, 75, 0.5);
}

.casino-table tr:hover td {
  background: rgba(99, 102, 241, 0.15);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.faq-question {
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #22d3ee;
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* Author Card */
.author-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Responsive Typography */
@media (max-width: 640px) {
  .prose {
    font-size: 1rem;
    line-height: 1.7;
  }
}
