@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --primary: #ff0f39;
    --primary-glow: rgba(255, 15, 57, 0.6);
    --secondary: #1a1a24;
    --bg-dark: #050508;
    --surface-glass: rgba(255, 255, 255, 0.03);
    --surface-glass-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.07);
    --text-main: #ffffff;
    --text-muted: #9aa0a6;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-round: 50px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6, .logo, .hero-title, .row-title {
    font-family: 'Outfit', sans-serif;
}

/* Ambient Glow Orbs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    animation: float 20s infinite alternate ease-in-out;
}
.glow-1 { top: -10%; left: -10%; width: 40vw; height: 40vw; background: rgba(255, 15, 57, 0.15); }
.glow-2 { bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: rgba(20, 20, 40, 0.8); }

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo {
    color: var(--text-main);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span.dot {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    background: var(--surface-glass);
    padding: 6px;
    border-radius: var(--border-radius-round);
    border: 1px solid var(--glass-border);
    position: relative;
    backdrop-filter: blur(10px);
}

.nav-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    width: 0px;
    background: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
    border-radius: var(--border-radius-round);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
    pointer-events: none;
}

.nav-links li { position: relative; z-index: 1; display: flex; }

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--border-radius-round);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a:hover { color: #fff; background: var(--surface-glass-hover); }
.nav-links a.active { color: #fff; background: transparent; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: var(--border-radius-round);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #d60527 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 15, 57, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 15, 57, 0.6);
}
.btn-primary:hover::after {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-glass {
    background: var(--surface-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border: 1px solid var(--glass-border);
}
.btn-glass:hover {
    background: var(--surface-glass-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

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

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    background-size: cover;
    background-position: center 20%;
    /* Parallax effect managed by JS mostly, but attachment fixed helps on desktop */
    background-attachment: scroll; 
    transition: background-image 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Soft gradient overlay focusing attention left and bottom */
    background: linear-gradient(90deg, #050508 0%, rgba(5,5,8,0.7) 40%, transparent 100%),
                linear-gradient(0deg, #050508 0%, transparent 40%);
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    z-index: 10;
    position: relative;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-content.fade-out { opacity: 0; transform: translateY(30px); }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 15, 57, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 15, 57, 0.3);
    padding: 6px 14px;
    border-radius: var(--border-radius-round);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.15;
    margin-top: 10px;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.7;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Grid / Rows */
.row { margin: 60px 0; position: relative; }
.row-header { padding: 0 5%; margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; }
.row-title {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.row-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.row-container { position: relative; width: 100%; }

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 54px; height: 54px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.row-container:hover .scroll-btn { opacity: 1; transform: translateY(-50%) scale(1); }
.scroll-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-50%) scale(1.1);
}
.scroll-btn.left { left: 2%; }
.scroll-btn.right { right: 2%; }

