/* CasinoLoots Custom CSS - Loot Box Casino Vibe */

:root {
  --bg-dark: #1a1a1f;
  --bg-darker: #0f0f14;
  --accent-yellow: #ffd700;
  --accent-yellow-bright: #ffed4e;
  --text-light: #e8e8ea;
  --text-gray: #a0a0a8;
  --gradient-box: linear-gradient(135deg, #2a2a35 0%, #1a1a25 100%);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

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

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes parallax-bg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Loot Box Gradient Backgrounds */
.loot-gradient {
  background: linear-gradient(135deg, #2a2a35 0%, #1a1a25 100%);
  position: relative;
  overflow: hidden;
}

.loot-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
  animation: parallax-bg 20s ease infinite;
  background-size: 200% 200%;
  pointer-events: none;
}

/* CTA Button Styles */
.cta-btn {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffb700 100%);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

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

/* Game Card Styles */
.game-card {
  background: var(--gradient-box);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
  position: relative;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.2);
}

.game-card:hover::after {
  opacity: 1;
}

/* Badge Styles */
.badge {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--accent-yellow);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating Hero */
.hero-float {
  animation: float 6s ease-in-out infinite;
}

/* Provider Cloud Button */
.provider-btn {
  background: rgba(42, 42, 53, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 12px 24px;
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.provider-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

/* Marquee Animation */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 2rem;
  min-width: 100%;
  animation: marquee 30s linear infinite;
}

/* Prose Styling */
.prose {
  color: var(--text-light);
  line-height: 1.75;
}

.prose h2 {
  color: var(--accent-yellow);
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

.prose a {
  color: var(--accent-yellow);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: var(--accent-yellow-bright);
}

.prose strong {
  color: var(--text-light);
  font-weight: 600;
}

/* Table Styling */
.casino-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gradient-box);
  border-radius: 12px;
  overflow: hidden;
}

.casino-table th {
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-yellow);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.casino-table td {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-gray);
}

.casino-table tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* Sticky CTA Banner */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

/* Alert Banner */
.alert-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(153, 27, 27, 0.2) 100%);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 12px;
  padding: 16px 24px;
  color: #fca5a5;
}

/* Feature Cards */
.feature-card {
  background: var(--gradient-box);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Review Card */
.review-card {
  background: var(--gradient-box);
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid var(--accent-yellow);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Winner Table */
.winner-green {
  color: #4ade80;
  font-weight: 600;
}

.winner-red {
  color: #f87171;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-darker);
  z-index: 100;
  transition: right 0.3s ease;
  border-left: 1px solid rgba(255, 215, 0, 0.2);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Countdown Animation */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.countdown-text {
  animation: fade-in 0.5s ease;
}

/* CSS Pattern Backgrounds */
.pattern-dots {
  background-image: radial-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.pattern-grid {
  background-image: linear-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-float {
    animation: none;
  }

  .marquee-content {
    animation-duration: 20s;
  }
}
