/* VIDEO LIGHTBOX OVERRIDES */
#videoLightbox .lb-stage,
#homeVideoLightbox .lb-stage,
.video-lightbox-stage {
    width: 90vw !important;
    max-width: 960px !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    background: #000 !important;
    border-radius: 0 !important;
}

#videoLightbox .lb-figure,
#homeVideoLightbox .lb-figure {
    max-height: none !important;
}

.otorite-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #090d16;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    user-select: none;
    -webkit-user-select: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    outline: none;
}

.otorite-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.otorite-player .yt-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    cursor: pointer;
    background: #000;
}

.otorite-player .yt-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

/* BIG CENTER PLAY / PAUSE BUTTON OVERLAY */
.otorite-player .player-big-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 72px;
    height: 72px;
    background: rgba(255, 107, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, opacity 0.3s, border-color 0.2s;
}

.otorite-player:hover .player-big-play {
    transform: translate(-50%, -50%) scale(1.12);
}

.otorite-player.is-playing .player-big-play {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.otorite-player.is-paused .player-big-play {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid #ff6b00;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

.otorite-player.is-paused:hover .player-big-play {
    background: #ff6b00;
    transform: translate(-50%, -50%) scale(1.12);
}

.otorite-player .player-big-play svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

/* CONTROL BAR OVERLAY */
.otorite-player .player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0.6) 70%, transparent 100%);
    padding: 20px 16px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.otorite-player.is-playing.idle .player-controls {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* PROGRESS BAR / TIMELINE */
.otorite-player .player-timeline-wrapper {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: height 0.15s ease;
}

.otorite-player .player-timeline-wrapper:hover {
    height: 10px;
}

.otorite-player .player-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b00 0%, #ff8c00 100%);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.otorite-player .player-progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    transition: transform 0.15s ease;
}

.otorite-player .player-timeline-wrapper:hover .player-progress-bar::after {
    transform: translateY(-50%) scale(1);
}

/* CONTROL ROW */
.otorite-player .player-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.otorite-player .player-left-controls,
.otorite-player .player-right-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BUTTON STYLES */
.otorite-player .player-btn {
    background: transparent;
    border: none;
    color: #e2e8f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s, transform 0.1s;
}

.otorite-player .player-btn:hover {
    color: #ff6b00;
    background: rgba(255, 255, 255, 0.1);
}

.otorite-player .player-btn:active {
    transform: scale(0.92);
}

.otorite-player .player-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* TIME DISPLAY */
.otorite-player .player-time {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

/* VOLUME CONTAINER */
.otorite-player .player-volume-group {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.otorite-player .player-volume-slider {
    width: 0px;
    opacity: 0;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: width 0.25s ease, opacity 0.25s ease;
}

.otorite-player .player-volume-group:hover .player-volume-slider {
    width: 60px;
    opacity: 1;
}

.otorite-player .player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b00;
}

/* SPEED MENU SELECTOR */
.otorite-player .player-speed-btn {
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: #e2e8f0;
}

.otorite-player .player-speed-btn:hover {
    background: #ff6b00;
    color: #fff;
}
