/* Watch Page Styles */
.watch-page {
    background: #000;
    color: white;
}

.navbar.dark {
    background: rgba(0, 0, 0, 0.95);
}

.navbar.dark a {
    color: white;
}

.container-fluid {
    max-width: 100%;
    padding: 0;
}

.player-section {
    padding-top: 60px;
    min-height: 100vh;
}

.player-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    height: calc(100vh - 60px);
}

.video-container {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.video-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.video-placeholder p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.video-placeholder small {
    font-size: 0.875rem;
    opacity: 0.6;
}

.video-controls {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.controls-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.video-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.video-title p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.controls-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn-large {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn-large:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.controls-bottom {
    width: 100%;
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.progress-filled {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.1s;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.time-display {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.player-info {
    background: #1a1a1a;
    overflow-y: auto;
}

.info-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-tab {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.info-tab:hover {
    color: white;
}

.info-tab.active {
    color: white;
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 1.5rem;
}

.tab-content.active {
    display: block;
}

.audio-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.audio-btn {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.audio-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.episode-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    position: relative;
}

.episode-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.episode-item.active {
    background: var(--primary-color);
}

.episode-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.episode-item.active .episode-number {
    background: rgba(255, 255, 255, 0.2);
}

.episode-details {
    flex: 1;
}

.episode-details h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.episode-details p {
    font-size: 0.75rem;
    opacity: 0.7;
}

.now-playing {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.details-content {
    color: white;
}

.details-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.details-description {
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.details-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-label {
    font-weight: 600;
}

.meta-value {
    opacity: 0.8;
}

.download-cta {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 968px) {
    .player-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .video-container {
        min-height: 60vh;
    }
    
    .player-info {
        max-height: 500px;
    }
}
