/* Golisimo Casino - Custom CSS */
/* Animations: Shimmer + Float */

:root {
  --bg-dark: #1a0f0a;
  --bg-card: #2d1810;
  --bg-card-hover: #3d2218;
  --pink-primary: #ff4d8d;
  --pink-glow: #ff6b9d;
  --pink-light: #ff8fb3;
  --gold-accent: #ffd700;
  --text-primary: #fff;
  --text-muted: #c4a68a;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse at 20% 20%, rgba(255, 77, 141, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

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

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--pink-primary) 0%,
    var(--gold-accent) 50%,
    var(--pink-primary) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s infinite linear;
}

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

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

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

.float-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;
}

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 77, 141, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 77, 141, 0.7), 0 0 60px rgba(255, 77, 141, 0.3);
  }
}

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

/* Disco Ball Effect */
@keyframes disco-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.disco-ball::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 77, 141, 0.1) 30deg,
    transparent 60deg
  );
  animation: disco-spin 20s linear infinite;
  pointer-events: none;
}

/* Card Styles */
.card-disco {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid rgba(255, 77, 141, 0.2);
  transition: all 0.3s ease;
}

.card-disco:hover {
  border-color: var(--pink-primary);
  box-shadow: 0 8px 32px rgba(255, 77, 141, 0.25);
  transform: translateY(-4px);
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--pink-primary), #e6447d);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-cta:hover::after {
  transform: translateX(100%);
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(255, 77, 141, 0.5);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(255, 77, 141, 0.15);
  border: 1px solid var(--pink-primary);
  color: var(--pink-light);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 77, 141, 0.3);
}

/* Pill/Chip Navigation */
.pill-nav {
  background: var(--bg-card);
  border: 1px solid rgba(255, 77, 141, 0.3);
  color: var(--text-muted);
  transition: all 0.25s ease;
}

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

/* Badge Styles */
.badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.badge-popular {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

/* Table Styles */
.table-disco {
  border-collapse: separate;
  border-spacing: 0;
}

.table-disco th {
  background: var(--bg-card);
  color: var(--pink-light);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--pink-primary);
}

.table-disco td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 77, 141, 0.15);
  color: var(--text-muted);
}

.table-disco tr:hover td {
  background: rgba(255, 77, 141, 0.05);
}

/* Tab Styles */
.tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 77, 141, 0.3);
  color: var(--text-muted);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  color: white;
}

.tab-btn:hover:not(.active) {
  border-color: var(--pink-primary);
  color: var(--pink-light);
}

.tab-content {
  display: none;
}

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

/* Prose Readability */
.prose-casino {
  max-width: 72ch;
  line-height: 1.75;
}

.prose-casino h2 {
  color: var(--pink-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 77, 141, 0.3);
}

.prose-casino h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

.prose-casino ul, .prose-casino ol {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.prose-casino strong {
  color: var(--pink-light);
}

/* Slot Card */
.slot-card {
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.slot-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 77, 141, 0.3);
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26, 15, 10, 0.95));
  padding: 16px;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid rgba(255, 77, 141, 0.2);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

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

.faq-question:hover {
  background: rgba(255, 77, 141, 0.1);
}

.faq-answer {
  padding: 0 20px 16px;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

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

/* Author Card */
.author-card {
  background: linear-gradient(145deg, var(--bg-card), rgba(45, 24, 16, 0.8));
  border: 1px solid rgba(255, 77, 141, 0.3);
  border-radius: 20px;
}

/* Trust Badges */
.trust-badge {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 77, 141, 0.2);
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

/* Comparison Box */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 77, 141, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-col {
  background: var(--bg-card);
  padding: 20px;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: -12px;
  width: 2px;
  background: rgba(255, 77, 141, 0.3);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--pink-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

/* Gradient Panel */
.gradient-panel {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 77, 141, 0.15) 100%);
  border: 1px solid rgba(255, 77, 141, 0.3);
}

/* Stars */
.star-filled {
  color: var(--gold-accent);
}

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

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

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

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

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

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
