/* =========================
   ADVANCED UI ENHANCEMENTS
========================= */

/* Progress Bar */
.slide-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-gold), #ff9800);
    transition: width 6s linear;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}

/* Thumbnail Navigation */
.thumbnail-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 20;
    display: flex;
    gap: 12px;
}

.thumb-item {
    position: relative;
    width: 80px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.thumb-item:hover img,
.thumb-item.active img {
    opacity: 1;
}

.thumb-item.active {
    border-color: var(--primary-gold);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.thumb-number {
    position: absolute;
    bottom: 4px;
    left: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    opacity: 0.5;
}

/* Secondary Button */
.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Trending Strip - Enhanced */
.trending-strip {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 16px 24px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 12px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 193, 7, 0.12);
    overflow: hidden;
}

.trending-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gold), #ff9800);
    color: #000;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.trending-label i {
    font-size: 0.9rem;
}

.trending-scroll {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    animation: none;
}

.trending-scroll::-webkit-scrollbar {
    display: none;
}

.trending-item {
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.trending-item::after {
    content: '';
    margin: 0;
}

.trending-item:hover {
    color: #000;
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

/* Updated Hero Controls */
.hero-control {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
}

.hero-control.prev-slide {
    left: 25px;
}

.hero-control.next-slide {
    right: 140px;
}

/* Hide slide indicators (using thumbnails instead) */
.hero-slide-indicators {
    display: none;
}

/* Enhanced Article Card Hover */
.article-premium-card {
    position: relative;
}

.article-premium-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-gold), #ff9800, #ff5722);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.article-premium-card:hover::before {
    opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .thumbnail-nav {
        right: 20px;
        bottom: 20px;
    }

    .thumb-item {
        width: 70px;
        height: 45px;
    }

    .hero-control.next-slide {
        right: 120px;
    }
}

@media (max-width: 992px) {
    .thumbnail-nav {
        display: none;
    }

    .hero-control.next-slide {
        right: 25px;
    }

    .trending-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .slide-progress-bar {
        height: 3px;
    }

    .trending-strip {
        margin-bottom: 2rem;
        padding: 14px 18px;
    }

    .trending-label {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .trending-item {
        font-size: 0.85rem;
    }

    .hero-secondary-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-primary-btn,
    .hero-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}