/* ============================================
   HIGHLIGHTS PAGE STYLES
   ============================================ */

.highlights-page-header {
    background: linear-gradient(135deg, var(--predators-navy) 0%, #052a5c 100%);
    color: white;
    padding: 24px 24px 20px;
}

.highlights-header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.highlights-page-header h1 {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 8px 0;
}

.season-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

#highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */

.highlights-category {
    margin-bottom: 64px;
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--predators-navy);
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--predators-gold);
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 36px;
}

.category-count {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: auto;
}

/* ============================================
   VIDEO GRID
   ============================================ */

.videos-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding-bottom: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.videos-grid::-webkit-scrollbar {
    height: 8px;
}

.videos-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.videos-grid::-webkit-scrollbar-thumb {
    background: #041E42;
    border-radius: 4px;
}

.videos-grid::-webkit-scrollbar-thumb:hover {
    background: #FFB81C;
}

.video-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 280px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-card:hover .video-thumbnail {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   VIDEO THUMBNAIL
   ============================================ */

.video-thumbnail {
    position: relative;
    width: 280px;
    height: 158px;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* ============================================
   VIDEO INFO
   ============================================ */

.video-info {
    padding: 0;
    background: transparent;
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    display: none;
}

.video-meta {
    font-size: 11px;
    color: #666;
    margin: 0;
    display: block;
}

.video-date {
    font-size: 11px;
    color: #666;
}

.video-date::before {
    content: '';
    margin-right: 0;
}

/* ============================================
   VIDEO MODAL
   ============================================ */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10001;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.video-modal-close:hover {
    transform: scale(1.2);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-player-wrapper video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .highlights-page-header h1 {
        font-size: 28px;
    }

    .category-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .highlights-page-header {
        padding: 20px 16px;
    }

    .highlights-page-header h1 {
        font-size: 24px;
    }

    .season-subtitle {
        font-size: 14px;
    }

    .category-title {
        font-size: 20px;
        flex-wrap: wrap;
    }

    .category-count {
        margin-left: 0;
    }

    .video-card {
        flex: 0 0 220px;
        width: 220px;
    }

    .video-thumbnail {
        width: 220px;
        height: 124px;
    }

    .video-title {
        font-size: 12px;
        line-height: 1.3;
    }

    .video-duration {
        font-size: 10px;
        padding: 2px 5px;
    }

    .video-meta {
        font-size: 10px;
    }

    .videos-grid::-webkit-scrollbar {
        height: 4px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -50px;
        right: 0;
    }
}