.posters {
    display: flex;
    gap: 20px;
    padding: 30px 5% 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.posters::-webkit-scrollbar { display: none; }

/* Premium Cards */
.card {
    min-width: 300px;
    width: 300px;
    aspect-ratio: 16/9;
    background: var(--secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.card:hover {
    transform: scale(1.08) translateY(-12px);
    z-index: 100;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.2);
    border-color: transparent;
}

.card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
}
.card:hover img { transform: scale(1.05); }

.card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, #050508 0%, rgba(5,5,8,0.4) 50%, transparent 100%);
    opacity: 0.8; transition: var(--transition); z-index: 1;
}
.card:hover::after { opacity: 0.95; background: linear-gradient(to top, #050508 0%, rgba(5,5,8,0.7) 60%, transparent 100%); }

.card-actions {
    position: absolute;
    top: 42%; left: 50%;
    transform: translate(-50%, -32%) scale(0.9);
    opacity: 0;
    display: flex; gap: 15px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}
.card:hover .card-actions { opacity: 1; transform: translate(-50%, -42%) scale(1); }

.card-actions .btn-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    color: white; border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.card-actions .btn-icon.play-btn { background: var(--primary); border-color: var(--primary); box-shadow: 0 5px 15px var(--primary-glow); }
.card-actions .btn-icon:hover { transform: scale(1.15); background: #fff; color: var(--bg-dark); border-color: #fff; box-shadow: 0 8px 25px rgba(255,255,255,0.4); }

.card-info {
    position: absolute;
    bottom: 10px; width: 100%;
    padding: 24px;
    opacity: 0.9;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 5;
}
.card:hover .card-info { opacity: 1; transform: translateY(0); }

.card-title {
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
    font-weight: 600;
}
.card-meta .rating { display: flex; align-items: center; gap: 4px; color: #ffca28; }
.card-meta .quality-badge { border: 1px solid rgba(255,15,57,0.5); color: var(--primary); padding: 2px 6px; border-radius: 4px; background: rgba(255,15,57,0.1); font-size: 0.7rem; }

/* Details View Refinements */
.details-bg {
    position: fixed; inset: 0;
    background-size: cover; background-position: center top;
    z-index: -2; opacity: 0.2; filter: blur(20px);
}
.details-bg::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, #050508 0%, rgba(5,5,8,0.8) 50%, #050508 100%),
                linear-gradient(to top, #050508 0%, transparent 100%);
}

.details-container {
    padding: 120px 5% 50px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.details-poster {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px var(--glass-border);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease;
}
.details-poster:hover { transform: perspective(1000px) rotateY(0deg); }

.details-title { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.details-meta { display: flex; gap: 15px; margin-bottom: 30px; align-items: center; }
.details-desc { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 800px; line-height: 1.8; margin-bottom: 40px; }

/* View Management */
.view-section { display: none; opacity: 0; transition: opacity 0.4s ease; }
.view-section.active { display: block; opacity: 1; }

body.player-active .navbar, body.player-active #main-footer { display: none !important; }

#main-footer {
    width: 100%;
    margin-top: auto;
}

/* Inactive view sections should have zero effect on page height */
.view-section:not(.active) {
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .details-container { grid-template-columns: 1fr; padding-top: 100px; }
    .details-poster { max-width: 300px; margin: 0 auto; transform: none; }
    .hero-title { font-size: 3.5rem; }
    .nav-links { display: none; }
    .nav-left { gap: 20px; }
    .card { width: 240px; min-width: 240px; }
}

/* Profiles Menu */
.profile-avatar { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), #8a0014); border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: var(--transition-fast); }
.profile-avatar:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); box-shadow: 0 5px 15px var(--primary-glow); }
.profile-dropdown-container { position: relative; }
.profile-dropdown {
    position: absolute; top: calc(100% + 15px); right: 0;
    width: 280px; background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(25px); border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg); padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}
.profile-dropdown.show { opacity: 1; transform: translateY(0); pointer-events: all; }

/* Universal Player UI enhancements */
#player-root { position: fixed; inset: 0; background: #000; z-index: 9999; }

/* Premium Back Button */
#player-back-btn {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100000;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
}

#player-back-btn:hover {
    background: rgba(229, 9, 20, 0.15);
    border-color: rgba(229, 9, 20, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}

#player-back-btn.idle-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

#player-back-btn .material-icons {
    font-size: 24px;
    transition: transform 0.3s ease;
}

#player-back-btn:hover .material-icons {
    transform: translateX(-4px);
}
.seek-container { width: 100%; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; position: relative; cursor: pointer; transition: height 0.2s; }
.seek-container:hover { height: 8px; }
.seek-progress { position: absolute; height: 100%; background: var(--primary); border-radius: 3px; width: 0%; box-shadow: 0 0 10px var(--primary-glow); }
.seek-handle { position: absolute; width: 16px; height: 16px; background: #fff; border-radius: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); box-shadow: 0 0 10px rgba(0,0,0,0.5); transition: transform 0.2s; }
.seek-container:hover .seek-handle { transform: translate(-50%, -50%) scale(1); }
.control-row { width: 100%; display: flex; align-items: center; gap: 25px; color: #fff; }
.control-icon, .play-btn { cursor: pointer; transition: var(--transition-fast); }
.control-icon:hover, .play-btn:hover { color: var(--primary); transform: scale(1.1); text-shadow: 0 0 15px var(--primary-glow); }
.play-btn { font-size: 45px; } .control-icon { font-size: 30px; }

/* Huge Search Overlay */
.search-page-hero { height: 40vh; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle at center, rgba(255, 15, 57, 0.1) 0%, transparent 60%); border-bottom: 1px solid var(--glass-border); margin-bottom: 40px; }
.huge-search-container { position: relative; width: 80%; max-width: 900px; }
.huge-search-input { width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.2); font-size: 3.5rem; color: #fff; padding: 15px 15px 15px 70px; outline: none; transition: var(--transition); font-family: 'Outfit'; font-weight: 700; }
.huge-search-input:focus { border-bottom-color: var(--primary); }
.huge-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 3.5rem; color: var(--text-muted); }

/* Forms & Admin Dashboard Defaults */
.media-preview-container { max-width: 400px; max-height: 250px; margin-top: 15px; border-radius: var(--border-radius-md); overflow: hidden; }
.media-preview-container img { width: 100%; height: auto; max-height: 250px; display: block; object-fit: cover; }
.form-control { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); padding: 14px 20px; border-radius: var(--border-radius-md); color: #fff; width: 100%; outline: none; transition: var(--transition-fast); font-family: 'Inter'; font-size: 1rem; }
.form-control:focus { background: rgba(255,255,255,0.08); border-color: var(--primary); box-shadow: 0 0 15px rgba(255,15,57,0.2); }
.dashboard-grid { display: grid; gap: 30px; }
.dashboard-card { background: var(--surface-glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius-lg); padding: 30px; backdrop-filter: blur(10px); }

