:root {
--bg-base: #060608;
--bg-surface: #0e0e12;
--bg-surface-2: #16161c;
--bg-surface-3: #1e1e26;
--bg-glass: rgba(14,14,18,0.8);
--bg-glass-heavy: rgba(6,6,8,0.92);
--bg-card: #12121a;
--brand-primary: #E50914;
--brand-primary-hover: #ff0f1c;
--brand-primary-dim: rgba(229,9,20,0.12);
--brand-accent: #00D4FF;
--brand-accent-dim: rgba(0,212,255,0.1);
--brand-gold: #FFD700;
--brand-green: #46d369;
--brand-glow: 0 0 30px rgba(229,9,20,0.35);
--text-primary: #FFFFFF;
--text-secondary: #b3b3c4;
--text-tertiary: #6b6b80;
--text-muted: #454555;
--border-subtle: rgba(255,255,255,0.05);
--border-light: rgba(255,255,255,0.09);
--border-medium: rgba(255,255,255,0.16);
--border-focus: rgba(229,9,20,0.6);
--radius-xs: 4px;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-xl: 24px;
--radius-pill: 999px;
--transition-snap: 0.15s ease;
--transition-fast: 0.22s ease;
--transition-normal: 0.32s cubic-bezier(0.4,0,0.2,1);
--transition-slow: 0.55s cubic-bezier(0.4,0,0.2,1);
--transition-spring: 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
--shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
--shadow-md: 0 8px 24px rgba(0,0,0,0.55);
--shadow-lg: 0 16px 48px rgba(0,0,0,0.75);
--shadow-glow: var(--brand-glow);
--navbar-h: 70px;
--bottom-nav-h: 60px;
}

/* GLOBAL RESET & FIX HORIZONTAL SCROLL */
*, *::before, *::after {
margin: 0; padding: 0; box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
background: var(--bg-base);
color: var(--text-primary);
font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100vh; overflow-x: hidden; line-height: 1.5;
width: 100%; max-width: 100vw; /* FIXED HORIZONTAL SCROLL BUG */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input { font-family: inherit; outline: none; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-3); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }

