
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    color: white;
    overflow: hidden;
}

/* Background styling */
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://pomf2.lain.la/f/c9zq0ae0.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Content styling */
.content {
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Atur untuk memulai dari atas */
}

/*Logo*/ 
.logo {
    display: block;
    margin: 20px auto; /* Menambahkan margin atas untuk menurunkan logo */
    width: 310px; /* Atur lebar logo sesuai kebutuhan */
    height: auto; /* Menjaga rasio aspek */
    margin-bottom: 10px; /* Jarak antara logo dan tombol menu */
}
/* Gaya tombol menu */
.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 1100;
}



/* Sidebar menu */


.sidebar ul {
    list-style-type: none;
    padding: 0;
    width: 100%; /* Pastikan ul mengisi lebar sidebar */
}

.sidebar {
    position: fixed;
    left: -250px; /* Tersembunyi di awal */
    top: 0;
    width: 250px;
    height: 100%;
    background-image: url('https://pomf2.lain.la/f/wb4tv3nf.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    transition: left 0.3s ease;
    padding-top: 60px;
    z-index: 1000; /* Lebih rendah dari menu hamburger */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.sidebar ul li {
    padding: 15px; /* Tambah jarak vertikal */
    text-align: center;
    width: 100%; /* Mengisi lebar penuh */
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block; /* Pastikan link memenuhi seluruh area li */
}

.sidebar ul li a:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px; /* Tambahkan sudut melengkung saat hover */
}

/* Gaya untuk logo di bagian bawah sidebar */
.sidebar-logo {
    width: 120px; /* Ukuran logo */
    margin-top: auto; /* Menggeser logo ke bawah */
    opacity: 0.9; /* Transparansi sedikit */
}

/* Tampilkan sidebar saat kelas "active" ditambahkan */
.sidebar.active {
    left: 0;
}

/* ... kode lainnya tetap sama ... */

/* box sidebar */
.box {
  --box-border--border: linear-gradient(105deg, rgb(255 46 144) 0%, rgb(61 35 185) 100%);
  
  /* classic 9-slide-scaling with 2px border 4px rounded corners */
  --box--border__top-left: url("data:image/svg+xml,<svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='1' y='1' width='18' height='18' rx='4' ry='4' stroke='%23000' stroke-width='2' /></svg>");
  --box--border__top: url("data:image/svg+xml,<svg preserveAspectRatio='none' width='100' height='10' viewBox='0 0 100 10' fill='none' xmlns='http://www.w3.org/2000/svg'><line x1='-1' y1='1' x2='101' y2='1' stroke='%23000' stroke-width='2'/></svg>");
  --box--border__top-right: url("data:image/svg+xml,<svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='-9' y='1' width='18' height='18' rx='4' ry='4' stroke='black' stroke-width='2' /></svg>");
  --box--border__left: url("data:image/svg+xml,<svg preserveAspectRatio='none' width='10' height='100' viewBox='0 0 10 100' fill='none' xmlns='http://www.w3.org/2000/svg'><line x1='1' y1='-1' x2='1' y2='101' stroke='%23000' stroke-width='2'/></svg>");
  --box--border__right: url("data:image/svg+xml,<svg preserveAspectRatio='none' width='10' height='100' viewBox='0 0 10 100' fill='none' xmlns='http://www.w3.org/2000/svg'><line x1='9' y1='-1' x2='9' y2='101' stroke='%23000' stroke-width='2'/></svg>");
  --box--border__bottom-left: url("data:image/svg+xml,<svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='1' y='-9' width='18' height='18' rx='4' ry='4' stroke='%23000' stroke-width='2' /></svg>");
  --box--border__bottom: url("data:image/svg+xml,<svg preserveAspectRatio='none' width='100' height='10' viewBox='0 0 100 10' fill='none' xmlns='http://www.w3.org/2000/svg'><line x1='-1' y1='9' x2='101' y2='9' stroke='%23000' stroke-width='2'/></svg>");
  --box--border__bottom-right: url("data:image/svg+xml,<svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='-9' y='-9' width='18' height='18' rx='4' ry='4' stroke='black' stroke-width='2' /></svg>");
  
  padding: 1rem;
  position: relative;
  resize: both;
  overflow: hidden;
  font-weight: 700;
  max-width: 30ch;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--box-border--border);
  mask:
    var(--box--border__top-left) 0 0 / .625rem .625rem,
    var(--box--border__top) .625rem 0 / calc(100% - 1.25rem) .625rem,
    var(--box--border__top-right) 100% 0 / .625rem .625rem,
    var(--box--border__left) 0 .625rem / .625rem calc(100% - 1.25rem),
    var(--box--border__right) 100% .625rem / .625rem calc(100% - 1.25rem),
    var(--box--border__bottom-left
) 0 100% / .625rem .625rem,
    var(--box--border__bottom) .625rem 100% / calc(100% - 1.25rem) .625rem,
    var(--box--border__bottom-right) 100% 100% / .625rem .625rem;
  mask-repeat: no-repeat;
  pointer-events: none;
        }
      /*Karakter Archave*/
