@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.animate-heartbeat {
    animation: heartbeat 0.5s infinite;
}
.collapsible {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    width: 170px;
    background-color: #1f2937;
    color: white;
    border-radius: 3px;
    transition: 0.3s;
}
.collapsible:hover {
    background-color: #374151;
    cursor: pointer;
    transition: 0.3s;
}
.content {
    display: none;
    padding: 10px;
    background-color: #374151;
    color: white;
    border-radius: 5px;
}
.jasa:hover {
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: 2px;
}
.paket:hover {
    outline: 2px solid rgb(145, 255, 0);
    outline-offset: 2px;
    box-shadow: 0 0 10px 1px rgb(145, 255, 0);
}
.paket1:hover {
    outline: 2px solid rgb(255, 208, 0);
    outline-offset: 2px;
    box-shadow: 0 0 10px 1px rgb(255, 208, 0);
}
.paket2:hover {
    outline: 2px solid rgb(0, 225, 255);
    outline-offset: 2px;
    box-shadow: 0 0 10px 1px rgb(0, 225, 255);
}
.paket3:hover {
    outline: 2px solid rgb(0, 17, 255);
    outline-offset: 2px;
    box-shadow: 0 0 10px 1px rgb(0, 17, 255);
}
.paket4:hover {
    outline: 2px solid rgb(255, 123, 0);
    outline-offset: 2px;
    box-shadow: 0 0 10px 1px rgb(255, 123, 0);
}
.paket5:hover {
    outline: 2px solid rgb(255, 0, 0);
    outline-offset: 2px;
    box-shadow: 0 0 10px 1px rgb(255, 0, 0);
}

.icon-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 50%;
}
.icon-1:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px 0.7px rgb(255, 153, 0);
}
.icon-hover:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px 0.7px rgb(0, 238, 255);
}
.text-container {
    background: url('asset/samphtml/gambargta.png') no-repeat center center;
    background-size: cover;
    padding: 180px; /* Desktop */
    border-radius: 3px;
    width: 98vw;
    height: 40vh; /* Tetapkan tinggi supaya tidak panjang ke bawah di mobile */
}
.text-container33 {
    background: url('asset/gif/lol.gif') no-repeat center center;
    background-size: cover;
    padding: 180px; /* Desktop */
    border-radius: 3px;
    width: 98vw;
    height: 40vh; /* Tetapkan tinggi supaya tidak panjang ke bawah di mobile */
    background-blend-mode: multiply; /* Campur warna */
    background-color: rgba(0, 0, 0, 0.6); /* Gelapkan gambar */
}
.text-container22 {
    background: url('asset/gif/download.gif') no-repeat center center;
    background-size: cover;
    padding: 180px; /* Desktop */
    border-radius: 3px;
    width: 98vw;
    height: 40vh; /* Tetapkan tinggi supaya tidak panjang ke bawah di mobile */
    background-blend-mode: multiply; /* Campur warna */
    background-color: rgba(0, 0, 0, 0.6); /* Gelapkan gambar */
}

.gambarbotjs {
    background: url('asset/dchtml/botjs.png') no-repeat center center;
    background-size: cover;
    padding: 180px; /* Desktop */
    border-radius: 3px;
    width: 98vw;
    height: 40vh; /* Tetapkan tinggi supaya tidak panjang ke bawah di mobile */
    background-blend-mode: multiply; /* Campur warna */
    background-color: rgba(0, 0, 0, 0.2); /* Gelapkan gambar */
}
.gambarJasa {
    background: url('asset/samphtml/jasasamp.jpg') no-repeat center center;
    background-size: cover;
    padding: 180px; /* Desktop */
    border-radius: 3px;
    width: 98vw;
    height: 40vh; /* Tetapkan tinggi supaya tidak panjang ke bawah di mobile */
    background-blend-mode: multiply; /* Campur warna */
    background-color: rgba(0, 0, 0, 0.3); /* Gelapkan gambar */
}

