/* VezifilmeHD - Custom Styles */

/* Scrollbar hide utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hero gradients */
.hero-gradient {
    background: linear-gradient(to top, var(--bg-dark, #0b0b0f) 0%, rgba(11,11,15,0.8) 40%, rgba(11,11,15,0.4) 70%, rgba(11,11,15,0.1) 100%);
}
.gradient-fade {
    background: linear-gradient(to top, var(--bg-dark, #0b0b0f) 0%, transparent 100%);
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content row scroll arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.content-row:hover .scroll-arrow {
    opacity: 1;
}
.scroll-arrow:hover {
    background: rgba(229,9,20,0.8);
}
.scroll-arrow.left { left: -8px; }
.scroll-arrow.right { right: -8px; }

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Play overlay on card hover */
.play-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-hover:hover .play-overlay {
    opacity: 1;
}

/* Quality badge */
.quality-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(229,9,20,0.9);
    backdrop-filter: blur(4px);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Search dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 50;
    max-height: 400px;
    overflow-y: auto;
}

/* Custom checkbox style */
input[type="checkbox"] {
    accent-color: #e50914;
}

/* Smooth page transitions */
body {
    opacity: 1;
    transition: opacity 0.15s ease;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #e50914;
    outline-offset: 2px;
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #1a1a2e 25%, #252540 50%, #1a1a2e 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* Pagination active */
.pagination .active {
    background: #e50914;
    color: white;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
