/* ============================================
   PREMIUM CPM OPTIMIZATION STYLES
   Meningkatkan perceived value & user engagement
   ============================================ */

/* Premium Video Cards dengan Hover Effects */
.premium-video-card {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.premium-video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(229, 9, 20, 0.4),
                0 0 40px rgba(229, 9, 20, 0.2);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-video-card:hover .video-thumbnail img {
    transform: scale(1.15);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(229, 9, 20, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.premium-video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.video-card-content {
    padding: 1.25rem;
}

.video-card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.premium-video-card:hover .video-card-content h3 {
    color: #e50914;
}

.video-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #999;
}

.video-meta .category {
    color: #e50914;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(229, 9, 20, 0.15);
    border-radius: 12px;
}

/* Premium Footer Styling */
.premium-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    border-top: 2px solid #e50914;
    margin-top: 2rem;
}

.footer-section h4 {
    color: #e50914;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #e50914;
    padding-left: 8px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.social-links a:hover {
    color: #e50914;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
    margin-top: 2rem;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-disclaimer {
    font-size: 0.85rem !important;
    color: #666 !important;
}

/* Premium Loading States */
.skeleton-loader {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Premium Breadcrumb Navigation */
.premium-breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.95rem;
}

.premium-breadcrumb a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.premium-breadcrumb a:hover {
    color: #e50914;
}

.premium-breadcrumb span {
    color: #666;
    margin: 0 0.75rem;
}

.premium-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

/* Premium Content Sections */
.content-section {
    margin: 3rem 0;
}

.content-section h2 {
    color: #e50914;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e50914 0%, transparent 100%);
}

/* Premium Grid Layouts */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .premium-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .premium-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Premium Badge System */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e50914 0%, #b2070f 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.3);
}

.premium-badge.trending::before {
    content: '🔥';
}

.premium-badge.new::before {
    content: '✨';
}

.premium-badge.popular::before {
    content: '⭐';
}

/* Premium Stats Display */
.stats-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e50914;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium Search Enhancement */
.premium-search {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
}

.premium-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.premium-search input:focus {
    outline: none;
    border-color: #e50914;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.premium-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #e50914;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.premium-search button:hover {
    background: #f40612;
    transform: translateY(-50%) scale(1.1);
}

/* Premium Quality Indicators */
.quality-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.quality-badge.hd {
    background: linear-gradient(135deg, #e50914 0%, #b2070f 100%);
}

.quality-badge.uhd {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Premium Focus States untuk Accessibility */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid #e50914;
    outline-offset: 2px;
}

/* Premium Print Styles */
@media print {
    .premium-video-card,
    .premium-footer-content,
    header,
    nav {
        display: none;
    }
}