/* PROGRESS BAR & TOAST */
#progress-bar-outer { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 99999; pointer-events: none; opacity: 0; transition: opacity 0.25s; }
#progress-bar-inner { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-primary), #ff6b6b, var(--brand-accent)); box-shadow: 0 0 12px var(--brand-primary); transition: width 0.25s ease-out; border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
.toast-wrap { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 99998; opacity: 0; transition: var(--transition-normal); pointer-events: none; }
.toast-wrap.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-inner { background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-light); color: white; padding: 12px 24px 12px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); white-space: nowrap; }
.toast-icon { font-size: 16px; }
.toast-inner.success .toast-icon { color: var(--brand-green); }
.toast-inner.error .toast-icon { color: var(--brand-primary); }
.toast-inner.info .toast-icon { color: var(--brand-accent); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--navbar-h); z-index: 5000; display: flex; justify-content: space-between; align-items: center; padding: 0 4%; background: linear-gradient(to bottom, rgba(6,6,8,0.95) 0%, transparent 100%); transition: var(--transition-normal); }
.navbar.scrolled { background: var(--bg-glass); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-bottom: 1px solid var(--border-subtle); box-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.navbar.nav-hidden { transform: translateY(-100%); }
.nav-left { display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 26px; font-weight: 900; letter-spacing: -1.5px; color: var(--brand-primary); text-shadow: 0 0 30px rgba(229,9,20,0.5); transition: var(--transition-fast); user-select: none; }
.logo:hover { transform: scale(1.04); }
.logo-icon { width: 36px; height: 36px; background: var(--brand-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: white; box-shadow: var(--brand-glow); flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; }
.nav-btn { background: transparent; border: none; color: var(--text-secondary); font-size: 15px; font-weight: 500; cursor: pointer; padding: 8px 16px; border-radius: var(--radius-pill); transition: var(--transition-fast); }
.nav-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-btn.active { color: var(--text-primary); font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* SEARCH BAR (FIXED BUGS) */
.search-wrap { position: relative; }
.search-bar { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); border-radius: var(--radius-pill); padding: 9px 18px; width: 300px; transition: var(--transition-normal); backdrop-filter: blur(10px); }
.search-bar:focus-within { background: rgba(255,255,255,0.09); border-color: var(--border-focus); width: 380px; max-width: 100%; box-shadow: 0 0 0 3px rgba(229,9,20,0.1); }
.search-bar input { background: transparent; border: none; color: var(--text-primary); font-size: 14px; flex: 1; }
.search-bar input::placeholder { color: var(--text-tertiary); }
.search-icon-btn, .voice-btn { color: var(--text-tertiary); cursor: pointer; transition: var(--transition-fast); }
.search-icon-btn:hover, .voice-btn:hover { color: var(--text-primary); }
.voice-btn.recording { color: white; animation: pulse-mic 1.2s ease-in-out infinite; }
@keyframes pulse-mic { 0%,100% { color: var(--brand-primary); } 50% { color: white; text-shadow: 0 0 12px var(--brand-primary); } }

/* SEARCH DROPDOWN */
.search-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 100%; min-width: 400px; background: var(--bg-surface-2); border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 5001; display: none; flex-direction: column; overflow: hidden; animation: dropIn 0.22s ease forwards; }
.search-dropdown.active { display: flex; }
@keyframes dropIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.sdrop-label { padding: 12px 18px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-tertiary); }
.sdrop-item { display: flex; align-items: center; gap: 14px; padding: 10px 18px; cursor: pointer; transition: var(--transition-snap); border-top: 1px solid var(--border-subtle); }
.sdrop-item:hover { background: rgba(255,255,255,0.04); }
.sdrop-img { width: 40px; height: 58px; border-radius: 6px; object-fit: cover; }
.sdrop-info { flex: 1; min-width: 0; }
.sdrop-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdrop-meta { font-size: 12px; color: var(--text-secondary); margin-top: 3px; display: flex; gap: 10px; align-items: center; }
.sdrop-type { background: var(--brand-primary-dim); color: var(--brand-primary); padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sdrop-recent { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; }
.sdrop-pill { background: var(--bg-surface-3); border: 1px solid var(--border-light); color: var(--text-secondary); padding: 5px 14px; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; transition: var(--transition-fast); }
.sdrop-pill:hover { background: var(--border-medium); color: white; }

/* NOTIFICATIONS & MOBILE TOGGLES */
.notif-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-fast); position: relative; font-size: 16px; }
.notif-btn:hover { color: white; background: rgba(255,255,255,0.1); }
.notif-badge { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; background: var(--brand-primary); border-radius: 50%; border: 2px solid var(--bg-base); }
.mobile-search-toggle { display: none; background: none; border: none; color: white; font-size: 20px; cursor: pointer; padding: 6px; }

/* OTT TABS */
.ott-section { padding-top: calc(var(--navbar-h) + 20px); padding-bottom: 10px; }
.ott-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 0 4%; }
.ott-label::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); max-width: 80px; }
.ott-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4% 12px; scrollbar-width: none; }
.ott-scroll::-webkit-scrollbar { display: none; }
.ott-chip { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 40px; min-width: 80px; padding: 0 18px; background: var(--bg-surface-2); border: 1px solid var(--border-light); border-radius: var(--radius-pill); cursor: pointer; transition: var(--transition-normal); position: relative; overflow: hidden; }
.ott-chip:hover { transform: translateY(-2px); border-color: var(--border-medium); box-shadow: var(--shadow-sm); }
.ott-chip.active { border-color: var(--brand-primary); background: var(--brand-primary-dim); box-shadow: 0 0 20px rgba(229,9,20,0.15); }
.ott-logo { height: 20px; max-width: 80px; object-fit: contain; }
.ott-logo.invert { filter: invert(1) brightness(0.9); }
.ott-text { font-size: 13px; font-weight: 800; letter-spacing: -0.3px; }

