/* ============================================
   YOUNA - Videos Page Styles
   ============================================ */

/* Grid styles moved to grid.css */

.video-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 16/9;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.video-card:hover {
    transform: translate3d(0, -4px, 0) scale(1.02);
    border-color: rgba(179, 179, 179, 0.3);
    box-shadow: 0 15px 30px rgba(179, 179, 179, 0.15);
}

.video-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) scale(1);
}

.video-card:hover .video-card-thumbnail {
    transform: translate3d(0, 0, 0) scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 0, 0, 0.322);
    font-size: 1.5rem;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    z-index: 2;
    border: none;
    outline: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.video-card:hover .video-play-button {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.1);
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.158);
    transform: translate3d(-50%, -50%, 0) scale(1.2);
}

.video-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.video-player-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

#videoPlayer {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* Playlist tabs styles now unified in common.css */
/* Keeping this comment for reference, actual styles moved to common.css */

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    margin: 0 0.125rem;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(179, 179, 179, 0.1);
    color: white;
}

.pagination-btn.active {
    background: rgba(179, 179, 179, 0.2);
    color: white;
    border-color: rgba(179, 179, 179, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.bg-glass-bg {
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.border-glass-border {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Extra small mobile: < 480px */
@media (max-width: 479px) {
    
    .playlist-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    
    .playlist-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Mobile: 480px - 767px */
@media (min-width: 480px) and (max-width: 767px) {
    
    .playlist-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    
    .playlist-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
}

/* Desktop: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
}

/* Large screens: ≥ 1440px */
@media (min-width: 1440px) {
}
