/* SirBetalot Custom Styles */

/* ========================================
   ANIMATION KEYFRAMES: Shimmer + Float
   ======================================== */

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

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.6);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   SHIMMER EFFECT CLASSES
   ======================================== */

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

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

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

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* ========================================
   FLOAT EFFECT CLASSES
   ======================================== */

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

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

.float-fast {
  animation: float 2.5s 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
   ======================================== */

.glow-gold {
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
}

.glow-gold-hover:hover {
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.6);
}

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

/* ========================================
   PROSE READABILITY
   ======================================== */

.prose-casino {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 1rem;
}

.prose-casino h2 {
  color: #fbbf24;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-casino h3 {
  color: #f3f4f6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

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

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

.prose-casino a:hover {
  color: #fcd34d;
}

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

/* ========================================
   CARD STYLES
   ======================================== */

.card-casino {
  background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.card-casino:hover {
  border-color: rgba(234, 179, 8, 0.4);
  transform: translateY(-4px);
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #f59e0b;
  color: #f59e0b;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: scale(1.03);
}

/* ========================================
   TAB STYLES
   ======================================== */

.tab-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: #d1d5db;
}

.tab-btn.active {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fade-in-up 0.4s ease;
}

/* ========================================
   TABLE STYLES
   ======================================== */

.table-casino {
  width: 100%;
  border-collapse: collapse;
}

.table-casino th {
  background: rgba(31, 41, 55, 0.8);
  color: #fbbf24;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-casino td {
  padding: 1rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
  color: #d1d5db;
}

.table-casino tr:hover td {
  background: rgba(31, 41, 55, 0.4);
}

/* ========================================
   PILL / CHIP STYLES
   ======================================== */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 9999px;
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pill:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

/* ========================================
   BADGE STYLES
   ======================================== */

.badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

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

.badge-green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ========================================
   SLOT CARD STYLES
   ======================================== */

.slot-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #1f2937;
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.slot-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

.slot-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

/* ========================================
   STAR RATING
   ======================================== */

.stars {
  display: inline-flex;
  gap: 0.125rem;
}

.star {
  color: #fbbf24;
}

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

/* ========================================
   SCROLL BEHAVIOR
   ======================================== */

html {
  scroll-behavior: smooth;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

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

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

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

/* ========================================
   HERO PANEL
   ======================================== */

.hero-panel {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
}

/* ========================================
   FEATURE CARD
   ======================================== */

.feature-card {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.6) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(234, 179, 8, 0.3);
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ========================================
   GRADIENT CTA BANNER
   ======================================== */

.cta-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1e1e3f 100%);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.05) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

/* ========================================
   REVIEW CARD
   ======================================== */

.review-card {
  background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* ========================================
   AUTHOR CARD
   ======================================== */

.author-card {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 1rem;
}

/* ========================================
   TRUSTPILOT STYLE
   ======================================== */

.trustpilot-stars {
  display: inline-flex;
  gap: 2px;
}

.trustpilot-star {
  width: 24px;
  height: 24px;
  background: #00b67a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trustpilot-star svg {
  width: 14px;
  height: 14px;
  fill: white;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 768px) {
  .prose-casino h2 {
    font-size: 1.25rem;
  }
  
  .prose-casino h3 {
    font-size: 1.125rem;
  }
  
  .table-casino {
    font-size: 0.875rem;
  }
  
  .table-casino th,
  .table-casino td {
    padding: 0.75rem 0.5rem;
  }
}
