/* Golazzo Custom CSS - Animations & Prose */

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

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fff 25%,
    #fbbf24 50%,
    #fff 75%,
    #fbbf24 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* ========== 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(1deg);
  }
}

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

.float-slow {
  animation: float-slow 4s 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 ========== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4),
                0 0 40px rgba(168, 85, 247, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6),
                0 0 60px rgba(168, 85, 247, 0.3);
  }
}

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

@keyframes border-glow {
  0%, 100% {
    border-color: rgba(251, 191, 36, 0.5);
  }
  50% {
    border-color: rgba(251, 191, 36, 1);
  }
}

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

/* ========== COUNTDOWN ANIMATION ========== */
@keyframes fade-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.countdown-pulse {
  animation: fade-pulse 1s ease-in-out infinite;
}

/* ========== PROSE READABILITY ========== */
.prose {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  font-size: 1rem;
}

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

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

.prose p {
  margin-bottom: 1.25rem;
  max-width: 70ch;
}

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

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

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

.prose a {
  color: #a855f7;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #c084fc;
}

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

::-webkit-scrollbar-track {
  background: #1e1033;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed, #a855f7);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8b5cf6, #c084fc);
}

/* ========== TAB SYSTEM ========== */
.tab-content {
  display: none;
}

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

.tab-btn.active {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}

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

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

/* ========== SMOOTH TRANSITIONS ========== */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== BADGE STYLES ========== */
.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-bonus {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.badge-popular {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* ========== CARD HOVER EFFECTS ========== */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(168, 85, 247, 0.2);
}

/* ========== FOCUS STATES ========== */
*:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}

/* ========== SELECTION ========== */
::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #fff;
}
