.dekho-player-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dekho-player-16-9 {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.dekho-player-video,
.dekho-player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background-color: transparent;
}

.dekho-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10;
    color: white;
    text-align: center;
    transition: opacity 0.3s ease;
}

.dekho-player-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Spinner */
.dekho-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: dekho-spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Episodes Sidebar Custom Styles */
#episodesSidebar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.season-section {
    position: relative;
}

.episode-btn {
    position: relative;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.episode-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.episode-btn:active {
    transform: translateY(0);
}

.episode-btn.active-episode {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
}

/* Sticky Headers with Blur for Modern UI */
.season-section > div.sticky {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-top: 4px;
}