/* Sidebar */
.sidebar { background: rgba(5,5,8,0.95); backdrop-filter: blur(30px); border-right: 1px solid var(--glass-border); }
.nav-btn { display: flex; align-items: center; gap: 12px; padding: 15px 25px; color: var(--text-muted); text-decoration: none; transition: var(--transition-fast); border-left: 3px solid transparent; font-weight: 500; cursor: pointer; }
.nav-btn:hover { background: var(--surface-glass-hover); color: #fff; }
.nav-btn.active { background: linear-gradient(90deg, rgba(255,15,57,0.1), transparent); border-left-color: var(--primary); color: #fff; font-weight: 600; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Custom Selects */
.custom-select-wrapper { position: relative; width: 100%; }
.custom-select { display: flex; align-items: center; justify-content: space-between; background: var(--surface-glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius-md); padding: 15px 20px; color: #fff; cursor: pointer; transition: var(--transition-fast); }
.custom-select:hover { background: var(--surface-glass-hover); }
.custom-select.active { border-color: var(--primary); box-shadow: 0 0 15px var(--primary-glow); }
.custom-options {
    position: absolute; top: calc(100% + 5px); left: 0; right: 0;
    background: rgba(10,10,15,0.95); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: var(--border-radius-md);
    max-height: 300px; overflow-y: auto; z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.custom-options.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.custom-option { padding: 14px 20px; cursor: pointer; transition: 0.2s; border-bottom: 1px solid rgba(255,255,255,0.03); }
.custom-option:hover { background: rgba(255,255,255,0.05); color: var(--primary); }
.custom-option.selected { background: rgba(255,15,57,0.1); color: var(--primary); font-weight: bold; }

/* Side Drawer (Episodes) */
.side-drawer { position: absolute; top: 0; right: -350px; width: 350px; height: 100%; background: rgba(5,5,8,0.95); backdrop-filter: blur(20px); border-left: 1px solid var(--glass-border); transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); z-index: 1000; display: flex; flex-direction: column; }
.side-drawer.show { right: 0; }
.drawer-header { padding: 30px; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
.drawer-header h3 { font-size: 1.5rem; color: #fff; }
.drawer-close { cursor: pointer; color: var(--text-muted); transition: 0.3s; font-size: 28px; }
.drawer-close:hover { color: var(--primary); transform: rotate(90deg); }
.episode-list { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.ep-drawer-card { background: var(--surface-glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius-md); padding: 15px; cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; gap: 15px; }
.ep-drawer-card:hover { background: var(--surface-glass-hover); transform: translateX(-5px); border-color: rgba(255,255,255,0.2); }
.ep-drawer-card.active { border-color: var(--primary); background: rgba(255,15,57,0.1); }
.ep-drawer-card .ep-num { font-size: 1.2rem; font-weight: 800; color: var(--primary); font-family: 'Outfit'; width: 30px; text-align: center; }
.ep-drawer-card .ep-title { font-weight: 600; color: #fff; font-size: 0.95rem; }

/* Menu Button Player */
.menu-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: var(--border-radius-round); cursor: pointer; transition: 0.3s; color: #fff; backdrop-filter: blur(10px); border: 1px solid var(--glass-border); }
.menu-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }
.back-btn { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #fff; text-decoration: none; transition: 0.3s; font-weight: 600; }
.back-btn:hover { color: var(--primary); transform: translateX(-5px); }

/* Regression Fixes */
#media-slot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; overflow: hidden; }

.profile-dropdown a { display: flex; align-items: center; gap: 10px; color: var(--text-muted); text-decoration: none; padding: 12px; border-radius: 8px; transition: var(--transition-fast); }
.profile-dropdown a:hover { background: var(--surface-glass-hover); color: #fff; }
.profile-header { display: flex; align-items: center; gap: 15px; padding: 10px; }
.profile-avatar-large { width: 45px; height: 45px; background: linear-gradient(135deg, var(--primary), #8a0014); border-radius: 12px; }
.profile-info h4 { margin: 0; font-size: 1.1rem; color: #fff; font-weight: 600; }
.profile-info p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.profile-divider { height: 1px; background: var(--glass-border); margin: 10px 0; }

.details-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.rating-section { background: var(--surface-glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius-lg); padding: 25px; margin-top: 20px; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.stars { display: flex; gap: 8px; margin-bottom: 10px; }
.stars .material-icons { color: #555; cursor: pointer; transition: transform 0.2s; font-size: 36px; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.stars .material-icons:hover { transform: scale(1.15); }