* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background: linear-gradient(135deg, #0c0c0c, #1a1a2e);
    color: #f0f0f0;
    overflow-x: hidden;
    transition: filter 0.5s ease;
    min-height: 100vh;
}

body.night-mode {
    filter: brightness(0.7) sepia(0.2) saturate(0.5);
}

header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #4a9df8;
    text-shadow: 0 0 10px rgba(74, 157, 248, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #4a9df8;
}

.header-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.control-btn {
    background: rgba(74, 157, 248, 0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.control-btn:hover {
    background: rgba(74, 157, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero {
    height: 60vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)),
    url('https://pub-8d92d2c8a55947bab19b290d6684103d.r2.dev/thisistheonelogo.png');
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    background-size: auto, contain;
    display: flex;
    align-items: center;
    padding: 0 40px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, transparent 50%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.highlight {
    color: #4a9df8;
    text-shadow: 0 0 15px rgba(74, 157, 248, 0.7);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
}

.hero-features {
    list-style: none;
    margin-top: 20px;
}

.hero-features li {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features li i {
    color: #4a9df8;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #4a9df8;
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.content-section {
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #4a9df8;
    position: relative;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 5px;
    background: #4a9df8;
    border-radius: 3px;
}

/* ===== SHOWS TREE STRUCTURE ===== */
.shows-tree {
    background: rgba(20, 20, 20, 0.7);
    border-radius: 10px;
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 157, 248, 0.2);
}

.show-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(30, 30, 30, 0.6);
    transition: all 0.3s ease;
}

.show-item.expanded {
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(74, 157, 248, 0.15);
}

.show-header {
    padding: 15px 20px;
    background: rgba(74, 157, 248, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #4a9df8;
    border-bottom: 1px solid rgba(74, 157, 248, 0.1);
    transition: all 0.3s ease;
}

.show-header:hover {
    background: rgba(74, 157, 248, 0.3);
}

.show-header.active {
    background: rgba(74, 157, 248, 0.4);
}

.show-header i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.show-header.active i {
    transform: rotate(90deg);
}

.seasons-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-left: 2px solid rgba(74, 157, 248, 0.1);
    margin-left: 10px;
}

.show-item.expanded .seasons-container {
    max-height: 2000px;
}

.season-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.season-item.expanded {
    background: rgba(40, 40, 40, 0.9);
    border-left: 3px solid #4a9df8;
    margin: 5px 0;
}

.season-header {
    padding: 12px 20px 12px 30px;
    background: rgba(40, 40, 40, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
}

.season-header:hover {
    background: rgba(50, 50, 50, 0.9);
}

.season-header i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #4a9df8;
}

.season-header.active i {
    transform: rotate(90deg);
}

.episodes-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(20, 20, 20, 0.8);
    border-left: 2px solid rgba(74, 157, 248, 0.05);
    margin-left: 10px;
}

.season-item.expanded .episodes-container {
    max-height: 1000px;
}

.episode-item {
    padding: 10px 20px 10px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.episode-item:hover {
    background: rgba(74, 157, 248, 0.15);
    border-left-color: #4a9df8;
}

.episode-item.active-episode {
    background: rgba(74, 157, 248, 0.25);
    border-left-color: #4a9df8;
    box-shadow: inset 0 0 10px rgba(74, 157, 248, 0.3);
}

.episode-item i {
    color: #4a9df8;
    font-size: 0.9rem;
}

.episode-title {
    font-size: 0.95rem;
    flex-grow: 1;
}

.episode-progress {
    font-size: 0.8rem;
    color: #888;
    min-width: 60px;
    text-align: right;
}

.player-section-content {
    display: flex;
    width: 100%;
    gap: 20px;
    position: relative;
}

.player-side-panel {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
    margin-top: 35px;
}

.player-center {
    flex: 1;
}

.player-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(74, 157, 248, 0.3);
}

.video-player {
    width: 100%;
    height: 450px;
    background: linear-gradient(45deg, #000, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9df8;
    font-size: 3rem;
    position: relative;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.now-playing {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #4a9df8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.donators {
    background: rgba(20, 20, 20, 0.95);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 217, 0, 0.733);
}

.donators h3 {
    color: gold;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255,215,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donator-list {
    list-style: none;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.donator-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: gold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group {
    background: rgba(20, 20, 20, 0.95);
    padding: 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 157, 248, 0.3);
}

.control-group-title {
    color: #4a9df8;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rain-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
    margin-top: 5px;
}

.rain-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(74, 157, 248, 0.2);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.rain-btn:hover {
    background: rgba(74, 157, 248, 0.4);
}

.rain-btn.active {
    background: rgba(74, 157, 248, 0.6);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.slider-container.expanded {
    max-height: 50px;
}

.rain-slider {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    outline: null;
}

.rain-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4a9df8;
    cursor: pointer;
}

.volume-icon {
    font-size: 0.9rem;
    color: #4a9df8;
}

footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(74, 157, 248, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(74, 157, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 157, 248, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.social-link:hover::after {
    opacity: 1;
}

.social-link:hover {
    background: #4a9df8;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(112, 174, 240, 0.863);
}

.social-link.paypal { background: rgba(133, 167, 229, 0.747); }
.social-link.patreon { background: rgba(255, 238, 85, 0.726); }
.social-link.kick { 
    background: rgba(37, 231, 118, 0.637); 
    font-weight: bold;
    font-size: 1.4rem;
}

.social-link.paypal:hover { background: #96b1e4; }
.social-link.patreon:hover { background: #e44242; }
.social-link.kick:hover { background: #94cfad; }

.social-link {
display:inline-flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
border-radius:6px;
text-decoration:none;
font-size:18px;
margin:0 6px;
transition: transform .12s, box-shadow .12s;
background: #f2f2f2;
color: #111;
}

.social-link:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }

.social-link.ko-fi {
background: #c4504e;
color: white;
}

.kofi-icon svg { display:block; width:18px; height:18px; }

footer p {
    color: #ffffff;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* ===== VIDEO PLAYER STYLES ===== */
#videoElement {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
    display: none;
    position: relative;
    z-index: 2;
}

#videoElement.ready {
    display: block;
}

/* Play overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-overlay .play-button {
    width: 60px;
    height: 60px;
    background: rgba(74, 157, 248, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-overlay .play-button:hover {
    background: rgba(74, 157, 248, 0.9);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 157, 248, 0.4);
}

/* Transparent controls that appear on hover */
#videoElement::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent) !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}

#videoPlayer:hover #videoElement::-webkit-media-controls-panel {
    opacity: 1;
}

#videoElement.paused::-webkit-media-controls-panel {
    opacity: 1;
}

#videoElement::-webkit-media-controls-play-button {
    background-color: rgba(74, 157, 248, 0.8);
    border-radius: 50%;
    padding: 8px;
    margin: 0 5px;
}

#videoElement::-webkit-media-controls-current-time-display,
#videoElement::-webkit-media-controls-time-remaining-display {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#videoElement::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 10px;
    height: 6px;
}

#videoElement::-webkit-media-controls-volume-slider-container,
#videoElement::-webkit-media-controls-volume-slider {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 6px;
}

#videoElement::-webkit-media-controls-mute-button {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 5px;
}

#videoElement::-webkit-media-controls-fullscreen-button {
    background-color: rgba(74, 157, 248, 0.3);
    border-radius: 4px;
    margin: 0 5px;
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(74, 157, 248, 0.3);
    border-radius: 50%;
    border-top-color: #4a9df8;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 15px;
    color: #4a9df8;
    font-size: 1.1rem;
}

