/* ============================================
   STREAMIFY - PREMIUM STREAMING UI
   Stunning Design with Modern Effects
============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Primary Colors */
    --primary: #e50914;
    --primary-dark: #b20710;
    --primary-glow: rgba(229, 9, 20, 0.5);
    
    /* Accent Gradient */
    --gradient-primary: linear-gradient(135deg, #e50914 0%, #ff6b6b 50%, #e50914 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #e50914 100%);
    --gradient-gold: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --gradient-neon: linear-gradient(135deg, #00f5d4 0%, #00bbf9 50%, #9b5de5 100%);
    
    /* Background Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-elevated: #1a1a25;
    
    /* Glass Effect */
    --glass-bg: rgba(18, 18, 26, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    
    /* Success/Rating */
    --success: #00f5d4;
    --rating: #ffd700;
    
    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--primary-glow);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* ============ ANIMATED BACKGROUND ============ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(229, 9, 20, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 245, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ============ WELCOME POPUP - GLASSMORPHISM ============ */
.welcome-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.welcome-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 45px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s var(--transition-bounce);
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.popup-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: var(--gradient-accent);
    animation: shimmerLine 3s infinite;
}

@keyframes shimmerLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.welcome-popup.active .popup-box {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 36px;
    color: #fff;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
    position: relative;
}

.popup-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.3;
    animation: ping 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

.popup-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-box > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.popup-box p strong {
    color: var(--primary);
}

.popup-instructions {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 28px;
    text-align: left;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.instruction-item:hover {
    transform: translateX(5px);
}

.instruction-item:last-child {
    border-bottom: none;
}

.instruction-item i.fab {
    font-size: 26px;
    width: 35px;
    text-align: center;
}

.instruction-item i.fa-windows { color: #00a4ef; }
.instruction-item i.fa-apple { color: #a2aaad; }
.instruction-item i.fa-android { color: #3ddc84; }

.instruction-item span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.instruction-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.instruction-item kbd {
    background: var(--bg-elevated);
    padding: 4px 12px;
    border-radius: 6px;
    color: var(--success);
    font-weight: 600;
    font-size: 13px;
    font-family: 'Inter', monospace;
    border: 1px solid var(--glass-border);
}

.popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 45px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.popup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.popup-btn:hover::before {
    left: 100%;
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

/* ============ NAVBAR - GLASSMORPHISM ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    background: transparent;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    padding: 12px 50px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 55px;
}

/* Animated Logo */
.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
    text-shadow: 0 0 30px var(--primary-glow);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
    transform-origin: right;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Download Button - Neon Effect */
.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #00f5d4 0%, #00bbf9 100%);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.3);
}

.download-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 245, 212, 0.5);
}

.download-btn i {
    font-size: 18px;
}

.nav-btn {
    color: var(--text-primary);
    font-size: 20px;
    transition: all var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.nav-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.menu-toggle {
    display: none;
}

.profile-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                var(--gradient-primary) border-box;
    transition: all var(--transition-fast);
}

.profile-img:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ============ MOBILE MENU - PREMIUM ============ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 200;
    padding: 28px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-right: 1px solid var(--glass-border);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-menu-top button {
    color: var(--text-primary);
    font-size: 28px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.mobile-menu-top button:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 8px;
}

.menu-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 25px 0;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: all var(--transition-fast);
    min-height: 54px;
    position: relative;
    overflow: hidden;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(229, 9, 20, 0.1);
    color: var(--text-primary);
}

.mobile-menu a:hover::before,
.mobile-menu a.active::before {
    transform: scaleY(1);
}

.mobile-menu a i {
    width: 26px;
    font-size: 20px;
    color: var(--primary);
}

.download-link {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(0, 187, 249, 0.15)) !important;
    border: 1px solid rgba(0, 245, 212, 0.3) !important;
}

.download-link i {
    color: #00f5d4 !important;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============ SEARCH MODAL - PREMIUM ============ */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.search-modal.active {
    display: flex;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
    background: var(--bg-elevated);
    border: 2px solid var(--glass-border);
    border-radius: 60px;
    padding: 16px 30px;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 100px;
    box-shadow: var(--shadow-lg);
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-wrapper i.fa-search {
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

.search-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 18px;
    min-width: 0;
}

.search-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-wrapper button {
    color: var(--text-muted);
    font-size: 24px;
    transition: all var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
}

.search-wrapper button:hover {
    color: var(--primary);
    background: rgba(229, 9, 20, 0.1);
}

/* Search Results Grid */
.search-results {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 35px;
    -webkit-overflow-scrolling: touch;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.search-result-card {
    cursor: pointer;
    transition: all var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}

.search-result-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    background: var(--gradient-primary) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 2;
    pointer-events: none;
}

.search-result-card:hover::before {
    opacity: 1;
}

.search-result-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 
        var(--shadow-lg),
        0 0 40px var(--primary-glow);
}

.search-result-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.search-result-card:hover img {
    transform: scale(1.1);
}

.search-result-info {
    padding: 14px;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.search-result-type {
    background: var(--gradient-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.search-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: var(--text-muted);
}

.search-message i {
    font-size: 70px;
    margin-bottom: 25px;
    color: var(--primary);
    opacity: 0.5;
}

.search-message p {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.search-message span {
    font-size: 14px;
}

/* ============ HERO - CINEMATIC ============ */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 140px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: opacity 1s ease, transform 1s ease;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(229, 9, 20, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg.fade-out {
    opacity: 0;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(0deg, var(--bg-primary) 0%, rgba(10, 10, 15, 0.8) 30%, transparent 60%),
        linear-gradient(90deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.6) 40%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 60px;
    max-width: 700px;
}

.hero-content > * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.fade-out > * {
    opacity: 0;
    transform: translateY(30px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-glow);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

.hero h1 {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    margin-bottom: 22px;
}

.green {
    color: var(--success);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.green i {
    color: var(--rating);
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-btns {
    display: flex;
    gap: 18px;
}

/* Premium Buttons */
.btn-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all var(--transition-smooth);
    min-height: 54px;
    position: relative;
    overflow: hidden;
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent);
    transition: 0.5s;
}

.btn-play:hover::before {
    left: 100%;
}

.btn-play:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: scale(1.05) translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-smooth);
    min-height: 54px;
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    transform: scale(1.02);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    position: relative;
    z-index: 20;
    margin-top: -120px;
    padding-bottom: 60px;
}

.content-section {
    padding: 0 60px;
    margin-bottom: 55px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#continueSection {
    display: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.section-header h2 i {
    color: var(--primary);
    font-size: 22px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.see-all-btn {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all var(--transition-fast);
    min-height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.see-all-btn:hover {
    color: var(--text-primary);
    background: rgba(229, 9, 20, 0.1);
    border-color: var(--primary);
}

.see-all-btn i {
    transition: transform var(--transition-fast);
}

.see-all-btn:hover i {
    transform: translateX(5px);
}

/* ============ CONTENT ROW ============ */
.row-wrapper {
    position: relative;
}

.content-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 18px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.content-row::-webkit-scrollbar {
    display: none;
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 100%;
    max-height: 350px;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
    color: var(--text-primary);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity var(--transition-fast);
    cursor: pointer;
}

.scroll-arrow.right {
    background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}

.row-wrapper:hover .scroll-arrow {
    opacity: 1;
}

.scroll-arrow:hover {
    color: var(--primary);
}

.scroll-arrow.left {
    left: 0;
}

.scroll-arrow.right {
    right: 0;
}

/* ============ TOP 5 CARDS - PREMIUM ============ */
.top-5-row {
    gap: 45px;
}

.top-5-card {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    touch-action: manipulation;
}

.top-5-card:hover {
    transform: scale(1.08) translateY(-10px);
    z-index: 10;
}

.rank-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 260px;
    font-weight: 900;
    line-height: 0.72;
    color: transparent;
    -webkit-text-stroke: 4px var(--bg-elevated);
    margin-right: -40px;
    z-index: 1;
    text-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
    position: relative;
    transition: all var(--transition-smooth);
}

.top-5-card:hover .rank-number {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

/* Gold, Silver, Bronze gradients */
.top-5-card:nth-child(1) .rank-number {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px rgba(184, 134, 11, 0.5);
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6));
}

.top-5-card:nth-child(2) .rank-number {
    background: linear-gradient(180deg, #f0f0f0 0%, #9a9a9a 50%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px rgba(112, 112, 112, 0.5);
    filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.5));
}

.top-5-card:nth-child(3) .rank-number {
    background: linear-gradient(180deg, #e8a060 0%, #8b4513 50%, #d4915d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px rgba(107, 52, 16, 0.5);
    filter: drop-shadow(0 0 20px rgba(205, 127, 50, 0.5));
}

.top-5-poster {
    width: 190px;
    height: 285px;
    object-fit: cover;
    border-radius: 14px;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
}

.top-5-card:hover .top-5-poster {
    border-color: var(--primary);
    box-shadow: 
        var(--shadow-lg),
        0 0 40px var(--primary-glow);
}

.top-5-info {
    position: absolute;
    bottom: 0;
    left: 85px;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 50%, transparent 100%);
    padding: 25px 18px 18px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    z-index: 3;
    border-radius: 0 0 14px 14px;
}

.top-5-card:hover .top-5-info {
    opacity: 1;
    visibility: visible;
}

.top-5-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-5-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.top-5-rating {
    color: var(--success);
    font-weight: 700;
}

.top-5-type {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============ REGULAR CARDS - PREMIUM ============ */
.card {
    flex-shrink: 0;
    width: 210px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    touch-action: manipulation;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

/* Glow Border Effect */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    background: var(--gradient-primary) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 5;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: scale(1.08) translateY(-12px);
    z-index: 10;
    box-shadow: 
        var(--shadow-lg),
        0 0 50px var(--primary-glow);
}

.card-img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    background: var(--bg-secondary);
    transition: transform var(--transition-smooth);
}

.card:hover .card-img {
    transform: scale(1.1);
}

/* Play Icon on Hover */
.card::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 4;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-glow);
    padding-left: 5px;
}

.card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.card-info {
    padding: 14px;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 3;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.card-rating {
    color: var(--success);
    font-weight: 700;
}

.card-type {
    background: rgba(229, 9, 20, 0.15);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.card-progress {
    height: 4px;
    background: var(--bg-secondary);
    margin-top: -4px;
    overflow: hidden;
    position: relative;
}

.card-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    position: relative;
}

.card-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Skeleton Loading */
.skeleton {
    flex-shrink: 0;
    width: 210px;
    height: 315px;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-elevated) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============ SEE ALL MODAL ============ */
.see-all-modal {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 200;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.see-all-modal.active {
    display: flex;
}

.see-all-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 10;
    min-height: 70px;
}

.see-all-header h2 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.see-all-header button {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 20px;
    border-radius: 50%;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.see-all-header button:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.see-all-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 30px;
}

.see-all-card {
    cursor: pointer;
    transition: all var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}

.see-all-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    background: var(--gradient-primary) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 2;
    pointer-events: none;
}

.see-all-card:hover::before {
    opacity: 1;
}

.see-all-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 
        var(--shadow-md),
        0 0 30px var(--primary-glow);
}

.see-all-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.see-all-card:hover img {
    transform: scale(1.1);
}

.see-all-card-info {
    padding: 12px;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}

.see-all-card-title {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.see-all-card-meta {
    font-size: 11px;
    color: var(--text-secondary);
}

/* ============ DETAIL MODAL ============ */
.detail-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.detail-modal.active {
    display: flex;
}

.detail-box {
    background: var(--bg-secondary);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.detail-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 22px;
    border-radius: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.detail-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.detail-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.detail-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--bg-secondary));
}

.detail-info {
    padding: 30px 40px 45px;
    margin-top: -70px;
    position: relative;
}

.detail-info h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 22px;
    font-size: 16px;
}

