/* Casea Casino - Custom Styles */
/* Egypt Gods Casino Vibe - Dark Purple + Vivid Pink */

:root {
  --bg-primary: #1a0a2e;
  --bg-secondary: #2d1b4e;
  --bg-card: #3d2a5f;
  --accent-pink: #ff2d7a;
  --accent-pink-hover: #ff5a9d;
  --accent-gold: #ffd700;
  --text-primary: #f8f4ff;
  --text-muted: #b8a8d4;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #2a1045 50%, var(--bg-primary) 100%);
  min-height: 100vh;
}

/* Prose Readability */
.prose-casino {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-casino p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

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

.prose-casino li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* ========== SHIMMER ANIMATION ========== */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.shimmer-effect {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 215, 0, 0.15) 25%,
    rgba(255, 45, 122, 0.2) 50%,
    rgba(255, 215, 0, 0.15) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

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

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--bg-card) 0%,
    var(--accent-gold) 25%,
    var(--accent-pink) 50%,
    var(--accent-gold) 75%,
    var(--bg-card) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ========== FLOAT ANIMATION ========== */
@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(2deg);
  }
}

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

.float-animation-slow {
  animation: float-slow 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; }
.float-delay-4 { animation-delay: 2s; }

/* ========== GLOW EFFECTS ========== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 45, 122, 0.4), 0 0 40px rgba(255, 45, 122, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 45, 122, 0.6), 0 0 60px rgba(255, 45, 122, 0.3);
  }
}

.glow-pink {
  box-shadow: 0 0 20px rgba(255, 45, 122, 0.4);
}

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

.glow-gold {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* ========== BUTTON STYLES ========== */
.btn-cta {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #e91e63 100%);
  color: white;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--accent-pink-hover) 0%, #f06292 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 122, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

/* ========== CARD STYLES ========== */
.card-casino {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.card-casino:hover {
  border-color: rgba(255, 45, 122, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ========== PILL/CHIP STYLES ========== */
.pill-nav {
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 215, 0, 0.15);
  transition: all 0.25s ease;
}

.pill-nav:hover {
  background: var(--accent-pink);
  color: white;
  border-color: var(--accent-pink);
}

/* ========== TAB STYLES ========== */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.75rem 0.75rem 0 0;
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid transparent;
  border-bottom: none;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--accent-gold);
  border-color: rgba(255, 215, 0, 0.2);
}

.tab-content {
  display: none;
  background: var(--bg-card);
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

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

/* ========== TABLE STYLES ========== */
.table-casino {
  width: 100%;
  border-collapse: collapse;
}

.table-casino th {
  background: var(--bg-secondary);
  color: var(--accent-gold);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  font-size: 0.875rem;
}

.table-casino td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.table-casino tr:hover td {
  background: rgba(255, 45, 122, 0.05);
}

/* ========== BADGE STYLES ========== */
.badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.badge-jackpot {
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: #1a0a2e;
}

.badge-bonus {
  background: linear-gradient(135deg, var(--accent-pink), #e91e63);
  color: white;
}

.badge-popular {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}

/* ========== SLOT CARD ========== */
.slot-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg-card);
}

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

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

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

/* ========== FAQ ACCORDION ========== */
.faq-item {
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--accent-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
}

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

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

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

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

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

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .prose-casino {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .table-casino {
    font-size: 0.8125rem;
  }
  
  .table-casino th,
  .table-casino td {
    padding: 0.75rem 0.5rem;
  }
}
