body {
    background-color: #000;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 10px auto;
  }

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px; /* Ukuran default untuk desktop */
    width: auto; /* Biarkan lebar menyesuaikan secara otomatis */
    margin-right: 10px;
}

.logo-text {
    color: #e94560; /* Ungu Muda */
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

/* Sembunyikan teks logo jika gambar logo ada */
.logo-container .logo-image + .logo-text {
    display: none;
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #000;
}

.search-form input[type="search"] {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #000;
    border-radius: 5px;
    margin-right: 10px;
    max-width: 200px;
}

.search-form button {
    padding: 10px 10px;
    font-size: 16px;
    background-color: #e94560;
    color: #e0e0e0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #ec1e40;
}

.navbar {
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #0f3460;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.nav-toggle .hamburger {
    width: 25px;
    height: 3px;
    background-color: #fff;
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    width: 25px;
    height: 3px;
    background-color: #fff;
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.nav-toggle .hamburger::before {
    top: -8px;
}

.nav-toggle .hamburger::after {
    top: 8px;
}

/* Ketika toggle diaktifkan, hambuger berubah jadi "X" */
.nav-toggle.active .hamburger {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(90deg);
}

/* Styling untuk tautan navigasi */
.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.navbar .nav-links li {
    margin-left: 10px;
}

.navbar .nav-links a {
    color: #29BAC6;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, background-color 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar .nav-links a:hover {
    color: #fff;
    background-color: #e94560;
}

/* Responsivitas untuk layar kecil */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #000; /* Biru Lebih Gelap */
        position: absolute;
        top: 70px;
        border: 2px solid transparent; /* Biru Tua */
        z-index: 999;
    }

    .navbar .nav-links.nav-links-visible {
        display: flex;
    }

    .navbar .nav-links li {
        margin: 10px 0;
        border-bottom: 1px solid #0f3460;
    }

    .navbar .nav-links a {
        padding: 10px 0;
    }
}

.content-container {
    display: flex;
    flex-direction: column;
    margin: 5px;
}