.video-fade-in {
    animation: fadeInVideo 0.5s ease-in;
}

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

.progress-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #4a9df8;
    width: 0%;
    transition: width 0.3s ease;
    z-index: 5;
}

.season-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.95);
    padding: 10px 15px;
    border-radius: 30px;
    z-index: 1000;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 157, 248, 0.3);
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30,30,30,0.9);
    color: #4a9df8;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-left: 3px solid #4a9df8;
    transition: opacity 0.3s;
}

.sleep-timer-container {
    position: relative;
    display: inline-block;
}

.sleep-timer-dropdown {
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 8px;
    padding: 0 15px;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 157, 248, 0.3);
    z-index: 1000;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.5s ease;
}

.sleep-timer-dropdown.active {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 15px;
}

.sleep-timer-option {
    padding: 10px;
    margin: 5px 0;
    background: rgba(74, 157, 248, 0.2);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.sleep-timer-option:hover {
    background: rgba(74, 157, 248, 0.4);
}

.sleep-timer-option.active {
    background: rgba(74, 157, 248, 0.6);
}

.sleep-timer-status {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #4a9df8;
    text-align: center;
}

.control-btn.active-sleep-timer {
    background: rgba(74, 157, 248, 0.6);
    box-shadow: 0 0 10px rgba(74, 157, 248, 0.8);
    animation: pulse-sleep-timer 1.5s infinite alternate;
}

@keyframes pulse-sleep-timer {
    0% { box-shadow: 0 0 10px rgba(74, 157, 248, 0.8); }
    100% { box-shadow: 0 0 20px rgba(74, 157, 248, 1); }
}

.season-filter-panel {
    max-height: 0;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.95);
    padding: 0 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
    border: 1px solid rgba(74, 157, 248, 0.3);
    margin-top: 15px;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.season-filter-panel.active {
    max-height: 300px;
    padding: 15px;
}

.season-filter-title {
    color: #4a9df8;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.season-filter-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.season-filter-item {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.season-filter-item input {
    margin-right: 10px;
}

.season-filter-item label {
    font-size: 0.9rem;
    cursor: pointer;
}

.custom-timer-input {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    padding: 0 5px;
}

.custom-timer-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(74, 157, 248, 0.3);
    border-radius: 5px;
    color: white;
    padding: 8px;
    font-size: 0.9rem;
}

