/* LolaJack Casino - Custom Styles */
/* Ice & Fire Adventure Theme */

/* Base Background Pattern */
body {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(30, 58, 95, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(125, 211, 252, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #0a1628 0%, #0f172a 50%, #0a1628 100%);
    background-attachment: fixed;
}

/* Prose Styling for Readability */
.prose {
    color: rgba(224, 242, 254, 0.85);
    line-height: 1.75;
    max-width: 65ch;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #e0f2fe;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.375rem; }
.prose h4 { font-size: 1.125rem; }

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

.prose a {
    color: #7dd3fc;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

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

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

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

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

/* Glow Pulse Animation for CTAs */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.4), 0 0 40px rgba(251, 191, 36, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(249, 115, 22, 0.6), 0 0 60px rgba(251, 191, 36, 0.3);
    }
}

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

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

.ice-shimmer {
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(125, 211, 252, 0.3) 25%, 
        rgba(224, 242, 254, 0.5) 50%, 
        rgba(125, 211, 252, 0.3) 75%, 
        transparent 100%
    );
    background-size: 200% 100%;
    animation: ice-shimmer 3s ease-in-out infinite;
}

/* Fire Flicker Animation */
@keyframes fire-flicker {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    25% {
        opacity: 0.9;
        filter: brightness(1.1);
    }
    50% {
        opacity: 1;
        filter: brightness(0.95);
    }
    75% {
        opacity: 0.95;
        filter: brightness(1.05);
    }
}

.fire-flicker {
    animation: fire-flicker 0.5s ease-in-out infinite;
}

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

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

.animate-marquee:hover {
    animation-play-state: paused;
}

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

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

/* Countdown Pulse */
@keyframes countdown-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.countdown-pulse {
    animation: countdown-pulse 0.4s ease-out;
}

/* Card Hover Effects */
.game-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(125, 211, 252, 0.15),
        0 0 60px rgba(249, 115, 22, 0.1);
}

/* Badge Styles */
.badge-popular {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #0a1628;
}

.badge-jackpot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
}

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

.badge-bonus {
    background: linear-gradient(135deg, #7dd3fc, #38bdf8);
    color: #0a1628;
}

/* Hero Section Pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(125, 211, 252, 0.2) 0%, transparent 30%),
        linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
}

/* Gradient Text */
.gradient-text-fire {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-ice {
    background: linear-gradient(135deg, #7dd3fc 0%, #e0f2fe 50%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Provider Button 3D Effect */
.provider-btn {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.provider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(125, 211, 252, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(125, 211, 252, 0.4);
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
    border-radius: 5px;
    border: 2px solid #0a1628;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7dd3fc 0%, #1e3a5f 100%);
}

/* Review Card Styles */
.review-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(10, 22, 40, 0.7) 100%);
    border: 1px solid rgba(125, 211, 252, 0.15);
    backdrop-filter: blur(10px);
}

/* Table Styles */
.payment-table th {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
    color: #7dd3fc;
    font-weight: 600;
}

.payment-table tr:hover {
    background: rgba(125, 211, 252, 0.05);
}

/* Feature Card Glow */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(125, 211, 252, 0.1) 60deg,
        transparent 120deg
    );
    animation: rotate-glow 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Star Rating */
.star-filled {
    color: #fbbf24;
}

.star-empty {
    color: rgba(251, 191, 36, 0.3);
}

/* Responsive Typography */
@media (max-width: 640px) {
    .prose h1 { font-size: 1.75rem; }
    .prose h2 { font-size: 1.5rem; }
    .prose h3 { font-size: 1.25rem; }
}

/* Selection Color */
::selection {
    background: rgba(249, 115, 22, 0.4);
    color: #e0f2fe;
}

/* Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 2px;
}

/* Fade In Animation */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

/* Stagger delays for grid items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
