/* CSS untuk Player Sodokin */
.responsive-player {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    background: #000; /* Background hitam untuk menonjolkan video */
}

.responsive-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.poster-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.poster-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar menutupi area tanpa mengubah proporsi */
}

.play-button {
    position: absolute;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    background: linear-gradient(135deg, rgba(214,41,41,0.85) 0%, rgba(173,21,21,0.85) 100%);
    box-shadow: 0 6px 18px rgba(214,41,41,0.35), inset 0 1px 3px rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.play-button svg {
    width: 52px;
    height: 52px;
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.play-button:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(226,55,55,0.95) 0%, rgba(185,30,30,0.95) 100%);
    box-shadow: 0 10px 24px rgba(214,41,41,0.45), inset 0 1px 4px rgba(255,255,255,0.2);

}

.play-button svg {
    fill: #FFF;
    width: 60px; /* Ukuran ikon play */
    height: 60px;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Latar belakang lebih gelap saat hover */
}

.video-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Jarak antara toggle dan tombol server */
}

#toggle-controls {
    width: 30px;
    height: 30px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    object-fit: contain;
    border: none;
    padding: 0;
    background: none;
    display: inline-block;
}

#toggle-controls:hover {
    opacity: 1;
}

.btn-server {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block; /* Tampilkan tombol server secara default */
    text-align: center;
    z-index: 10; /* Pastikan tombol server di atas elemen lain */
}

.btn-server.active {
    background-color: #005177;
}

@media only screen and (max-width: 600px) {
    .btn-server {
        font-size: 10px;
        padding: 2px 6px;
    }
}