/* HERO SHOWCASE */
.hero-section { padding: 0 4%; margin-bottom: 50px; }
.hero-stage { position: relative; width: 100%; height: 72vh; min-height: 560px; max-height: 860px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.9); }
.hero-track { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(0.25,1,0.5,1); }
.hero-slide { min-width: 100%; height: 100%; position: relative; background-size: cover; background-position: center 15%; background-repeat: no-repeat; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,6,8,0.97) 0%, rgba(6,6,8,0.5) 45%, rgba(6,6,8,0.05) 100%); }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,6,8,1) 0%, rgba(6,6,8,0.2) 35%, transparent 70%); }
.hero-content { position: absolute; bottom: 10%; left: 5%; max-width: 700px; z-index: 2; }
.hero-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.badge-rank { background: var(--brand-primary); color: white; padding: 3px 10px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.badge-type { background: rgba(255,255,255,0.12); color: #ddd; padding: 3px 10px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; text-transform: uppercase; backdrop-filter: blur(6px); }
.badge-quality { border: 1px solid rgba(255,215,0,0.5); color: var(--brand-gold); padding: 3px 10px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; }
.hero-title { font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 900; line-height: 1.05; margin-bottom: 16px; color: white; text-shadow: 0 4px 24px rgba(0,0,0,0.7); letter-spacing: -1px; }
.hero-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 15px; color: #d0d0d8; font-weight: 500; flex-wrap: wrap; }
.hero-rating { display: flex; align-items: center; gap: 5px; }
.hero-stars { display: flex; gap: 2px; }
.star-filled { color: var(--brand-gold); font-size: 12px; }
.star-empty { color: var(--text-muted); font-size: 12px; }
.hero-dot-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--text-tertiary); }
.hero-desc { font-size: 16px; color: #b8b8c8; line-height: 1.65; margin-bottom: 30px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-hero-play { background: white; color: #0a0a0f; border: none; padding: 14px 32px; border-radius: var(--radius-pill); font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: var(--transition-fast); }
.btn-hero-play:hover { background: rgba(255,255,255,0.85); transform: scale(1.04); }
.btn-hero-info { background: rgba(80,80,90,0.55); color: white; border: none; padding: 14px 28px; border-radius: var(--radius-pill); font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: var(--transition-fast); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); }
.btn-hero-info:hover { background: rgba(100,100,110,0.75); transform: scale(1.04); }
.btn-hero-watchlist { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); color: white; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-fast); backdrop-filter: blur(10px); }
.btn-hero-watchlist:hover, .btn-hero-watchlist.in-list { background: var(--brand-primary); border-color: var(--brand-primary); transform: scale(1.1); }
.hero-controls { position: absolute; bottom: 24px; right: 4%; z-index: 2; display: flex; align-items: center; gap: 16px; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: var(--transition-normal); }
.hero-dot.active { background: white; width: 24px; border-radius: var(--radius-pill); }

/* CONTENT ROWS (HORIZONTAL SCROLL) */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 0 4px; }
.section-title { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-title i { color: var(--brand-primary); font-size: 18px; }
.see-all-btn { font-size: 13px; font-weight: 700; color: var(--brand-accent); cursor: pointer; display: flex; align-items: center; gap: 5px; border: none; background: none; }
.see-all-btn:hover { color: white; gap: 8px; }
.content-rows { padding: 0 4% 20px; }
.row-section { margin-bottom: 48px; }
.hz-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.hz-row::-webkit-scrollbar { display: none; }
.row-card { flex-shrink: 0; width: 155px; cursor: pointer; transition: var(--transition-normal); border-radius: var(--radius-md); overflow: hidden; position: relative; }
.row-card:hover { transform: scale(1.08) translateY(-4px); z-index: 5; }
.row-card-img-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.row-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.row-card:hover img { transform: scale(1.06); }
.row-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,6,8,0.92) 0%, transparent 55%); opacity: 0; transition: var(--transition-fast); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.row-card:hover .row-card-overlay { opacity: 1; }
.row-card-play { width: 36px; height: 36px; background: var(--brand-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: white; margin-bottom: 8px; box-shadow: 0 0 16px rgba(229,9,20,0.6); transform: scale(0.7); opacity: 0; transition: var(--transition-spring); }
.row-card:hover .row-card-play { transform: scale(1); opacity: 1; }
.row-card-title { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-card-meta { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.rank-badge, .card-rank, .card-new-badge { position: absolute; top: 8px; left: 8px; z-index: 3; background: var(--brand-primary); color: white; border-radius: 6px; font-size: 11px; font-weight: 900; padding: 2px 7px; }
.card-new-badge { left: auto; right: 8px; background: var(--brand-green); }

/* CONTROLS BAR (FILTERS, SORT, VIEW) */
.controls-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; padding: 0 4% 0; }
.controls-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.view-heading { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.view-heading i { color: var(--brand-primary); }
.lang-tabs { display: flex; background: var(--bg-surface-2); border-radius: var(--radius-pill); padding: 4px; gap: 2px; border: 1px solid var(--border-subtle); }
.lang-btn { background: transparent; border: none; color: var(--text-secondary); padding: 6px 16px; border-radius: var(--radius-pill); cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition-fast); }
.lang-btn.active { background: var(--bg-surface-3); color: white; }
.lang-btn:hover:not(.active) { color: var(--text-primary); }
.controls-right { display: flex; align-items: center; gap: 8px; }
.ctrl-btn { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--bg-surface-2); border: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-fast); }
.ctrl-btn:hover { color: white; background: var(--bg-surface-3); border-color: var(--border-light); }
.ctrl-btn.active { background: var(--brand-primary-dim); border-color: rgba(229,9,20,0.3); color: var(--brand-primary); }

