/* Westace Casino - Custom Styles */
/* Animation Types: Parallax + Marquee */

/* ========== KEYFRAME ANIMATIONS ========== */

/* Pulse Glow Effect for CTAs */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4),
                    0 0 40px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.6),
                    0 0 60px rgba(16, 185, 129, 0.3);
    }
}

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

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

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

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

.marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

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

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(16, 185, 129, 0) 0%,
        rgba(16, 185, 129, 0.3) 50%,
        rgba(16, 185, 129, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* Parallax Scroll Effect */
@keyframes parallaxBg {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.parallax-bg {
    background-size: 400% 400%;
    animation: parallaxBg 15s ease infinite;
}

/* Emerald Sparkle */
@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

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

.sparkle-delay-1 { animation-delay: 0.3s; }
.sparkle-delay-2 { animation-delay: 0.6s; }
.sparkle-delay-3 { animation-delay: 0.9s; }

/* Badge Bounce */
@keyframes badgeBounce {
    0%, 100% {
        transform: rotate(-3deg) scale(1);
    }
    50% {
        transform: rotate(-3deg) scale(1.05);
    }
}

.badge-bounce {
    animation: badgeBounce 2s ease-in-out infinite;
}

/* Countdown Fade */
@keyframes countdownFade {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.1); }
}

/* ========== GRADIENT BACKGROUNDS ========== */

.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(10, 14, 26, 0.95) 0%,
        rgba(4, 120, 87, 0.2) 50%,
        rgba(10, 14, 26, 0.95) 100%
    );
}

.card-gradient {
    background: linear-gradient(
        180deg,
        rgba(16, 23, 41, 0.8) 0%,
        rgba(10, 14, 26, 0.9) 100%
    );
}

.emerald-gradient {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

/* ========== SVG PATTERNS ========== */

.pattern-dots {
    background-image: radial-gradient(rgba(16, 185, 129, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pattern-grid {
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.pattern-diamonds {
    background-image: 
        linear-gradient(45deg, rgba(16, 185, 129, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(16, 185, 129, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(16, 185, 129, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(16, 185, 129, 0.05) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
}

/* ========== PROSE STYLING FOR READABILITY ========== */

.prose-casino {
    color: #d1d5db;
    line-height: 1.75;
}

.prose-casino h2 {
    color: #f3f4f6;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose-casino h3 {
    color: #10b981;
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose-casino p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.prose-casino ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.prose-casino ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose-casino ul li::before {
    content: "💎";
    position: absolute;
    left: 0;
    font-size: 0.75rem;
}

.prose-casino a {
    color: #10b981;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.prose-casino a:hover {
    color: #34d399;
}

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

.prose-casino blockquote {
    border-left: 4px solid #10b981;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #9ca3af;
}

/* ========== CARD STYLES ========== */

.slot-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(16, 23, 41, 0.9) 0%, rgba(10, 14, 26, 1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.slot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.slot-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* ========== FEATURE CARDS ========== */

.feature-card {
    background: linear-gradient(180deg, rgba(16, 23, 41, 0.6) 0%, rgba(10, 14, 26, 0.8) 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(16, 23, 41, 0.8) 0%, rgba(10, 14, 26, 0.9) 100%);
}

/* ========== BADGE STYLES ========== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.badge-rtp {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-jackpot {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-bonus {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-popular {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ========== TABLE STYLES ========== */

.payment-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.payment-table th {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.payment-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.payment-table tr:hover td {
    background: rgba(16, 185, 129, 0.05);
}

.payment-table th:first-child {
    border-radius: 0.75rem 0 0 0;
}

.payment-table th:last-child {
    border-radius: 0 0.75rem 0 0;
}

/* ========== REVIEW STARS ========== */

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #fbbf24;
}

.star-empty {
    color: #374151;
}

/* ========== SCROLLBAR ========== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* ========== RESPONSIVE UTILITIES ========== */

@media (max-width: 640px) {
    .prose-casino h2 {
        font-size: 1.5rem;
    }
    
    .prose-casino h3 {
        font-size: 1.25rem;
    }
    
    .prose-casino p {
        font-size: 0.9375rem;
    }
}

/* ========== COUNTDOWN TRANSITION ========== */

#countdown-text {
    transition: opacity 0.3s ease-in-out;
}

/* ========== GNOME DECORATIVE ELEMENTS ========== */

.gnome-shadow {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(16, 185, 129, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========== CTA BANNER ========== */

.cta-banner {
    background: linear-gradient(
        135deg,
        rgba(4, 120, 87, 0.3) 0%,
        rgba(16, 23, 41, 0.9) 50%,
        rgba(4, 120, 87, 0.3) 100%
    );
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ========== PROVIDER BUTTON ========== */

.provider-btn {
    background: linear-gradient(180deg, rgba(16, 23, 41, 0.8) 0%, rgba(10, 14, 26, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #9ca3af;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.provider-btn:hover {
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}
