/* ===== ADS SLIDER SECTION ===== */
.ads-slider-container {
    background-color: #EDEDED;
    border-radius: 8px;
    margin: 10px 0;
    padding: 0;
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.ads-slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.ads-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

/* Loading state */
.ads-slide.loading {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 74.999%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Slide dots navigation */
.ads-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ads-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.ads-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Navigation arrows (desktop) */
.ads-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.ads-slider-container:hover .ads-arrow {
    opacity: 1;
}

.ads-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.ads-arrow.prev {
    left: 10px;
}

.ads-arrow.next {
    right: 10px;
}

/* No ads fallback */
.no-ads-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    font-size: 0.9em;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ads-slider-container {
        width: 100%;
        height: 180px;
    }
    
    .ads-arrow {
        display: none; /* Hide arrows on mobile, use swipe instead */
    }
    
    .ads-dot {
        width: 6px;
        height: 6px;
    }
    
    .ads-dot.active {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .ads-slider-container {
        height: 160px;
    }
    
    .ads-dots {
        bottom: 10px;
        gap: 6px;
    }
}
