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

/* Page header */
.videos-page-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.videos-page-header .section-label {
    display: inline-block;
    background: rgba(212,180,74,0.12);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(212,180,74,0.25);
    margin-bottom: 0.75rem;
}

.videos-page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.videos-page-header p {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* =============================================
   YOUTUBE CHANNEL BANNER
   ============================================= */
.youtube-channel-banner {
    background: linear-gradient(135deg, rgba(255,0,0,0.08) 0%, rgba(212,180,74,0.06) 100%);
    border: 1px solid rgba(255,0,0,0.18);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 0 3.5rem;
}

.youtube-channel-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.youtube-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #FF0000;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.youtube-channel-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.youtube-channel-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.youtube-channel-stat {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.3rem;
}

.youtube-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF0000;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.youtube-subscribe-btn:hover {
    background: #cc0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,0,0,0.3);
}

@media (max-width: 640px) {
    .youtube-channel-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.25rem;
    }

    .youtube-channel-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .youtube-subscribe-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   VIDEO SECTIONS
   ============================================= */
.videos-section-group {
    margin-bottom: 4rem;
}

.videos-section-group:last-child {
    margin-bottom: 2rem;
}

.video-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.video-section-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.video-section-count {
    font-size: 0.75rem;
    color: var(--text-gray);
    background: var(--light-gray);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.video-section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* =============================================
   VIDEO GRID
   ============================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.video-card {
    background: var(--dark-gray);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,180,74,0.35);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-card-body {
    padding: 0.9rem 1rem;
}

.video-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.videos-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.videos-empty p {
    font-size: 1rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-page-header h1 {
        font-size: 1.75rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-section-header h2 {
        font-size: 1.1rem;
    }

    .videos-section-group {
        margin-bottom: 2.5rem;
    }
}