/* MOOD BAR & ADVANCED FILTER PANEL */
.mood-bar { padding: 0 4% 20px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.mood-bar::-webkit-scrollbar { display: none; }
.mood-chip { flex-shrink: 0; display: flex; align-items: center; gap: 7px; background: var(--bg-surface-2); border: 1px solid var(--border-light); color: var(--text-secondary); padding: 7px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition-fast); white-space: nowrap; }
.mood-chip:hover { border-color: var(--border-medium); color: white; background: var(--bg-surface-3); }
.mood-chip.active { background: var(--brand-primary-dim); border-color: rgba(229,9,20,0.4); color: var(--brand-primary); }
.filter-panel { display: none; padding: 28px 4% 32px; background: var(--bg-surface-2); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); margin-bottom: 28px; animation: slideDown 0.3s ease; }
.filter-panel.open { display: block; }
@keyframes slideDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.filter-group h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 16px; }
.genre-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-tag { background: var(--bg-surface-3); border: 1px solid var(--border-light); color: var(--text-secondary); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; transition: var(--transition-fast); }
.genre-tag:hover { color: white; border-color: var(--border-medium); }
.genre-tag.active { background: var(--brand-primary-dim); border-color: rgba(229,9,20,0.4); color: var(--brand-primary); }
.range-wrap { margin-top: 8px; }
.range-slider { width: 100%; accent-color: var(--brand-primary); cursor: pointer; height: 4px; }
.range-display { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--text-secondary); }
.range-val { color: white; font-weight: 700; font-size: 15px; }
.filter-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.btn-ghost { background: transparent; border: 1px solid var(--border-medium); color: var(--text-secondary); padding: 9px 22px; border-radius: var(--radius-pill); cursor: pointer; }
.btn-primary { background: var(--brand-primary); color: white; border: none; padding: 9px 24px; border-radius: var(--radius-pill); cursor: pointer; font-weight: 700; }

