/* Graded Ads Carousel */
.graded-ads-carousel {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.5), rgba(20, 30, 50, 0.5));
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    margin-top: 3rem;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.btn-view-all {
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.8), rgba(20, 30, 50, 0.8));
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    padding: 1rem;
    padding-bottom: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.carousel-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-item:hover::before {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.carousel-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.score-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.score-value.excellent {
    color: var(--success-color);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.score-value.good {
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.score-value.fair {
    color: #FFC107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.score-value.poor {
    color: var(--error-color);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.carousel-info {
    text-align: center;
}

.carousel-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.carousel-platforms {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.platform-badge.meta {
    background: rgba(24, 119, 242, 0.2);
    color: #1877F2;
    border: 1px solid rgba(24, 119, 242, 0.4);
}

.platform-badge.google {
    background: rgba(66, 133, 244, 0.2);
    color: #4285F4;
    border: 1px solid rgba(66, 133, 244, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-empty {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .graded-ads-carousel {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .carousel-container {
        padding: 0 1rem;
    }
    
    .carousel-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-wrapper {
        padding: 0 45px;
    }
    
    .carousel-item {
        flex: 0 0 220px;
        padding: 0.75rem;
    }
    
    .carousel-image {
        aspect-ratio: 1 / 1;
        margin-bottom: 0.5rem;
    }
    
    .score-text {
        font-size: 0.85rem;
    }
    
    .score-value {
        font-size: 1.2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-date {
        font-size: 0.75rem;
    }
    
    .platform-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .graded-ads-carousel {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }
    
    .carousel-container {
        padding: 0 0.5rem;
    }
    
    .carousel-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .carousel-wrapper {
        padding: 0 35px;
    }
    
    .carousel-item {
        flex: 0 0 180px;
        padding: 0.5rem;
    }
    
    .carousel-image {
        aspect-ratio: 1 / 1;
        margin-bottom: 0.4rem;
    }
    
    .score-text {
        font-size: 0.75rem;
    }
    
    .score-value {
        font-size: 1.1rem;
    }
    
    .carousel-score {
        padding: 0.4rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .carousel-date {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .platform-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }
    
    .carousel-empty {
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }
}