.custom-timer-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.custom-timer-input button {
    padding: 8px 12px;
    white-space: nowrap;
    background: rgba(74, 157, 248, 0.2);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-timer-input button:hover {
    background: rgba(74, 157, 248, 0.4);
}

.control-btn.active-shuffle {
    background: rgba(74, 157, 248, 0.6);
    box-shadow: 0 0 10px rgba(74, 157, 248, 0.8);
    animation: pulse-sleep-timer 1.5s infinite alternate;
}

.random-episode-status-display {
    margin-top: 20px;
    text-align: center;
    display: none;
    background: rgba(20, 20, 20, 0.95);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(74, 157, 248, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.random-episode-status-display.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cancel-timer-btn {
    background: rgba(255, 0, 0, 0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.cancel-timer-btn:hover {
    background: rgba(255, 0, 0, 0.4);
}

/* Mobile optimization for tree */
@media (max-width: 768px) {
    .shows-tree {
        padding: 15px;
        max-height: 500px;
    }
    
    .show-header {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .season-header {
        padding: 10px 15px 10px 25px;
        font-size: 0.9rem;
    }
    
    .episode-item {
        padding: 8px 15px 8px 30px;
        font-size: 0.85rem;
    }
    
    .episode-title {
        font-size: 0.85rem;
    }
}

/* Compact tree for very small screens */
@media (max-width: 480px) {
    .shows-tree {
        padding: 10px;
        max-height: 400px;
    }
    
    .show-header {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .season-header {
        padding: 8px 12px 8px 20px;
        font-size: 0.85rem;
    }
    
    .episode-item {
        padding: 6px 12px 6px 25px;
        font-size: 0.8rem;
    }
    
    .episode-progress {
        display: none;
    }
}

/* Responsive design */
@media (max-width: 992px) {
    .player-section-content {
        flex-direction: column;
    }
    
    .player-side-panel {
        flex: 0 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 0;
    }
    
    .player-side-panel > * {
        flex: 1;
        min-width: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .video-player {
        height: 350px;
    }
    
    .header-controls {
        position: static;
        transform: none;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
    
    header {
        flex-direction: column;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .header-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero {
        height: 50vh;
        margin-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .video-player {
        height: 300px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 45vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .video-player {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .player-side-panel > * {
        min-width: 100%;
    }
    
    .control-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(20,20,20,0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(74, 157, 248, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a9df8;
}
/* ===== PAGE NAVIGATION DROPDOWN STYLES ===== */
.sleep-timer-dropdown .sleep-timer-option.active {
    background: rgba(74, 157, 248, 0.4);
    cursor: default;
}

.sleep-timer-dropdown .sleep-timer-option.active:hover {
    background: rgba(74, 157, 248, 0.4);
    transform: none;
}

/* Ensure navigation dropdown has proper z-index */
.sleep-timer-container .sleep-timer-dropdown {
    z-index: 1001;
}
/* Add this to your existing styles.css */

/* ===== HEADER LEFT STYLES ===== */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

#pageNavContainer {
    position: relative;
}

/* Style for the navigation dropdown button in header-left */
#pageNavContainer .control-btn {
    background: rgba(74, 157, 248, 0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

#pageNavContainer .control-btn:hover {
    background: rgba(74, 157, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Navigation dropdown in header-left */
#pageNavContainer .sleep-timer-dropdown {
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 8px;
    padding: 0 15px;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 157, 248, 0.3);
    z-index: 1001;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.5s ease;
}

#pageNavContainer .sleep-timer-dropdown.active {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 15px;
}

#pageNavContainer .sleep-timer-option {
    padding: 10px;
    margin: 5px 0;
    background: rgba(74, 157, 248, 0.2);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

#pageNavContainer .sleep-timer-option:hover {
    background: rgba(74, 157, 248, 0.4);
}

#pageNavContainer .sleep-timer-option.active {
    background: rgba(74, 157, 248, 0.6);
    opacity: 0.7;
    cursor: default;
}

/* Update header styles */
header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Remove the old header-controls positioning */
.header-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    /* Remove position: absolute and transform */
    position: static;
    transform: none;
}

/* Responsive design for header */
@media (max-width: 992px) {
    .header-controls {
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
    }
    
    header {
        flex-direction: row;
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 20px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .header-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #pageNavContainer {
        align-self: flex-start;
    }
}
/* Header left styling */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

#pageNavContainer {
    position: relative;
}

/* Navigation dropdown styling */
#pageNavContainer .sleep-timer-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 8px;
    padding: 10px;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 157, 248, 0.3);
    z-index: 1001;
    display: none;
}

#pageNavContainer .sleep-timer-dropdown.active {
    display: block;
}

#pageNavContainer .sleep-timer-option {
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    margin: 2px 0;
}

#pageNavContainer .sleep-timer-option:hover {
    background: rgba(74, 157, 248, 0.3);
}

#pageNavContainer .sleep-timer-option.active {
    background: rgba(74, 157, 248, 0.2);
    cursor: default;
}

/* Responsive header */
@media (max-width: 768px) {
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    #pageNavContainer {
        align-self: flex-start;
    }
}
/* Add to your existing styles.css file */

/* Improve season filter panel */
.season-filter-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.season-filter-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: background-color 0.2s;
}

.season-filter-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.season-filter-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.season-filter-item label {
    flex: 1;
    cursor: pointer;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.season-filter-title {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 1.1rem;
    color: #4a9df8;
}

/* Night mode adjustments */
.night-mode .season-filter-item {
    background: rgba(0, 0, 0, 0.2);
}

.night-mode .season-filter-item:hover {
    background: rgba(0, 0, 0, 0.3);
}