/* ============================================
   VIDEOS PAGE STYLES
   ============================================ */

/* ===== VIDEOS SECTION ===== */
.videos-section {
    padding: 60px 0 80px;
    background: var(--dark-section, #0f2840);
}

.videos-section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.videos-section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-light, #e8edf3);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.videos-section-title h2 span {
    color: var(--gold, #e9af00);
}

.videos-subtitle {
    color: var(--text-muted, #8aa3c0);
    font-size: 1.1rem;
}

/* ===== VIDEOS GRID ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* ===== VIDEO CARD ===== */
.videos-card {
    background: var(--dark-card, #162d4a);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.videos-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: var(--gold, #e9af00);
}

/* ===== VIDEO THUMBNAIL ===== */
.videos-thumbnail {
    position: relative;
    overflow: hidden;
    background: #0a1a2b;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.videos-thumbnail:hover {
    text-decoration: none;
}

.videos-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.videos-card:hover .videos-thumbnail img {
    transform: scale(1.05);
}

/* Video Placeholder (when image fails to load) */
.videos-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: #0f2840;
    color: var(--text-muted, #8aa3c0);
    padding: 20px;
    text-align: center;
}

.videos-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
}

.videos-placeholder span {
    font-size: 0.85rem;
    opacity: 0.6;
    max-width: 80%;
    line-height: 1.3;
}

/* Play Overlay */
.videos-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 26, 43, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.videos-thumbnail:hover .videos-play-overlay {
    opacity: 1;
}

.videos-play-btn {
    width: 64px;
    height: 64px;
    background: rgba(233, 175, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1a2b;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(233, 175, 0, 0.3);
}

.videos-thumbnail:hover .videos-play-btn {
    transform: scale(1.1);
    background: #f5d742;
    box-shadow: 0 0 60px rgba(233, 175, 0, 0.5);
}

/* ===== BADGES ===== */
.videos-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(233, 175, 0, 0.95);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0a1a2b;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 4;
    pointer-events: none;
}

.videos-featured-badge i {
    font-size: 0.6rem;
}

/* ===== VIDEO INFO ===== */
.videos-info {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.videos-info h3 {
    font-size: 1rem;
    color: var(--text-light, #e8edf3);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.videos-subtitle-text {
    font-size: 0.85rem;
    color: var(--text-muted, #8aa3c0);
    margin: 0;
    line-height: 1.4;
}

/* ===== RESULT DISPLAY - BIG AND PROMINENT ===== */
.videos-result-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(233, 175, 0, 0.12), rgba(233, 175, 0, 0.05));
    border: 2px solid var(--gold, #e9af00);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold, #e9af00);
    margin: 6px 0 8px;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
}

.videos-result-display i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.videos-result-display span {
    font-size: 1.4rem;
}

/* ===== WATCH BUTTON ===== */
.videos-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gold, #e9af00);
    color: #0a1a2b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.videos-watch-btn:hover {
    background: #f5d742;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 175, 0, 0.3);
    color: #0a1a2b;
    text-decoration: none;
}

.videos-watch-btn i {
    font-size: 1rem;
}

/* ===== CTA SECTION ===== */
.videos-cta-section {
    background: linear-gradient(135deg, var(--primary-dark, #003d6b), var(--primary, #005696));
    padding: 80px 0;
    text-align: center;
    border-top: 3px solid var(--gold, #e9af00);
    border-bottom: 3px solid var(--gold, #e9af00);
}

.videos-cta-section h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.videos-cta-section h2 span {
    color: var(--gold, #e9af00);
}

.videos-cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.videos-cta-btn {
    display: inline-block;
    padding: 18px 48px;
    background: var(--gold, #e9af00);
    color: #0a1a2b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.videos-cta-btn:hover {
    background: #f5d742;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(233, 175, 0, 0.3);
    color: #0a1a2b;
    text-decoration: none;
}

.videos-cta-btn i {
    margin-right: 10px;
}

/* ===== EMPTY STATE ===== */
.videos-empty {
    text-align: center;
    color: var(--text-muted, #8aa3c0);
    padding: 60px 0;
}

.videos-empty i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .videos-section {
        padding: 40px 0 60px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    
    .videos-info {
        padding: 14px 16px 16px;
    }
    
    .videos-info h3 {
        font-size: 0.9rem;
    }
    
    .videos-result-display {
        font-size: 1rem;
        padding: 10px 16px;
    }
    
    .videos-result-display span {
        font-size: 1.1rem;
    }
    
    .videos-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .videos-featured-badge {
        font-size: 0.6rem;
        padding: 2px 10px;
        top: 8px;
        right: 8px;
    }
    
    .videos-watch-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .videos-cta-section {
        padding: 50px 0;
    }
    
    .videos-cta-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .videos-info {
        padding: 12px 14px 14px;
    }
    
    .videos-info h3 {
        font-size: 0.85rem;
    }
    
    .videos-subtitle-text {
        font-size: 0.75rem;
    }
    
    .videos-result-display {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
    
    .videos-result-display span {
        font-size: 1rem;
    }
    
    .videos-play-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}