/* Untuk skrin kecil (mobile) */
@media (max-width: 768px) {
    .text-container {
        padding: 10px; /* Kurangkan padding supaya tak terlalu tinggi */
        height: 13vh; /* Pastikan tinggi lebih kecil di mobile */
    }
    .gambarbotjs {
        padding: 10px; /* Kurangkan padding supaya tak terlalu tinggi */
        height: 13vh; /* Pastikan tinggi lebih kecil di mobile */
    }
    .gambarJasa {
        padding: 10px; /* Kurangkan padding supaya tak terlalu tinggi */
        height: 13vh; /* Pastikan tinggi lebih kecil di mobile */
    }
    .text-container22 {
        padding: 10px; /* Kurangkan padding supaya tak terlalu tinggi */
        height: 13vh; /* Pastikan tinggi lebih kecil di mobile */
    }
    .text-container33 {
        padding: 10px; /* Kurangkan padding supaya tak terlalu tinggi */
        height: 13vh; /* Pastikan tinggi lebih kecil di mobile */
    }
}
.kotak {
    width: 1000px;
    height: 100px;
    background-color: rgb(30, 34, 39);
    border-radius: 5px;
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-weight: bold;
}

.pilihan {
    width: 120px;
    height: 60px;
    background-color: rgb(50, 54, 59);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 400x; /* Jarakkan setiap kotak */
}
.pilihan2 {
    width: 120px;
    height: 60px;
    background-color: rgb(50, 54, 59);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    
}

.pilihan:hover {
    background-color: rgb(255, 145, 0);
    cursor: pointer;
    transition: 0.3s;
    transform: scale(1.05);
}.pilihan2:hover {
    background-color: rgb(0, 110, 255);
    cursor: pointer;
    transition: 0.3s;
    transform: scale(1.05);
}

.textpilih{
    margin-right: 300px; /* Jarakkan setiap kotak */
}
.kotak {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pilihan, .pilihan2 {
    width: 120px;
    height: 60px;
    background-color: rgb(50, 54, 59);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

/* Responsif: Bila skrin <= 768px (mobile) */
@media screen and (max-width: 768px) {
    .kotak {
    width: 400px;
    height: 100px;
    background-color: rgb(30, 34, 39);
    border-radius: 20px;
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-weight: bold;
}

    .pilihan, .pilihan2 {
        width: 100px; /* Kecilkan butang */
        height: 45px;
        font-size: 12px;
    }

    .textpilih {
        font-size: 14px; /* Kecilkan teks */
        margin-right: 0px; /* Jarakkan setiap kotak */
        font-weight: normal;
    }
}
.text-strike {
    text-decoration: line-through;
}
@media screen and (max-width: 768px) {
.collapsible {
    cursor: pointer;
    padding: 5px;
    text-align: center;
    width: 80px;
    background-color: #1f2937;
    color: white;
    border-radius: 5px;
    transition: 0.3s;
}
.collapsible:hover {
    background-color: #374151;
    cursor: pointer;
    transition: 0.3s;
    transform: scale(1.04
);
}
}
.collapsible {
    position: relative;
    cursor: pointer;
    color: white;
    padding: 8px;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #1f2937;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 250px; /* Lebar menu */
}

.collapsible:hover .submenu {
    display: block;
}

@media screen and (max-width: 768px) {
.collapsible {
    position: relative;
    cursor: pointer;
    color: white;
    padding: 8px;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #1f2937;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    width: 250px; /* Lebar menu */
    height: 210px; /* Lebar menu */
}
}
@media screen and (max-width: 768px) {
.submenu {
    display: none;
    position: absolute;
    background-color: #1f2937;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    width: 170px; /* Lebar menu */
    height: 150px; /* Lebar menu */
}
.submenu-item:hover {
    background-color: #374151;
}
}
.collapsible:hover .submenu {
    display: block;
}

.submenu-item {
    display: flex; /* Susun logo & teks dalam satu baris */
    align-items: center; /* Selarikan teks dengan logo */
    gap: 8px; /* Jarak antara logo dan teks */
    padding: 5px 10px;
    min-width: 200px; /* Lebar minimum supaya teks tak terkeluar 
    white-space: nowrap;*/
    display: flex;
    align-items: center;
    justify-content: start; /* Pastikan content align ke kiri */
}

.submenu-item:hover {
    background-color: #374151;
}

.submenu-item img {
    width: 64px; /* Saiz ikon */
    height: 64px;
}

.video-section {
    text-align: center;
    margin-top: 50px;
}

.video-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    background-color: #1e2227; /* Kotak warna */
    padding: 15px;
    border-radius: 5px; /* Border radius */
}

.video-item iframe {
    width: 500px;
    height: 240px; /* Lebarkan video */
    border-radius: 5px;
    border: none;
}

.video-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: white;
}