/* MEDIA GRID (MAIN CARDS) */
.media-section { padding: 0 4%; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; padding-bottom: 40px; transition: var(--transition-normal); }
.media-grid.list-view { grid-template-columns: 1fr; gap: 12px; }
.media-card { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: var(--transition-normal); display: flex; flex-direction: column; background: var(--bg-card); }
.media-grid:not(.list-view) .media-card:hover { transform: translateY(-10px) scale(1.04); z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.08); }
.card-img-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; width: 100%; border-radius: var(--radius-md); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.3s ease; }
.media-card:hover .card-img { transform: scale(1.06); filter: brightness(0.45); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,8,0.96) 0%, rgba(6,6,8,0.25) 45%, rgba(6,6,8,0.05) 100%); opacity: 0; transition: opacity 0.28s ease; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; }
.media-card:hover .card-overlay { opacity: 1; }
.card-top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.card-wl-btn { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.15); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-fast); font-size: 11px; z-index: 5; }
.card-wl-btn:hover, .card-wl-btn.in-list { background: var(--brand-primary); border-color: var(--brand-primary); color: white; transform: scale(1.15); }
.card-star { background: rgba(0,0,0,0.7); color: var(--brand-gold); border-radius: 5px; font-size: 11px; font-weight: 700; padding: 3px 8px; display: flex; align-items: center; gap: 4px; border: 1px solid rgba(255,193,7,0.2); }
.card-center { display: flex; align-items: center; justify-content: center; flex: 1; }
.card-play-btn { width: 52px; height: 52px; background: rgba(229,9,20,0.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; transform: scale(0.5); opacity: 0; transition: var(--transition-spring); box-shadow: 0 0 28px rgba(229,9,20,0.7); }
.media-card:hover .card-play-btn { transform: scale(1); opacity: 1; }
.card-bottom { display: flex; flex-direction: column; gap: 3px; }
.card-title { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.card-meta { font-size: 11px; color: var(--text-secondary); font-weight: 500; }
.card-bottom-info { transform: translateY(8px); opacity: 0; transition: var(--transition-normal); }
.media-card:hover .card-bottom-info { transform: translateY(0); opacity: 1; }

/* LIST VIEW */
.media-grid.list-view .media-card { flex-direction: row; height: 185px; background: var(--bg-surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.media-grid.list-view .media-card:hover { transform: none; border-color: var(--border-light); box-shadow: var(--shadow-md); z-index: 1; }
.media-grid.list-view .card-img-wrap { width: 120px; height: 100%; border-radius: var(--radius-md) 0 0 var(--radius-md); aspect-ratio: unset; flex-shrink: 0; }
.media-grid.list-view .card-overlay { display: none; }
.media-grid.list-view .card-img { filter: none; transform: none; }
.card-list-info { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.media-grid:not(.list-view) .card-list-info { display: none; }
.card-list-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card-list-meta { font-size: 14px; color: var(--text-secondary); display: flex; gap: 14px; margin-bottom: 10px; }
.card-list-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-list-actions { display: flex; gap: 10px; margin-top: 14px; }
.card-list-btn { padding: 7px 16px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; border: none; cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; gap: 6px; }
.card-list-btn.play { background: var(--brand-primary); color: white; }
.card-list-btn.play:hover { background: var(--brand-primary-hover); }
.card-list-btn.info { background: rgba(255,255,255,0.08); color: var(--text-primary); border: 1px solid var(--border-light); }

/* CONTINUE WATCHING & COLLECTION BANNER & EMPTY STATES */
.continue-card { flex-shrink: 0; width: 240px; cursor: pointer; border-radius: var(--radius-md); overflow: hidden; position: relative; background: var(--bg-card); transition: var(--transition-normal); }
.continue-card:hover { transform: scale(1.04) translateY(-4px); z-index: 5; box-shadow: var(--shadow-lg); }
.continue-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.continue-img { width: 100%; height: 100%; object-fit: cover; }
.continue-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition-fast); }
.continue-card:hover .continue-overlay { opacity: 1; }
.continue-play { width: 50px; height: 50px; background: var(--brand-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; }
.continue-progress { height: 3px; background: rgba(255,255,255,0.15); }
.continue-progress-bar { height: 100%; background: var(--brand-primary); }
.continue-info { padding: 10px 12px; }
.continue-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.continue-sub { font-size: 11px; color: var(--text-secondary); margin-top: 3px; }
.continue-remove { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; background: rgba(0,0,0,0.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 11px; cursor: pointer; opacity: 0; transition: var(--transition-fast); border: 1px solid rgba(255,255,255,0.1); }
.continue-card:hover .continue-remove { opacity: 1; }
.continue-remove:hover { background: var(--brand-primary); color: white; }

.collection-banner { margin: 0 4% 48px; border-radius: var(--radius-xl); overflow: hidden; position: relative; min-height: 180px; background: linear-gradient(135deg, #1a0020 0%, #0d0d30 50%, #001a1a 100%); border: 1px solid rgba(255,255,255,0.06); cursor: pointer; transition: var(--transition-normal); }
.collection-banner:hover { transform: scale(1.01); box-shadow: var(--shadow-lg); }
.collection-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.2; filter: blur(2px); }
.collection-banner-glow { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(229,9,20,0.15) 0%, rgba(0,212,255,0.08) 100%); }
.collection-banner-content { position: relative; z-index: 1; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.collection-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 8px; }
.collection-title { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; }
.collection-sub { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.collection-cta { flex-shrink: 0; background: var(--brand-primary); color: white; border: none; padding: 12px 24px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; transition: var(--transition-fast); }
.collection-cta:hover { background: var(--brand-primary-hover); transform: scale(1.04); }

.stats-bar { display: flex; gap: 24px; padding: 0 4% 28px; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 8px; }
.stat-num { font-size: 22px; font-weight: 900; color: var(--brand-primary); }
.stat-label { font-size: 13px; color: var(--text-tertiary); font-weight: 500; }
.stat-divider { width: 1px; height: 28px; background: var(--border-subtle); }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-icon-wrap { width: 90px; height: 90px; border-radius: 50%; background: var(--bg-surface-2); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--text-muted); margin-bottom: 8px; }
.empty-title { font-size: 22px; font-weight: 700; color: var(--text-secondary); }
.empty-subtitle { font-size: 15px; color: var(--text-tertiary); }
.load-more-area { text-align: center; padding: 10px 0 60px; }
.btn-load-more { background: var(--bg-surface-2); color: white; border: 1px solid var(--border-light); padding: 14px 40px; border-radius: var(--radius-pill); cursor: pointer; font-size: 15px; font-weight: 700; transition: var(--transition-fast); display: inline-flex; align-items: center; gap: 10px; }
.btn-load-more:hover { background: var(--bg-surface-3); border-color: var(--border-medium); transform: scale(1.03); }

/* MODALS (QUICK VIEW + FULL DETAILS) */
.modal-veil { position: fixed; inset: 0; background: rgba(0,0,0,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 8000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.28s ease; }
.modal-veil.open { display: flex; opacity: 1; }
.modal-x-btn { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: white; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 8010; transition: var(--transition-fast); }
.modal-x-btn:hover { background: var(--brand-primary); border-color: var(--brand-primary); transform: rotate(90deg) scale(1.1); }
.qv-box { background: var(--bg-surface); width: 92%; max-width: 860px; border-radius: var(--radius-xl); border: 1px solid var(--border-light); display: none; overflow: hidden; position: relative; transform: scale(0.92); transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275); box-shadow: 0 30px 80px rgba(0,0,0,0.85); max-height: 92vh; overflow-y: auto; }
.modal-veil.open .qv-box { transform: scale(1); }
.qv-layout { display: flex; min-height: 400px; }
.qv-poster-col { width: 320px; flex-shrink: 0; position: relative; background: var(--bg-base); }
.qv-poster-col img { width: 100%; height: 100%; object-fit: cover; }
.qv-poster-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--bg-surface) 100%); pointer-events: none; }
.qv-body { padding: 36px 32px; flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.qv-title { font-size: 30px; font-weight: 900; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.5px; }
.qv-meta-row { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.qv-year { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.qv-rating-pill { background: rgba(255,193,7,0.12); color: var(--brand-gold); border: 1px solid rgba(255,193,7,0.25); padding: 3px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 5px; }
.qv-quality { background: var(--bg-surface-3); color: var(--text-secondary); border: 1px solid var(--border-light); padding: 3px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; }
.qv-genres { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.qv-genre-tag { background: var(--bg-surface-3); border: 1px solid var(--border-light); color: var(--text-secondary); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; }
.qv-desc { font-size: 15px; color: #bbbbc8; line-height: 1.65; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qv-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-qv-play { background: var(--brand-primary); color: white; border: none; padding: 12px 26px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; gap: 9px; }
.btn-qv-play:hover { background: var(--brand-primary-hover); transform: scale(1.04); }
.btn-qv-trailer { background: rgba(255,255,255,0.07); color: white; border: 1px solid var(--border-medium); padding: 12px 22px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; gap: 9px; }
.btn-qv-trailer:hover { background: rgba(255,255,255,0.12); }
.btn-qv-wl { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--border-medium); color: white; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-fast); }
.btn-qv-wl:hover, .btn-qv-wl.in-list { background: var(--brand-primary); border-color: var(--brand-primary); }

.fv-box { width: 100%; height: 100%; background: var(--bg-base); display: none; overflow-y: auto; position: relative; transform: translateY(60px); transition: transform 0.38s cubic-bezier(0.4,0,0.2,1); }
.modal-veil.open .fv-box { transform: translateY(0); }
.fv-ambient { position: fixed; top: 0; left: 0; width: 100%; height: 70vh; background-size: cover; background-position: center; opacity: 0.1; mask-image: linear-gradient(to bottom, black 0%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%); z-index: -1; filter: blur(30px); pointer-events: none; }
.fv-content { max-width: 1400px; margin: 0 auto; padding: 36px 4% 60px; }
.player-wrapper { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius-xl); overflow: hidden; position: relative; margin-bottom: 24px; box-shadow: 0 30px 70px rgba(0,0,0,0.9); border: 1px solid rgba(255,255,255,0.06); }
.player-iframe { width: 100%; height: 100%; border: none; display: block; }
.player-controls { background: var(--bg-surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 18px 24px; margin-bottom: 44px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.server-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.server-tab { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid transparent; padding: 8px 18px; border-radius: var(--radius-pill); cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition-fast); display: flex; align-items: center; gap: 7px; }
.server-tab:hover { background: rgba(255,255,255,0.09); color: white; }
.server-tab.active { background: var(--brand-primary-dim); border-color: rgba(229,9,20,0.35); color: var(--brand-primary); }
.server-tab.active i { color: var(--brand-primary); }
.ep-row { display: flex; align-items: center; gap: 12px; }
.ep-input-box { display: flex; align-items: center; background: var(--bg-surface-3); border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; }
.ep-label { padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--brand-primary); border-right: 1px solid var(--border-light); }
.ep-input-box input { background: transparent; border: none; color: white; width: 44px; font-size: 15px; font-weight: 700; text-align: center; padding: 6px 8px; }
.btn-ep-play { background: var(--brand-primary); color: white; border: none; padding: 8px 16px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 700; transition: var(--transition-fast); }
.btn-ep-play:hover { background: var(--brand-primary-hover); }

.fv-info-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; margin-bottom: 48px; }
.fv-poster { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.fv-title { font-size: 44px; font-weight: 900; line-height: 1.05; margin-bottom: 14px; letter-spacing: -1px; }
.fv-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-secondary); font-size: 15px; font-weight: 500; margin-bottom: 20px; align-items: center; }
.fv-rating-pill { background: rgba(255,193,7,0.1); color: var(--brand-gold); border: 1px solid rgba(255,193,7,0.2); padding: 4px 12px; border-radius: var(--radius-pill); display: flex; align-items: center; gap: 6px; font-weight: 700; }
.fv-desc { font-size: 17px; color: #c0c0d0; line-height: 1.7; margin-bottom: 30px; }
.fv-tabs { display: flex; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid var(--border-subtle); }
.fv-tab { background: transparent; border: none; color: var(--text-tertiary); padding: 12px 20px; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition-fast); position: relative; letter-spacing: 0.3px; }
.fv-tab:hover { color: var(--text-secondary); }
.fv-tab.active { color: white; }
.fv-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--brand-primary); border-radius: 2px; }
.fv-tab-pane { display: none; }
.fv-tab-pane.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.social-bar { display: flex; gap: 12px; align-items: center; }
.social-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-secondary); cursor: pointer; transition: var(--transition-fast); }
.social-btn:hover { transform: translateY(-4px); background: white; color: #0a0a0f; }
.social-btn.twitter:hover { background: #1DA1F2; border-color: #1DA1F2; color: white; }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; color: white; }
.social-btn.wl:hover, .social-btn.wl.in-list { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }

.hz-people { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.hz-people::-webkit-scrollbar { display: none; }
.person-card { flex-shrink: 0; width: 100px; text-align: center; cursor: pointer; }
.person-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 2px solid transparent; transition: var(--transition-fast); }
.person-card:hover .person-avatar { border-color: var(--brand-primary); transform: scale(1.07); }
.person-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-role { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-related { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.hz-related::-webkit-scrollbar { display: none; }
.related-card { flex-shrink: 0; width: 150px; cursor: pointer; transition: var(--transition-fast); border-radius: var(--radius-md); overflow: hidden; }
.related-card:hover { transform: translateY(-5px); }
.related-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.related-title { font-size: 13px; font-weight: 600; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* MOBILE BOTTOM NAV */
.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 6000; background: var(--bg-glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: 1px solid var(--border-subtle); padding: 0 0 max(0px, env(safe-area-inset-bottom)); justify-content: space-around; align-items: stretch; height: var(--bottom-nav-h); }
.bnav-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: none; color: var(--text-muted); font-size: 9px; font-weight: 700; cursor: pointer; transition: var(--transition-fast); text-transform: uppercase; letter-spacing: 0.5px; }
.bnav-btn i { font-size: 19px; transition: var(--transition-normal); }
.bnav-btn.active { color: var(--brand-primary); }
.bnav-btn.active i { transform: scale(1.18); }
.bnav-btn:not(.active):hover { color: var(--text-secondary); }

/* RESPONSIVE (BUG FIXES) */
@media (max-width: 1200px) { .fv-info-grid { grid-template-columns: 240px 1fr; gap: 36px; } }
@media (max-width: 992px) {
.nav-links { display: none; }
.fv-info-grid { grid-template-columns: 1fr; }
.fv-poster { display: none; }
.fv-title { font-size: 32px; }
.qv-poster-col { width: 240px; }
.search-bar { width: 220px; }
.search-bar:focus-within { width: 280px; }
}
@media (max-width: 768px) {
:root { --navbar-h: 60px; }
.bottom-nav { display: flex; }
body { padding-bottom: var(--bottom-nav-h); }
.navbar { padding: 0 4%; }
.logo { font-size: 22px; }
.search-bar { display: none; }
.mobile-search-toggle { display: block; }

/* SEARCH BAR MOBILE FIX: NOW PREVENTS OFF-SCREEN ISSUE */
.search-wrap.mobile-open .search-bar {
display: flex; position: absolute; top: calc(100% + 8px); right: 0;
width: calc(100vw - 32px); max-width: calc(100vw - 32px); /* Fixed width expanding issue */
background: var(--bg-surface-2); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
}
.search-wrap.mobile-open .search-dropdown { right: 0; width: calc(100vw - 32px); min-width: auto; }

.hero-section { padding: 0 3%; margin-bottom: 36px; }
.hero-stage { height: 58vh; min-height: 380px; }
.hero-title { font-size: 2.2rem; }
.hero-desc { font-size: 14px; -webkit-line-clamp: 2; }
.hero-badges { flex-wrap: wrap; }
.btn-hero-play, .btn-hero-info { padding: 11px 20px; font-size: 14px; }
.btn-hero-watchlist { width: 44px; height: 44px; }
.controls-bar { padding: 0 3%; }
.view-heading { font-size: 22px; }
.media-section { padding: 0 3%; }
.media-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.media-grid.list-view .media-card { height: 150px; }
.media-grid.list-view .card-img-wrap { width: 105px; }
.card-list-title { font-size: 16px; }
.card-list-desc { display: none; }
.content-rows { padding: 0 3% 10px; }
.row-card { width: 130px; }
.row-skel { width: 130px; }
.continue-card { width: 200px; }
.qv-layout { flex-direction: column; }
.qv-poster-col { width: 100%; height: 260px; }
.qv-poster-col img { object-position: top center; }
.qv-poster-gradient { background: linear-gradient(0deg, var(--bg-surface) 0%, transparent 60%); }
.qv-body { padding: 20px 22px 28px; }
.qv-title { font-size: 22px; }
.qv-actions { flex-wrap: wrap; }
.btn-qv-play, .btn-qv-trailer { flex: 1; justify-content: center; }
.fv-content { padding: 24px 3% 50px; }
.fv-title { font-size: 26px; }
.fv-desc { font-size: 15px; }
.player-controls { flex-direction: column; align-items: stretch; }
.server-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.server-tab { flex-shrink: 0; }
.collection-banner { margin: 0 3% 36px; }
.collection-banner-content { flex-direction: column; align-items: flex-start; }
.collection-title { font-size: 22px; }
.stats-bar { gap: 16px; padding: 0 3% 20px; }
.stat-num { font-size: 18px; }
.mood-bar { padding: 0 3% 16px; }
.ott-scroll { padding: 4px 3% 12px; }
.ott-section { padding-top: calc(var(--navbar-h) + 10px); }
}
@media (max-width: 480px) {
.hero-actions { flex-direction: column; width: 100%; }
.btn-hero-play, .btn-hero-info { justify-content: center; }
.btn-hero-watchlist { display: none; }
.media-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.row-card { width: 110px; }
.continue-card { width: 170px; }
.fv-tab { padding: 10px 14px; font-size: 13px; }
.stat-divider { display: none; }
}

@media (hover: none), (max-width: 768px) {
.media-grid:not(.list-view) .media-card .card-overlay { opacity: 1; background: linear-gradient(to top, rgba(6,6,8,0.9) 0%, rgba(6,6,8,0.1) 42%, transparent 100%); }
.media-grid:not(.list-view) .media-card .card-play-btn { transform: scale(1); opacity: 1; }
.media-grid:not(.list-view) .media-card .card-bottom-info { transform: translateY(0); opacity: 1; }
.media-grid:not(.list-view) .media-card .card-img { filter: brightness(0.72); }
.media-grid:not(.list-view) .media-card:hover { transform: none; box-shadow: none; }
.media-grid:not(.list-view) .media-card .card-play-btn { width: 42px; height: 42px; font-size: 16px; }
.row-card .row-card-overlay { opacity: 1; background: linear-gradient(0deg, rgba(6,6,8,0.85) 0%, transparent 55%); }
.row-card .row-card-play { transform: scale(0.85); opacity: 1; }
.row-card:hover { transform: none; }
}