:root{

--video-swiper-theme-color: #b37757;
}

.video-swiper {
width: 100%;
max-width: 850px;
border-radius1: 20px;
overflow: hidden;
background: #000;
box-shadow: 0 20px 50px rgba(0,0,0,0.8);
position: relative;
}

.video-container {
position: relative;
width: 100%;
padding-bottom: 56.25%;
height: 0;
background: #000;
}

.video-container iframe,
.video-container .yt-player,
.video-container .native-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
object-fit: cover;
}

.drag-shield {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 5;
display: none;
cursor: grab;
}

.drag-shield:active {
cursor: grabbing;
}

.drag-shield.is-active {
display: block;
}

.video-cover {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 10;
transition: opacity 0.4s ease;
}

.video-cover.is-hidden {
opacity: 0;
pointer-events: none;
}

.custom-play-btn {
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.95);
border-radius: 40px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
transition: transform 0.2s, background-color 0.2s;
}

.video-cover:hover .custom-play-btn {
transform: scale(1.1);
background: #fff;
}

.custom-play-btn::after {
content: '';
display: block;
width: 0;
height: 0;
border-style: solid;
border-width: 12px 0 12px 22px;
border-color: transparent transparent transparent var(--video-swiper-theme-color);
margin-left: 6px;
}

.custom-controls {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: linear-gradient(transparent, rgba(0,0,0,0.95));
padding: 20px 25px 15px 25px;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 12px;
z-index: 15;
}

.controls-row {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}

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

.volume-block {
display: flex;
align-items: center;
gap: 8px;
}

.timeline-slider,
.volume-slider {
-webkit-appearance: none;
appearance: none;
background: rgba(255, 255, 255, 0.25);
border-radius: 2px;
outline: none;
cursor: pointer;
}

.timeline-slider {
width: 100%;
height: 6px;
}

.volume-slider {
width: 70px;
height: 4px;
}

.timeline-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
border-radius: 6px;
background: var(--video-swiper-theme-color);
}

.timeline-slider::-moz-range-thumb {
width: 14px;
height: 14px;
border-radius: 6px;
background: var(--video-swiper-theme-color);
}

.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 12px;
border-radius: 6px;
background: var(--video-swiper-theme-color);
}

.volume-slider::-moz-range-thumb {
width: 12px;
height: 12px;
border-radius: 6px;
background: var(--video-swiper-theme-color);
}

.ctrl-btn {
background: none;
border: none;
color: #fff;
font-size: 13px;
font-weight: 600;
cursor: pointer;
padding: 6px 12px;
border-radius: 6px;
transition: background 0.2s;
}

.ctrl-btn:hover {
background: rgba(255,255,255,0.15);
}

.swiper-button-next, .swiper-button-prev {
color: var(--video-swiper-theme-color) !important;
z-index: 25;
background: rgba(255,255,255,0.9);
border-radius: 50%;
width: 50px !important;

height: 50px !important;
display: flex;
justify-content: center;
align-items: center;
}

.swiper-button-next::after, .swiper-button-prev::after {
font-size: 18px !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
background: rgba(255,255,255,1);
}

.swiper-pagination {
z-index: 25;
}

.swiper-pagination-bullet {
background: #aaa;
opacity: 0.7;
border-radius: 6px;
}

.swiper-pagination-bullet-active {
background: var(--video-swiper-theme-color) !important;
opacity: 1;
}