/* Responsive settings */
@media (max-width: 1024px) {
    .video-item {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .video-container {
        flex-wrap: wrap;
    }

    .video-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .video-item {
        width: 90%;
    }
}
.video-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px; /* Spacer bawah */
}
.video-container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.video-item {
    background-color: #1e2227;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    width: 32%;
}

.video-title {
    color: white;
    font-size: 16px;
    margin-top: 5px;
}
@media (max-width: 768px) { /* Untuk mobile */
    .video-container {
        flex-direction: column; /* Susun ke bawah */
        align-items: center; /* Tengah-tengah */
        gap: 20px; /* Jarak antara video */
    }

    .video-item {
        width: 100%; /* Lebarkan video */
    }

    .video-item iframe {
        width: 400px; /* Auto ikut lebar parent */
        height: 270px; /* Tinggi lebih besar */
    }
}
@media (max-width: 768px) {
    .video-bg iframe {
        width: 140%; /* Lebihkan saiz video kat mobile */
        height: 78%;
    }
}
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Supaya user tak boleh klik video */
}
@keyframes blinkLogo {
    0% { opacity: 0; transform: scale(0.5); }  /* Hilang & kecil */
    50% { opacity: 1; transform: scale(0.6); }   /* Muncul & normal */
    100% { opacity: 0; transform: scale(0.8); } /* Hilang & besar sikit */
}

.logo {
    width: 10px; /* Saiz logo */
    animation: blinkLogo 3.5s infinite; /* Ulang animasi */
}
@media (max-width: 768px) {
    @keyframes blinkLogo {
        0% { opacity: 0; transform: scale(0.2); }  /* Hilang & kecil */
        50% { opacity: 1; transform: scale(0.4); }   /* Muncul & normal */
        100% { opacity: 0; transform: scale(0.6); } /* Hilang & besar sikit */
    }
    
    .logo {
        width: 10px; /* Saiz logo */
        animation: blinkLogo 3.5s infinite; /* Ulang animasi */
        margin-right: -30px;
        margin-left: -50px;

    }
}
.stylepchp {
    text-align: center;
}
@media (max-width: 768px) {
    .stylepchp {
    font-size: 10px;
    margin-left: -15px;
    text-align: center;
    }
}.text1123 {
    font-size: 16px;
    font-style: italic;
}
@media (max-width: 768px) {
    .text1123 {
    font-size: 15px;
    font-style: italic;
    display: flex;
    flex-wrap: nowrap; /* Pastikan teks tak pecah ke bawah */
    width: 100%;
    }
}
.text11233 {
    font-size: 16px;
    font-style: italic;
}
@media (max-width: 768px) {
    .text11233 {
    font-size: 10px;
    font-style: italic;
    }
}
.spacer-box {
    background-color: #1e2227;
    color: rgb(104, 41, 41);
    padding: 10px 15px; /* Ruang dalam kotak */
    border-radius: 15px;
    text-align: center;
    display: inline-block; /* Pastikan ikut teks */
    font-size: 14px;
    max-width: 100%; /* Tak lebih dari parent */
    word-wrap: break-word; /* Potong perkataan jika panjang */
    overflow-wrap: break-word; /* Pastikan wrap jika teks panjang */
    justify-content: center; /* Centerkan kotak dalam row */
}
.spacer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centerkan item */
    gap: 10px; /* Jarak antara kotak */
    justify-content: center; /* Centerkan kotak dalam row */
}
@media (max-width: 768px) {
.spacer-box {
    background-color: #1e2227;
    color: white;
    font-size: 10px;
    text-align: center;
    padding: 15px;
    border-radius: 10px; /* Ubah radius jadi 15px */
    white-space: nowrap;
    text-align: center;
}
} 
.fontdcbot {
    font-size: 28px;
    text-align: center;
}
@media (max-width: 768px) {
.fontdcbot {
    font-size: 15px;
    text-align: center;
}
}
.fontdcbot1 {
    font-size: 18px;
    text-align: center;
    
}
@media (max-width: 768px) {
.fontdcbot1 {
    font-size: 10px;
    text-align: center;
    white-space: nowrap;       /* Pastikan teks tak pecah ke baris baru */
    text-overflow: ellipsis;   /* Tambah "..." bila teks lebih panjang */
}
}

