        /* --- CSS STYLING --- */


        h1, p {
            color: #333;
        }

        /* Lapisan Overlay (latar belakang gelap transparan) */
        .popup-overlay {
            display: none; /* Sembunyikan secara default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7); /* Warna semi-transparan */
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Kotak Konten Popup */
        .popup-content {
            background-color: #000000;
            color: #fff;
            padding: 20px;
            border-radius: 12px;
            width: 90%;
            max-width: 450px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 20px rgba(0,0,0,0.4);
            animation: slideIn 0.4s ease-out;
        }
        
        @keyframes slideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Tombol Close (X) */
         .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #721c24;
    cursor: pointer;
    background: none;
    border: none;
  }

    #myAlert {
    position: relative; /* Diperlukan agar posisi tombol close bisa absolut */
    padding: 20px;
    background-color: #f8d7da; /* Warna merah muda untuk notifikasi error */
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 15px;
  }

        /* Header Popup */
        .popup-header p {
            margin: 0;
            font-size: 1.2em;
            color: #ccc;
        }

        .popup-header .logo {
            font-size: 2.5em;
            font-weight: bold;
            margin: 5px 0 25px 0;
            /* Efek warna gradasi seperti di contoh */
            background: linear-gradient(180deg, #002fff, #00aeff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
        }

        .logo .fa-star {
            font-size: 0.8em;
            margin-right: 5px;
        }

        /* Tombol-tombol Aksi */
        .popup-buttons a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #444;
            color: #fff;
            text-decoration: none;
            padding: 0px 0px;
            margin: 1px 0;
            border-radius: 8px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .popup-buttons a:hover {
            background-color: #555;
        }
        
        .popup-buttons .btn-text {
            display: flex;
            align-items: center;
            gap: 10px; /* Jarak antara ikon dan teks */
        }
        
        .popup-buttons .btn-side {
            font-size: 0.8em;
            color: #ccc;
        }

        /* Aturan Deposit */
        .deposit-rules {
            background-color: rgba(94, 94, 94, 0.89);
            border-radius: 8px;
            padding: 15px;
            margin-top: 25px;
            text-align: left;
            font-size: 0.9em;
        }
        
        .deposit-rules h4 {
            margin: 0 0 10px 0;
            text-align: center;
        }

        .deposit-rules ul {
            padding-left: 20px;
            margin: 0;
            color: #ddd;
        }

        /* Bagian Footer (Checkbox dan Tombol OK) */
        .popup-footer {
            margin-top: 20px;
        }
        
        .popup-footer label {
            cursor: pointer;
            font-size: 0.9em;
        }

                .close-button {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #555;
        }
        
        .ok-button {
            background-color: #0066ff;
            color: #222;
            border: none;
            padding: 12px 50px;
            border-radius: 8px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            margin-top: 15px;
            transition: background-color 0.3s ease;
        }
        
        .ok-button:hover {
            background-color: #3358ff;
        }

        /* Style dasar untuk tombol */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* Warna biru */
  color: white;
  text-decoration: none; /* Menghilangkan garis bawah pada link */
  border-radius: 5px;
  font-family: sans-serif;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Efek saat kursor mouse di atas tombol */
.btn:hover {
  background-color: #0056b3; /* Warna biru lebih gelap */
}

/* Style khusus untuk span 'images' jika diperlukan */
/* Misalnya, jika Anda ingin menambahkan ikon sebelum teks */
.images .fa-image {
  margin-right: 8px; /* Memberi jarak antara ikon dan teks */
}