/**
 * Video Access Indicators
 * Badges and locks for premium content
 */

/* Video Card Access Indicators */
.card {
    position: relative;
}

.card-locked {
    opacity: 0.85;
}

.card-locked .card-thumb {
    filter: blur(2px) brightness(0.7);
    transition: filter 0.3s ease;
}

.card-locked:hover .card-thumb {
    filter: blur(1px) brightness(0.8);
}

/* Access Badge */
.card-access-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.card-access-badge.plus {
    background: linear-gradient(135deg, rgba(100, 0, 204, 0.9) 0%, rgba(139, 0, 255, 0.9) 100%);
    box-shadow: 0 2px 8px rgba(100, 0, 204, 0.4);
}

.card-access-badge.premium {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.9) 0%, rgba(230, 126, 34, 0.9) 100%);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.card-access-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Lock Overlay */
.card-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.card-locked:hover .card-lock-overlay {
    opacity: 1;
}

.card-lock-icon {
    width: 48px;
    height: 48px;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Access Indicator in Card Body */
.card-access-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary, #888);
    margin-top: 4px;
}

.card-access-indicator svg {
    width: 14px;
    height: 14px;
}

.card-access-indicator.plus {
    color: #8B00FF;
}

.card-access-indicator.premium {
    color: #f39c12;
}

/* Responsive */
@media (max-width: 640px) {
    .card-access-badge {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .card-access-badge svg {
        width: 12px;
        height: 12px;
    }

    .card-lock-icon {
        width: 36px;
        height: 36px;
    }
}

/* Light Theme */
.light .card-locked .card-thumb {
    filter: blur(2px) brightness(0.6);
}

.light .card-locked:hover .card-thumb {
    filter: blur(1px) brightness(0.7);
}

.light .card-lock-overlay {
    background: rgba(0, 0, 0, 0.3);
}
