
/* Game Slider for Elementor - Main Styles */
.game-slider-elementor {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.game-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* Slides container */
.game-slider-slides-container {
    display: flex;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

/* Individual slides */
.game-slider-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.game-slider-slide.prev,
.game-slider-slide.next {
    opacity: 0.7;
    filter: blur(2px);
    z-index: 1;
    transform: scale(0.8);
}

.game-slider-slide.prev {
    left: -20%;
}

.game-slider-slide.next {
    right: -20%;
}

.game-slider-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-slider-slide.active .game-slider-image {
    transform: scale(1.05);
}

/* Content overlay */
.game-slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 3;
}

.game-slider-text-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-slider-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.game-slider-rating {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.game-slider-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Navigation arrows */
.game-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

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

.game-slider-prev {
    left: 10px;
}

.game-slider-next {
    right: 10px;
}

/* Progress bar */
.game-slider-progress-container {
    margin-top: 15px;
    padding: 0 20px;
}

.game-slider-progress-bar {
    position: relative;
    height: 4px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.game-slider-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #6366F1;
    width: 0;
    transition: width 0.3s ease;
}

.game-slider-progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6366F1;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: grab;
    z-index: 5;
    left: 0;
}

.game-slider-progress-handle:active {
    cursor: grabbing;
}

/* Dots navigation */
.game-slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.game-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-slider-dot.active {
    background: #6366F1;
    transform: scale(1.3);
}

/* Responsive styles */
@media screen and (min-width: 768px) {
    .game-slider-slides-container {
        display: flex;
        height: 100%;
    }
    
    .game-slider-slide {
        position: absolute;
        transition: all 0.5s ease;
    }
    
    .game-slider-slide.active {
        width: 60%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }
    
    .game-slider-slide.prev {
        width: 50%;
        left: 0;
        transform: translateX(-30%) scale(0.85);
        z-index: 2;
    }
    
    .game-slider-slide.next {
        width: 50%;
        right: 0;
        transform: translateX(30%) scale(0.85);
        z-index: 1;
    }
}

@media screen and (max-width: 767px) {
    .game-slider-title {
        font-size: 16px;
    }
    
    .game-slider-rating {
        font-size: 12px;
    }
    
    .game-slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .game-slider-prev {
        left: 5px;
    }
    
    .game-slider-next {
        right: 5px;
    }
}
