body {
    background-color: #000; /* Biru Gelap */
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 10px auto;
  }

h2 {
    color: #fff;
    display: inline-block;
    background-color: #0f3460;
    padding-left: 20px;
    padding-right: 20px;
}

.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;
    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;
    }
}

.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);
}

/* Responsif - Mobile */
@media (max-width: 768px) {
    .cuan728x90 {
        display: none;
    }
    .bannerheadermobile {
        text-align: center;
        margin: 20px 0;
        padding: 10px 0;
    }
    .bannerheadermobile {
        max-width: 100%;
        height: auto;
    }
}

.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-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 */
}

.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);
}

.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 */
}

.pagination {
    text-align: center;
    margin: 20px 0;
    padding-bottom: 40px;
}

.pagination-button {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 15px;
    background-color: #000; /* Biru Lebih Gelap */
    color: #29BAC6;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #29BAC6; /* Biru Tua */
    transition: background-color 0.3s, color 0.3s;
}

.pagination-button.active {
    background-color: #e94560; /* Ungu Muda */
    color: #ffffff;
    border: 1px solid #fff;
}

.pagination-button:hover {
    background-color: #0f3460; /* Biru Tua */
    color: #ffffff;
}

.pagination-ellipsis {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    color: #e0e0e0;
}

.ad-banner {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
}

.ad-banner .ad-image {
    max-width: 100%;
    height: auto;
}

/* Responsif - Mobile */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .play-preview {
        display: block;
    }
}

@media (max-width: 600px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
}

/* Gaya untuk video player */
.video-player-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #16213e; /* Biru Lebih Gelap */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.video-title {
    color: #e0e0e0;
    margin-bottom: 20px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Gaya untuk banner iklan */
.ad-banner {
    text-align: center;
    margin: 20px 0;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.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;
    }
}

.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;
    }
}

.homepage-info {
    background-color: #000;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .homepage-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #e0e0e0;
  }
  
  .homepage-info p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
  }
  
  .homepage-info a {
    text-decoration: none;
    color: #337ab7;
  }
  
  .homepage-info a:hover {
    color: #23527c;
  }

/* 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;
    }
}
.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;
}

.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 */
}

/* Login Form */
.login-form {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #0056b3;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
}

.input-group input[type="text"], .input-group input[type="password"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
}

/* Password Input */
.password-input {
    position: relative;
}

.password-input input[type="password"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.password-eye {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.password-eye i {
    font-size: 16px;
    color: #e94560;
}

.password-eye i#hide-password {
    display: none;
}

/* Submit Button */
button[type="submit"] {
    padding: 10px 10px;
    font-size: 16px;
    background-color: #e94560;
    color: #e0e0e0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
}

button[type="submit"]:hover {
    background-color: #ec1e40;
}

/* Responsive */

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        margin: 0 auto;
    }
    .login-form {
        width: 80%;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 90%;
        margin: 0 auto;
    }
    .login-form {
        width: 90%;
        margin: 10px auto;
    }
}

/* Logo */

.logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .logo {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 60%;
    }
}

/* Info Text */

.info-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.info-text a {
    color: #e94560;
    text-decoration: none;
}

.info-text a:hover {
    color: #ec1e40;
}

#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;
    }
}

.policy-content {
    text-align: left;
    line-height: 1.6;
    color: #fff;
}

.policy-content h2 {
    color: #fff;
    margin: 20px 0 10px;
    font-size: 1.2em;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 5px;
}