/* ==========================================================================
   Game Slider Styles
   ========================================================================== */

.game-slider {
    position: relative;
    max-width: 760px;
}

.game-slider-track {
    position: relative;
}

.game-slider-slide {
    display: none;
    animation: slide-fade-in 0.3s ease-out;
}

.game-slider-slide.active {
    display: block;
}

/* Navigation Buttons */
.game-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    background: var(--bs-info);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    transition: background-color 0.2s;
}

.game-slider-nav:hover {
    background: #0A5F6C;
}

.game-slider-prev {
    left: 0;
    padding: 3px 2px 0 0;
}

.game-slider-next {
    right: 0;
    padding: 3px 0 0 2px;
}

/* Indicators */
.game-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.game-slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.game-slider-indicator.past {
    background: rgba(0, 0, 0, 0.4);
}

.game-slider-indicator.upcoming {
    background: rgba(0, 0, 0, 0.2);
}

.game-slider-indicator.active {
    background: var(--bs-info);
    transform: scale(1.2);
}

.game-slider-indicator:hover:not(.active) {
    background: rgba(0, 0, 0, 0.5);
}

/* Card gradient clash animation */
.card-gradient-animate {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}

.card-gradient-animate::before,
.card-gradient-animate::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

.card-gradient-animate::before {
    background: linear-gradient(-55deg, transparent 48.999%, var(--color-left-50) 49%, var(--color-left-25));
    animation: clash-from-left 1s cubic-bezier(1, 0, .91, 1) forwards;
}

.card-gradient-animate::after {
    background: linear-gradient(-55deg, var(--color-right-25), var(--color-right-50) 48.999%, transparent 49%);
    animation: clash-from-right 1s cubic-bezier(1, 0, .91, 1) forwards;
}

@keyframes clash-from-left {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes clash-from-right {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Countdown Badge */
.countdown-badge {
    font-size: 1.2rem;
}