.detail-info > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 16px;
}

.detail-genres {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.detail-genres span {
    color: var(--text-primary);
}

.detail-btns {
    display: flex;
    gap: 18px;
}

/* ============ FOOTER - PREMIUM ============ */
.footer {
    padding: 70px 60px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, transparent 0%, rgba(229, 9, 20, 0.03) 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    letter-spacing: 4px;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

.footer-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #00f5d4 0%, #00bbf9 100%);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 30px;
    transition: all var(--transition-smooth);
    box-shadow: 0 0 25px rgba(0, 245, 212, 0.3);
}

.footer-download:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 245, 212, 0.5);
}

.footer-download i {
    font-size: 22px;
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============ RESPONSIVE - TABLET ============ */
@media (max-width: 1200px) {
    .search-results-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .see-all-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {
    .navbar { padding: 15px 35px; }
    .hero-content { padding: 0 35px; }
    .content-section { padding: 0 35px; }
    
    .see-all-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .search-wrapper {
        margin-top: 70px;
        max-width: 90%;
    }
    
    .hero h1 {
        font-size: 46px;
    }
}

/* ============ RESPONSIVE - MOBILE ============ */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links, .profile-img, .download-btn { display: none; }
    .menu-toggle { display: flex; }
    .navbar { padding: 14px 18px; }
    .navbar.scrolled { padding: 10px 18px; }
    .logo { font-size: 26px; }
    
    /* Popup */
    .popup-box { padding: 28px 22px; max-width: 95%; border-radius: 18px; }
    .popup-icon { width: 70px; height: 70px; font-size: 28px; }
    .popup-box h2 { font-size: 22px; }
    .popup-instructions { padding: 16px; }
    .instruction-item { padding: 12px 0; flex-direction: column; text-align: center; gap: 10px; }
    .popup-btn { padding: 14px 32px; font-size: 15px; }
    
    /* Search */
    .search-wrapper {
        margin: 25px 18px 0;
        padding: 12px 22px;
        border-radius: 40px;
        max-width: calc(100% - 36px);
    }
    
    .search-wrapper i.fa-search { font-size: 18px; }
    .search-wrapper input { font-size: 16px; }
    
    .search-results { padding: 22px 18px; }
    
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .search-result-info { padding: 10px; }
    .search-result-title { font-size: 12px; }
    .search-result-meta { font-size: 10px; gap: 6px; }
    .search-result-type { font-size: 9px; padding: 2px 8px; }
    
    /* Hero */
    .hero { 
        height: 70vh; 
        min-height: 500px; 
        max-height: 620px;
        padding-bottom: 60px;
    }
    
    .hero-overlay {
        background: 
            linear-gradient(0deg, var(--bg-primary) 0%, rgba(10, 10, 15, 0.75) 35%, transparent 65%),
            linear-gradient(90deg, rgba(10, 10, 15, 0.95) 0%, transparent 75%);
    }
    
    .hero-content { 
        padding: 0 18px; 
        max-width: 100%; 
    }
    
    .hero-badge {
        padding: 5px 12px;
        font-size: 10px;
        margin-bottom: 14px;
    }
    
    .hero h1 { 
        font-size: 26px; 
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-meta { 
        font-size: 12px; 
        gap: 12px; 
        margin-bottom: 12px;
    }
    
    .badge { padding: 4px 10px; font-size: 10px; }
    
    .hero-desc { 
        font-size: 13px; 
        margin-bottom: 18px; 
        -webkit-line-clamp: 2;
        line-height: 1.5;
    }
    
    .hero-btns { gap: 12px; }
    
    .btn-play, .btn-info { 
        padding: 12px 22px; 
        font-size: 13px; 
        min-height: 46px;
        border-radius: 6px;
    }
    
    /* Content */
    .main-content { margin-top: -50px; }
    .content-section { padding: 0 15px; margin-bottom: 35px; }
    .section-header { margin-bottom: 14px; }
    .section-header h2 { font-size: 18px; gap: 10px; }
    .section-header h2 i { font-size: 16px; }
    .section-header h2::after { width: 35px; height: 2px; bottom: -5px; }
    .see-all-btn { font-size: 12px; padding: 8px 14px; }
    
    /* Cards */
    .card { width: 140px; }
    .card-img { height: 210px; }
    .card-info { padding: 10px; }
    .card-title { font-size: 13px; margin-bottom: 5px; }
    .card-meta { font-size: 11px; gap: 6px; }
    .card::after { width: 45px; height: 45px; font-size: 16px; }
    .skeleton { width: 140px; height: 210px; }
    
    /* Top 5 */
    .rank-number { 
        font-size: 140px; 
        margin-right: -25px; 
        -webkit-text-stroke: 3px var(--bg-elevated);
    }
    .top-5-poster { width: 110px; height: 165px; border-radius: 10px; }
    .top-5-row { gap: 25px; }
    
    .top-5-info {
        opacity: 1;
        visibility: visible;
        left: 60px;
        padding: 12px 10px 10px;
    }
    
    .top-5-title { font-size: 12px; -webkit-line-clamp: 1; margin-bottom: 6px; }
    .top-5-meta { font-size: 10px; gap: 8px; }
    
    /* Scroll arrows */
    .scroll-arrow { display: none; }
    
    /* Content Row */
    .content-row { gap: 12px; padding: 12px 0; }
    
    /* See All */
    .see-all-header { padding: 14px 18px; min-height: 58px; }
    .see-all-header h2 { font-size: 18px; }
    .see-all-header button { width: 40px; height: 40px; font-size: 18px; }
    
    .see-all-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .see-all-card { border-radius: 8px; }
    .see-all-card-info { padding: 8px; }
    .see-all-card-title { font-size: 11px; }
    .see-all-card-meta { font-size: 9px; }
    
    /* Detail */
    .detail-modal { padding: 0; align-items: flex-start; }
    .detail-box { max-height: 100vh; border-radius: 0; height: 100%; }
    .detail-banner { height: 220px; border-radius: 0; }
    .detail-close { width: 42px; height: 42px; font-size: 18px; top: 14px; right: 14px; }
    .detail-info { padding: 20px 18px 30px; margin-top: -40px; }
    .detail-info h1 { font-size: 24px; }
    .detail-meta { font-size: 13px; gap: 14px; }
    .detail-info > p { font-size: 14px; }
    .detail-btns { flex-direction: column; gap: 12px; }
    .detail-btns button { width: 100%; justify-content: center; }
    
    /* Footer */
    .footer { padding: 45px 18px; }
    .footer-logo { font-size: 32px; }
    .footer-download { padding: 12px 28px; font-size: 14px; }
}

/* ============ SMALL MOBILE ============ */
@media (max-width: 480px) {
    .hero { 
        height: 65vh; 
        min-height: 450px;
        max-height: 550px;
    }
    
    .hero h1 { font-size: 22px; }
    
    .hero-btns { width: 100%; }
    .btn-play, .btn-info { flex: 1; padding: 11px 16px; }
    
    .card { width: 120px; }
    .card-img { height: 180px; }
    .card-title { font-size: 12px; }
    .card::after { width: 40px; height: 40px; font-size: 14px; }
    .skeleton { width: 120px; height: 180px; }
    
    .rank-number { font-size: 110px; margin-right: -20px; }
    .top-5-poster { width: 95px; height: 143px; }
    .top-5-row { gap: 18px; }
    .top-5-info { left: 50px; padding: 10px 8px 8px; }
    .top-5-title { font-size: 11px; }
    .top-5-meta { font-size: 9px; }
    
    .see-all-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 8px;
        padding: 12px;
    }
    
    .see-all-card-title { font-size: 10px; }
    .see-all-card-meta { font-size: 8px; }
    
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .search-result-title { font-size: 11px; }
    .search-result-meta { font-size: 9px; }
}

/* ============ VERY SMALL ============ */
@media (max-width: 350px) {
    .see-all-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .card { width: 110px; }
    .card-img { height: 165px; }
}

/* ============ PRINT ============ */
@media print {
    .navbar, .mobile-menu, .overlay, .welcome-popup, 
    .search-modal, .see-all-modal, .detail-modal { display: none !important; }
}

/* ============================================
   ADDITION: LIVE SPORTS LANDSCAPE CARDS (RESPONSIVE)
   (appended – does not modify any existing styles)
============================================ */
.live-sports-row {
    display: flex;
    gap: 12px;
    scroll-behavior: smooth;
}
.live-sports-row .live-card {
    flex-shrink: 0;
    width: 280px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
}
.live-sports-row .live-card:hover {
    transform: scale(1.05);
}
.live-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.live-card-info {
    padding: 10px 12px;
    background: rgba(0,0,0,0.8);
}
.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}
.live-status {
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.live-card-info .card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}
.card-category {
    background: rgba(229, 9, 20, 0.9);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    color: #fff;
}
#liveSportsRow {
    display: flex;
    gap: 16px;
    scroll-behavior: smooth;
}
.skeleton-landscape {
    width: 280px;
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (max-width: 1024px) {
    .live-sports-row .live-card { width: 240px; }
    .skeleton-landscape { width: 240px; height: 156px; }
}
@media (max-width: 768px) {
    .live-sports-row .live-card { width: 170px; }
    .skeleton-landscape { width: 170px; height: 110px; }
    .live-card-info .card-title { font-size: 12px; }
    .live-badge { font-size: 10px; }
}