/* Custom Animations & Overrides */

/* Pulsating CTA */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.8);
    }
}

.cta-pulse {
    animation: pulse-glow 2s infinite;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

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

.floating-hero {
    animation: float 6s ease-in-out infinite;
}

/* Game Card Hover Effects */
.game-card {
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

/* Feature Image Glow */
@keyframes feature-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 60px rgba(0, 255, 136, 0.6);
    }
}

.feature-glow {
    animation: feature-glow 3s infinite;
}

/* Withdrawal Progress Bar */
@keyframes progress-fill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.withdrawal-progress {
    animation: progress-fill 3s linear infinite;
}

/* Pulse Slow for Background */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Parallax Effect on Scroll */
.parallax-element {
    transition: transform 0.5s ease-out;
}

/* Hide Scrollbar for Carousel */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Details/Summary Styling */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

/* Prose Styling for Readability */
.prose {
    color: #d1d5db;
    line-height: 1.75;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #00ff88;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.prose h1 {
    font-size: 2.25em;
}

.prose h2 {
    font-size: 1.875em;
}

.prose h3 {
    font-size: 1.5em;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose a {
    color: #00ff88;
    text-decoration: underline;
}

.prose a:hover {
    color: #00dd77;
}

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

.prose ul, .prose ol {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 1.5em;
}

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

.prose code {
    background-color: #1a1f35;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    font-size: 0.875em;
}

.prose pre {
    background-color: #0a0e1a;
    padding: 1em;
    border-radius: 0.5em;
    overflow-x: auto;
}

.prose blockquote {
    border-left: 4px solid #00ff88;
    padding-left: 1em;
    font-style: italic;
    color: #9ca3af;
}

/* Marquee Animation (Alternative) */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee {
    animation: marquee 30s linear infinite;
}

/* Tilt Effect on Hover */
.tilt-on-hover {
    transition: transform 0.3s ease;
}

.tilt-on-hover:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Additional Responsive Tweaks */
@media (max-width: 768px) {
    .prose {
        font-size: 0.95rem;
    }
    
    .prose h1 {
        font-size: 1.75em;
    }
    
    .prose h2 {
        font-size: 1.5em;
    }
}

/* Loading State */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #151b2e 0%, #1a2138 50%, #151b2e 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
