body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #f8f8f8;
    scrollbar-color: #d4af37 #1a1a1a; /* Warna thumb dan track */
    scrollbar-width: thin; /* Ukuran scrollbar lebih kecil */
}
::-webkit-scrollbar {
    width: 8px; /* Lebar scrollbar */
}

::-webkit-scrollbar-track {
    background: #1a1a1a; /* Warna latar belakang scrollbar */
}

::-webkit-scrollbar-thumb {
    background: #d4af37; /* Warna scrollbar */
    border-radius: 4px; /* Membuat ujung scrollbar melengkung */
}

::-webkit-scrollbar-thumb:hover {
    background: #f8d568; /* Warna scrollbar saat di-hover */
}
header {
    background-color: #1a1a1a;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    color: #d4af37;
    margin: 0;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: #f8f8f8;
    transition: color 0.3s;
}
nav a:hover {
    color: #d4af37;
}
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
}
.hero .content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 20px 40px; /* Tambahkan jarak dalam */
    margin-top: 200px; /* Tambahkan jarak atas */
    margin-left: auto; /* Rata tengah secara horizontal */
    margin-right: auto;
    z-index: 1;
}

.hero img {
    margin-top: 20px;
    width: 100%; /* Lebar penuh */
    height: 100%; /* Tinggi penuh */
    object-fit: cover; /* Mirip dengan background-size: cover */
    position: absolute; /* Untuk menempatkan gambar di atas atau dalam hero */
    top: 0;
    left: 0;
    z-index: -1; /* Pastikan berada di belakang konten hero */
}
.hero .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/background.webp') no-repeat center center/cover;
    z-index: 998;
    transition: opacity 0.5s ease;
}
.hero.scrolled .background {
    opacity: 0;
}
.hero .logo {
    position: fixed;
    width: 700px;
    height: 700px;
    background: url('./img/logo.webp') no-repeat center center/contain;
    filter: drop-shadow(4px 4px 25px rgba(0, 0, 0, 0.795));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    transition: all 1s ease;
}
.hero.scrolled .logo {
    position: fixed; /* Tetap terlihat saat scroll */
    width: 100px;
    height: 100px;
    top: 10px;
    left: calc(100% - 110px);
    z-index: 1000; /* Pastikan di atas elemen lainnya */
    transform: translate(0, 0);
    transition: all 1s ease;
}
.super2 {
    height: 80vh;
    position: relative;
    overflow: hidden;
}
.super .logo2 {
    position: fixed;
    width: 500px;
    height: 500px;
    background: url('https://myimage.fun/img/logo/qqwin.png') no-repeat center center/contain;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 1s ease;
    opacity: 0;
}
.super.scrolled .logo2 {
    position: fixed; /* Tetap terlihat saat scroll */
    width: 200px;
    height: 200px;
    top: -70px; /* Jarak dari atas */
    left: 20px;
    z-index: 1000; /* Pastikan di atas elemen lainnya */
    transform: translate(0, 0); /* Reset transformasi */
    transition: all 1s ease; /* Animasi halus */
    opacity: 1;
}
.services {
    padding: 50px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.service {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}
.service img {
    max-width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease; /* Transisi halus */
}

.service img:hover {
    transform: scale(1.1); /* Perbesar gambar sedikit */
}
.service h3, .service p {
    opacity: 0.5; /* Awalnya tidak terlihat */
    transform: translateY(20px); /* Pindahkan sedikit ke bawah */
    transition: all 0.4s ease;
}

.service:hover h3,
.service:hover p {
    opacity: 1; /* Teks terlihat */
    transform: translateY(0); /* Kembali ke posisi semula */
}

footer {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
}
footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #b5b5b5;
}
/* Gaya tombol dropdown */
/* Dropdown button */
.dropdown-button {
    margin-left: 50px;
    background-color: gold;
    color: #353535;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dropdown-button:hover {
    background-color: #1a1a1a;
    transform: scale(1.05); /* Efek hover */
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    position: absolute; /* Absolut untuk dropdown */
    background-color: #1a1a1a;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style: none; /* Hilangkan bullet list */
    margin: 0;
    padding: 0;
    display: none; /* Disembunyikan secara default */
}

.dropdown-content li {
    padding: 10px 16px;
    border-bottom: 1px solid #333;
    text-align: left;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    color: #f8f8f8;
    text-decoration: none;
    display: block; /* Buat anchor full width */
    transition: background-color 0.5s ease;
}

.dropdown-content a:hover {
    background-color: #d4af37;
}

/* Show dropdown when .open class is added */
.dropdown.open .dropdown-content {
    display: block; /* Tampilkan dropdown */
}
.btn-login {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d4af37; /* Warna emas */
    color: #fff; /* Warna teks */
    text-decoration: none; /* Hilangkan garis bawah */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Efek bayangan */
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-login:hover {
    background-color: #f1c232; /* Warna hover */
    transform: scale(1.05); /* Efek pembesaran */
}
h1 {
    font-size: 50px;
    text-size-adjust: none; /* Mencegah penyesuaian ukuran teks otomatis */
  }