.bottom-image {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  z-index: 900;
  width: 250px; /* Default untuk perangkat kecil */
}

@media (min-width: 1024px) {
  .bottom-image {
    width: 310px; /* Untuk perangkat PC */
  }
}


/* Gaya untuk gradient text box di bawah */
.gradient-text-box {
    width: 100%;
    height: 100vh; /* Mengatur tinggi untuk memenuhi viewport */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%); /* Gradient transparan ke hitam */
    color: white;  
    text-align: center;  
    padding: 20px 0;  
    position: fixed;  
    z-index: 40;  
    margin-top: 20px; /* Memberikan jarak antara tombol dan text box */
}

/* Styling teks dalam box */
.gradient-text-box p {
    margin: 90;  /* Menghilangkan margin default */
    font-size: 20px;  /* Ukuran font */
    font-weight: bold;  /* Teks tebal */
}
/* Styling untuk bagian atas teks (Nama dan Subtext) */
.header-text {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.name {
    font-size: 24px; /* Ukuran font */
    font-weight: bold; /* Menebalkan teks */
    margin-right: 10px; /* Jarak antara nama dan subtext */
    color: #B771E5;
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000; /* Efek tepi hitam */
}

.subtext {
    font-size: 14px; /* Ukuran font untuk subtext */
    font-weight: normal; /* Font normal untuk subtext */
    color: #00FFFF; /* Mengubah warna subtext menjadi cyan */
    text-shadow: 
        -1px -1px 0 #000, /* Bayangan kiri atas */
        1px -1px 0 #000,  /* Bayangan kanan atas */
        -1px 1px 0 #000,  /* Bayangan kiri bawah */
        1px 1px 0 #000;   /* Bayangan kanan bawah */
}

/* Garis pemisah */
.separator {
    border: 0;
    border-top: 2px solid white; /* Garis putih */
    margin: 10px 0;
    width: 80%;  /* Lebar garis */
    margin-left: auto;
    margin-right: auto;
}

/* Styling untuk pesan selamat datang */
.welcome-text {
    font-size: 18px; /* Ukuran font */
    font-weight: bold; /* Teks tebal */
    margin-top: 10px; /* Jarak atas */
    color: white; /* Warna putih */
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; /* Efek tepi hitam */
    letter-spacing: 1px; /* Memberikan spasi antar huruf */
    text-transform: uppercase; /* Huruf kapital untuk kesan tegas */
}

.read-intro-btn {
    background: url('https://files.catbox.moe/3t12rp.png') no-repeat center center;
    background-size: cover;
    color: black;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: 150px; /* Sesuaikan lebar */
    height: 50px; /* Sesuaikan tinggi */
    text-align: center;
    line-height: 50px; /* Sesuaikan dengan tinggi tombol */
    display: flex;
    justify-content: center;
    align-items: center;
}



.arrow-icon {
    margin-left: 10px;
}

.click-text {
    margin-left: 5px;
    font-size: 14px;
    opacity: 0.7;
}

/* Overlay styling */
/* ========== OVERLAY ========== */
.overlay {
    display: none; /* Awalnya tersembunyi */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Latar belakang gelap transparan */
    justify-content: center;
    align-items: center;
    z-index: 999; /* Pastikan overlay di atas elemen lain */
}

/* Overlay muncul saat class "active" ditambahkan */
.overlay.active {
    display: flex;
}

/* Kontainer konten dalam overlay */
.overlay .content {
    background: url('https://files.catbox.moe/uj6uea.jpg');
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    position: relative; /* Untuk posisi tombol close */
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Efek bayangan */
    animation: fadeIn 0.3s ease-in-out; /* Efek animasi muncul */
}

/* Gambar di dalam overlay */
.content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Tombol close (X) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.close-btn:hover {
    color: red;
}

/* Tombol Join */
.join-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    color: black;
    background-image: url('https://files.catbox.moe/3t12rp.png'); /* Background tombol */
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    text-decoration: none;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
}

/* Efek hover tombol Join */
.join-btn:hover {
    opacity: 0.8;
}

/* Efek animasi muncul */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
