:root {
    --bg-page: #2a0400;
}

body {
    background: var(--bg-page);
}

/* Overlay blur saat modal verifikasi aktif */
body.modal-open .main-content {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

/* Modal verifikasi custom */
.verification-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.verification-modal.hidden {
    display: none;
}

.verification-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    border: 1px solid #ffc107;
    box-shadow: 0 0 50px rgba(255, 193, 7, 0.3);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verification-card h3 {
    color: #ffc107;
    text-align: center;
    margin-bottom: 25px;
}

.verification-card .form-label {
    color: #ffc107;
    font-weight: 500;
}

.verification-card .form-control {
    background: #2a2a3e;
    border: 1px solid #ffc107;
    color: #fff;
}

.verification-card .form-control:focus {
    background: #3a3a4e;
    border-color: #ff6607;
    box-shadow: 0 0 10px rgba(255, 102, 7, 0.5);
    color: #fff;
}

.verification-card .form-control::placeholder {
    color: #888;
}

/* Captcha styling dengan kode verifikasi */
.captcha-container {
    background: #2a2a3e;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
}

.captcha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ffc107;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffc10733;
    margin-bottom: 12px;
}

.captcha-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffc107;
}

/* Captcha code display */
.captcha-code-area {
    display: none;
    margin-top: 10px;
}

.captcha-code-area.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.captcha-display {
    background: #0a0a1a;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-bottom: 12px;
    border: 1px dashed #ffc107;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 8px;
    color: #ffc107;
    background: #000;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    user-select: none;
}

.captcha-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-input-group input {
    flex: 1;
}

.btn-refresh-captcha {
    background: #ffc107;
    border: none;
    color: #1a1a2e;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-refresh-captcha:hover {
    background: #ffd430;
    transform: scale(1.02);
}

.captcha-status {
    font-size: 12px;
    margin-top: 8px;
    color: #ff6b6b;
    display: none;
}

.captcha-status.valid {
    color: #4caf50;
}

.btn-verify {
    background: linear-gradient(90deg, #ffc107, #ff6607);
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #1a1a2e;
    transition: transform 0.2s;
    margin-top: 20px;
}

.btn-verify:hover {
    transform: scale(1.02);
    background: linear-gradient(90deg, #ffd430, #ff7720);
    color: #000;
}

.btn-verify:disabled {
    opacity: 0.5;
    transform: none;
    cursor: not-allowed;
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

marquee {
    color: #fff;
}

.navbar .logo {
    width: 210px;
}

/* Custom style untuk navbar */
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffc107 !important;
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        justify-content: center !important;
    }

    .btn-group-mobile {
        justify-content: center;
        margin-top: 1rem;
    }
}

.bg-custom {
    background: #640a00;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.484), inset 0 0 30px rgba(255, 0, 0, 0.15);
}

.title {
    color: #ffc107;
}

.title .text {
    color: #ff6607;
}

.lead {
    color: aliceblue;
}

/* Hero Container dengan Background Gelap */
.container-hero {
    background: var(--bg-page);
    border-radius: 20px;
    padding: 60px 40px !important;
    position: relative;
    overflow: hidden;
    /* Penting agar efek blur tidak keluar container */
}

/* Efek Blur/Glow di Tengah */
.container-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* Styling Gambar agar menyatu */
.baner {
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.baner:hover {
    transform: scale(1.05);
}

.card-style {
    background: #d79341;
    transition: all 0.5s;
}

.card-style:hover {
    transform: scale(1.02);
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper i {
    position: absolute;
    left: 10px;
    color: #ffb300;
}

.search-wrapper input {
    padding-left: 35px;
}

.form-search::placeholder {
    color: #c27800;
}

.table-custom {
    width: 100%;
    border: 1px solid #ffc107;
}

.table-custom thead tr th {
    background: #ffb300;
    color: var(--bg-page);
    padding: 10px;
}

.table-custom tbody tr td {
    border: 1px solid #ffc107;
    color: #ffc107;
    padding: 10px;
}

.payment-card {
    background: #3b0600;
    /* Warna lebih gelap untuk kontras */
    border: 1px solid #ffb300;
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    background: #520800;
}

.text-gold {
    color: #ffb300;
}


/* Sembunyikan konten utama sampai verifikasi selesai */
.main-content {
    display: none;
}

.main-content.visible {
    display: block;
}

/*==================================================== casino Page ================================================*/
.bg-breadcrumb {
    display: flex;
    text-align: center;
    background: #350000;
    padding: 5px;
    height: 32px;
}

.bg-breadcrumb li {
    color: #fff;
}

.bg-breadcrumb li a {
    color: #fff;
    text-decoration: none;
}

.bg-breadcrumb .active {
    color: #ffaf0f;
}

.bg-breadcrumb .active::before {
    color: #cab489;
}

.image-wrapper {
    width: 100%;
    /* Mengikuti lebar container */
    max-width: 1200px;
    /* Sesuaikan dengan lebar maksimal container Anda */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.baner-casino {
    width: 100%;
    height: auto;
    display: block;

    /* 
       mask-image ini membuat gradasi transparan di semua tepi (atas, bawah, kiri, kanan)
       Kita menggabungkan 4 linear-gradient agar setiap sisi memudar secara halus 
    */
    -webkit-mask-image: linear-gradient(to right, transparent, #510000 5%, #510000 95%, transparent),
        linear-gradient(to bottom, transparent, #510000 10%, #510000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #510000 10%, #510000 90%, transparent),
        linear-gradient(to bottom, transparent, #510000 10%, #510000 90%, transparent);

    /* Memastikan mask menutupi seluruh area elemen */
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

/* ========================================== Footer ======================================================= */
.bg-footer {
    background: #430000;
}