.video-and-ads {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.video-player-container {
    flex: 3;
    background-color: #16213e; /* Biru Lebih Gelap */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.video-player-title {
    color: #e0e0e0;
    margin-bottom: 20px;
}

iframe {
    width: 900px;
    height: 500px; /* Anda dapat menyesuaikan tinggi sesuai kebutuhan */
    border-radius: 8px;
    border: none;
}

@media (max-width: 768px) {
    iframe {
        width: 300px;
        height: 520px;
    }
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.video-description {
    margin-top: 15px;
    color: #e0e0e0;
    text-align: center;
}

.cuans {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 20px;
}

.cuan {
    width: 300px;
    height: 250px;
    background-color: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
}

.cuan-image {
    width: 300px;
    height: 250px;
    object-fit: cover;
}

.cuan-below-description {
    margin-top: 20px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.cuan-below-description .cuan-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cuanpanjang {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
}

.cuanpanjang .cuan-image {
    max-width: 100%;
    height: auto;
}

.cuan728x90 {
    text-align: center;
    margin: 20px 0;
}

.cuan728x90 img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Iklan 300x50 - Mobile */
.cuan300x50 {
    display: none;
    text-align: center;
    margin: 0; /* Tidak ada margin */
}

.cuan300x50 img {
    width: 100%;
    max-width: 300px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cuan728x90 {
        display: none;
    }
    .cuan300x50 {
        display: block;
    }
    .bannerheadermobile {
        text-align: center;
        margin: 20px 0;
        padding: 10px 0;
    }
    .bannerheadermobile {
        max-width: 100%;
        height: auto;
    }
    .cuan-below-description {
        display: none;
    }
    .video-and-ads {
        flex-direction: column;
    }
    .cuans {
        margin-top: 10px;
        align-self: center;
    }
}

.download-button-container {
    text-align: center;
    margin-top: 5px;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    background-color: #e94560; /* Ungu Muda */
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #d83450; /* Warna hover */
}

.thank-you-text {
    color: #e94560;
}

.related-videos {
    width: 100%;
}

.related-videos h2 {
    margin-bottom: 10px;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.video-item {
    background-color: #0f3460; /* Biru Tua */
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    object-fit: contain;
    background-color: #0f3460;
    z-index: 1;
  }

.video-item:hover .video-preview {
    display: block; /* Tampilkan video saat di-hover */
}

.play-preview {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    background-color: #e94560;
    border: 1px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: none;
}

.play-preview:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .play-preview {
        display: block;
    }
}

.thumbnail-container {
    position: relative;
    display: flex;
    justify-content: center;
    height: auto;
}

.thumbnail {
    width: 50%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: auto; /* Menjaga rasio aspek */
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opsional: menambahkan bayangan */
}

.thumbnailch {
    width: 100%; /* Membuat gambar memenuhi lebar kontainer */
    height: 200px; /* Tinggi tetap untuk semua gambar */
    object-fit: cover; /* Memastikan gambar terlihat sepenuhnya tanpa terpotong */
    background-color: #0f3460; /* Opsional: latar belakang untuk mengisi area kosong */
}

.thumbnailch2 {
    width: 100%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: 200px; /* Menjaga rasio aspek */
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opsional: menambahkan bayangan */
}

.thumbnailkr {
    width: 60%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: 300px; /* Menjaga rasio aspek */
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opsional: menambahkan bayangan */
}

.thumbnailkr2 {
    width: 40%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: 300px; /* Menjaga rasio aspek */
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opsional: menambahkan bayangan */
}

.thumbnailasd {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #16213e; /* Biru Lebih Gelap */
}

.thumbnailjav {
    width: 100%; /* Membuat gambar memenuhi lebar kontainer */
    height: 200px; /* Tinggi tetap untuk semua gambar */
    object-fit: cover; /* Memastikan gambar terlihat sepenuhnya tanpa terpotong */
}

.thumbnailjav2 {
    width: 50%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: 200px; /* Menjaga rasio aspek */
    object-fit: cover;
}

.thumbnailbck {
    width: 50%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: auto; /* Menjaga rasio aspek */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opsional: menambahkan bayangan */
}

.thumbnailbck2 {
    width: 30%; /* Membuat dua gambar berdampingan tanpa jarak */
    height: auto; /* Menjaga rasio aspek */
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Opsional: menambahkan bayangan */
}

.video-item .title {
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal; /* Mengizinkan teks untuk membungkus */
    height: auto; /* Mengizinkan tinggi dinamis */
}

.video-item .video-info {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 14px;
    color: #b0b0b0; /* Warna teks yang lebih terang */
    margin-top: 5px;
}

.video-item .upload-date,
.video-item .duration {
    font-size: 14px;
    color: #b0b0b0;
}

.video-item .duration i {
    margin-right: 5px; /* Spasi antara ikon dan teks */
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr; /* Satu item per baris */
    }
}

.server-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.server-selection-text {
    font-size: 18px;
    color: #e0e0e0;
    margin: 0 auto;
    text-align: center;
}

.server-button {
    padding: 6px 12px; /* Ukuran tombol lebih kecil */
    margin-top: 10px;
    font-size: 12px; /* Ukuran font lebih kecil */
    font-weight: bold;
    color: #ffffff;
    background-color: #b0b0b0; /* Warna redup untuk tombol tidak aktif */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.server-button:hover {
    background-color: #a0a0a0;
    transform: translateY(-2px);
}

.server-button:active {
    background-color: #909090;
    transform: translateY(0);
}

.server-button.active {
    background-color: #e94560; /* Warna lebih cerah untuk tombol aktif */
}

@media (max-width: 768px) {
    .server-selection {
        flex-direction: column;
        align-items: center;
    }
}

.view-all {
    text-align: center;
    margin-top: 20px;
}

.view-all-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e94560; /* Ungu Muda */
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.view-all-button:hover {
    background-color: #d83450; /* Warna hover */
}

.telegram-link {
    display: inline-block; /* Ganti block menjadi inline-block agar mengikuti lebar teks */
    margin: 10px auto;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    background-color: #389ce9;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.2s;
    width: auto; /* Pastikan lebar mengikuti konten */
    cursor: pointer;
}

.telegram-link:hover,
.telegram-link:focus {
    background-color: #00cc00;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.telegram-icon {
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

@media (max-width: 480px) {
    .telegram-link {
        font-size: 15px;
        padding: 8px 12px;
        /* Hapus width: calc(100% - 20px); agar lebar tombol mengikuti teks */
    }

    .telegram-icon {
        width: 16px;
        height: 16px;
    }
}

/* Footer */
.footer {
    background-color: #000; /* Biru Lebih Gelap */
    color: #e0e0e0;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #0f3460; /* Biru Tua */
    margin-bottom: 100px;
}

.footer-content {
    margin-bottom: 10px;
}

.footer-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-partners {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-links li {
    margin: 0 5px;
}

.footer-links a {
    color: #29BAC6;
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
}

.footer-links a:hover {
    color: #fff;
    background-color: #e94560;
}

.footer-copyright {
    font-size: 14px;
}

/* Responsif - Mobile */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        
    }

    .footer-links li {
        margin: 10px 0;
        border-bottom: 1px solid #0f3460;
    }
}

.tomboljoin-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 0 15px;
    flex-wrap: wrap; /* Memungkinkan wrapping jika space tidak cukup */
}

.tomboljoin {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
    min-width: 200px; /* Memberikan minimal width yang sama */
    justify-content: center;
}

.tomboljoin-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* VIP button style */
.tomboljoin.vip {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.tomboljoin.vip:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Channel button style */
.tomboljoin.channel {
    background: linear-gradient(135deg, #059669, #047857);
}

.tomboljoin.channel:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

/* App button style */
.tomboljoin.app {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.tomboljoin.app:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

@media (max-width: 768px) {
    .tomboljoin-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tomboljoin {
        width: 90%;
        padding: 10px 16px;
        min-width: unset;
    }
    
    .tomboljoin-icon {
        width: 20px;
        height: 20px;
    }
    
    .tomboljoin span {
        font-size: 14px;
    }
}

/* Warna teks link normal */
.link-custom {
    color: #e94560; /* Ganti dengan kode warna yang diinginkan */
    text-decoration: none; /* Menghilangkan garis bawah */
}

/* Warna teks link saat mouse hover */
.link-custom:hover {
    color: #0056b3; /* Warna saat di-hover */
    text-decoration: underline; /* Menambahkan garis bawah saat di-hover */
}

.pengumuman {
    background-color: #000;
    padding: 10px;
    max-width: 95%; /* tambahkan properti ini */
    margin: 0 auto; /* tambahkan properti ini */
    text-align: center;
}

.pengumuman p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff0000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    font-size: 20px;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: #cc0000;
    transform: translateY(-3px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    #backToTop {
        width: 35px;
        height: 35px;
        font-size: 18px;
        bottom: 80px; /* Memberikan jarak dari banner iklan */
        right: 15px;
    }
}

/* Untuk layar yang sangat kecil */
@media screen and (max-width: 480px) {
    #backToTop {
        width: 30px;
        height: 30px;
        font-size: 16px;
        bottom: 70px;
        right: 10px;
    }
}

.footer-legal {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ff0000;
}

@media screen and (max-width: 768px) {
    .footer-legal {
        font-size: 12px;
        margin-top: 8px;
    }
}

/* Video Not Found Styling */
.video-not-found {
    width: 70%;
    height: 360px;
    background: #000;
    color: #fff;
    border-radius: 5px;
    margin: 0 auto; /* Menengahkan container */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-not-found-content {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.video-not-found-title {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

.video-not-found-message {
    color: #ccc;
    margin-bottom: 20px;
}

.video-not-found-buttons {
    margin-top: 20px;
}

.try-server-button {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.try-server-button:hover {
    background: #cc0000;
}

/* Responsive styles */
@media (max-width: 768px) {
    .video-not-found {
        width: 90%;
        height: 300px;
    }
}