.fontdcbot2 {
    font-size: 24px;
    text-align: center;
    
}
@media (max-width: 768px) {
.fontdcbot2 {
    font-size: 15px;
}
}
.submenu-item {
    display: flex; /* Susun logo & teks dalam satu baris */
    align-items: center; /* Selarikan teks dengan logo */
    gap: 5px; /* Jarak antara logo dan teks */
    padding: 5px 5px;
    min-width: 150px; /* Lebar minimum supaya teks tak terkeluar 
    white-space: nowrap;*/
    display: flex;
    align-items: center;
    justify-content: start; /* Pastikan content align ke kiri */
}

.submenu-item img {
    width: 64px; /* Saiz ikon */
    height: 64px;
}
::-webkit-scrollbar {
    width: 7px; /* Kecilkan scrollbar */
}

::-webkit-scrollbar-thumb {
    background: rgb(0, 38, 255); /* Warna merah */
    border-radius: 1px;
}

::-webkit-scrollbar-track {
    background: #1e2227; /* Warna merah cair */
}
.grod {
    display: grid;

    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}
.grod a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.grod img {
    width: 200px;
    height: 300px;
    border-radius: 15px;
    
}
@media (max-width: 768px) {
    .grod img {
        width: 130px;
        height: 180px;
        border-radius: 5px;

    }
    .grod {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 3px; /* Kecilkan scrollbar */
    }
    .kirikanan {
        margin-left: -40%;
    }
    .logososmed img {
        width: 20px;
        height: 20px;
    }
}
.kirikanan {
    text-align: center;
}
.text-footer {
    margin-right: -310%;
    font-size: 12px;
}
.logososmed1 {
    display: flex;
    gap: 15px;
}
.logososmed {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.logososmed img {
    width: 40px;
    height: 40px;
}
.logososmed:hover {
    transform: scale(1.2);
}
.menu-item {
    text-align: center;
  }

  .menu-item img {
    display: block;
    width: 150px; /* Ubah saiz ikut keperluan */
    height: auto;
    opacity: 0.3;
    transition: opacity 0.2s ease-in;
    transition: opacity 0.6s ease-out;
  }
  .menu-item img:hover {
    opacity: 1;
  }
  .menu-item p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .fontnav {
    font-size: small;
    font-weight: normal;
}
.fontnav2 {
    font-size: 12px;
    font-weight: normal;
}
.custom-bg {
    background: radial-gradient(closest-side, rgba(35,39,46,0.8) 30%, rgba(35,39,46,1) 100%),
                url('asset/gif/anime.gif');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.typewriter {
    display: flex;
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 247, 255);
    gap: 2px;
}
.letter {
    opacity: 0;
    animation: appear 0.3s forwards;
}
@keyframes appear {
    from { opacity: 0; }
    to { opacity: 1; }
}
.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.box {
    margin-top: 10px;
    width: 180px;
    height: 40px;
    background-color: #0066ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.box:hover {
    transform: scale(1.1);
}
.cooldown {
    margin-top: 10px;
    font-size: 18px;
    color: red;
}
.hadiah {
    font-size: 28px;
    background: linear-gradient(to right, rgb(255, 94, 0), rgb(255, 217, 0), rgb(255, 94, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
    .hadiah {
        font-size: 24px;
    }
    .box {
        width: 130px;
        height: 30px;
        border-radius: 5px;
    }
}