@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --casino-void: #050208;
  --casino-dark: #0a0512;
  --casino-surface: #130c1f;
  --neon-gold: #ffd700;
  --neon-purple: #8b5cf6;
  --neon-pink: #ff1493;
  --neon-blue: #00d4ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--casino-void);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Premium scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--casino-void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-gold));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-gold), var(--neon-purple));
}

/* ========================================
   IMMERSIVE BACKGROUND EFFECTS
   ======================================== */

.casino-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 20, 147, 0.1), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 215, 0, 0.08), transparent),
    linear-gradient(180deg, #050208 0%, #0a0512 50%, #050208 100%);
  background-attachment: fixed;
}

.casino-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10L55 25L70 25L58 35L63 50L50 40L37 50L42 35L30 25L45 25L50 10Z' fill='rgba(139,92,246,0.015)'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.spotlight-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.spotlight {
  position: absolute;
  width: 200px;
  height: 600px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.03), transparent);
  animation: spotlight 12s ease-in-out infinite;
  transform: rotate(25deg);
}

.spotlight:nth-child(2) {
  animation-delay: -4s;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.spotlight:nth-child(3) {
  animation-delay: -8s;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.03), transparent);
}

@keyframes spotlight {
  0%, 100% { left: -200px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% + 200px); opacity: 0; }
}

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

.casino-card {
  background: linear-gradient(145deg, rgba(19, 12, 31, 0.9), rgba(10, 5, 18, 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.casino-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;  
}

.casino-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.casino-card:hover::before { opacity: 1; }

.casino-card-premium {
  background: linear-gradient(145deg, rgba(26, 10, 46, 0.95), rgba(10, 5, 18, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1), inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

.casino-card-premium:hover {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.15);
}

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

.btn-neon {
  position: relative;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-neon-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #0a0512;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-neon-gold:hover {
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.btn-neon-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-neon-purple:hover {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   DECORATIVE ELEMENTS
   ======================================== */

.floating-chip {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #8b5cf6 0deg 90deg, #ffd700 90deg 180deg, #8b5cf6 180deg 270deg, #ffd700 270deg 360deg);
  opacity: 0.15;
  animation: chip-spin 20s linear infinite, float 8s ease-in-out infinite;
}

.floating-chip::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--casino-dark);
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
}

.text-neon-gold {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
}

.text-neon-purple {
  color: #a78bfa !important;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   RATING STARS
   ======================================== */

.star-filled {
  color: #ffd700;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.star-empty {
  color: rgba(255, 215, 0, 0.2);
}

/* ========================================
   GLASS ELEMENTS
   ======================================== */

.glass-panel {
  background: rgba(19, 12, 31, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 16px;
}

.glass-badge {
  background: rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   SUIT ICONS
   ======================================== */

.suit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 28px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}

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

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

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

/* ========================================
   SECTION STYLES
   ======================================== */

.section-glow {
  position: relative;
}

.section-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

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

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

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

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

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

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

@keyframes float-rotate-4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(25px) rotate(-10deg); }
}

.float-card {
  position: absolute;
  pointer-events: none;
  opacity: 0.03;
}

.float-card-1 { animation: float-rotate-1 8s ease-in-out infinite; }
.float-card-2 { animation: float-rotate-2 10s ease-in-out 2s infinite; }
.float-card-3 { animation: float-rotate-3 9s ease-in-out 1s infinite; }
.float-card-4 { animation: float-rotate-4 11s ease-in-out 3s infinite; }

.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* ========================================
   GRADIENT UNDERLINE (hero)
   ======================================== */

.gradient-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(to right, #ffd700, #8b5cf6);
  animation: expand-width 0.8s 0.5s ease both;
  transform-origin: left;
}

@keyframes expand-width {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.casino-table {
  background: rgba(10, 5, 18, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.casino-table th {
  background: rgba(139, 92, 246, 0.1);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #a78bfa;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.casino-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.05);
}

.casino-table tr:last-child td { border-bottom: none; }

.casino-table tr:hover td {
  background: rgba(139, 92, 246, 0.05);
}

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

@media (max-width: 768px) {
  .casino-card:hover { transform: translateY(-4px); }
}

/* ========================================
   FOCUS STATES
   ======================================== */

button:focus-visible,
a:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}
