
body {
    font-family: 'Kanit', sans-serif;
    /* overflow: hidden; */
    background-image: url('/src/images/BG\ DESKTOP.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}


img.logo-mobile {
    width: 30%;
    display: block;
    padding-top: 30px;
}

.title-label {
    font-size: 20px;
    text-align: center;
    margin-top: 50px;
    color: #fff;
    font-family: 'Kanit', serif;
}

.container-spin {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: grid;
    place-items: center;
    position: relative;
    z-index: -99;
}

.inner {
    grid-area: inner-div;
}

.glass-button {
    background: rgba(0, 99, 41, 0.5);
    /* Semi-transparent red */
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    /* Warna teks tetap putih */
    text-transform: uppercase;
    border: 4px solid rgba(13, 153, 0, 0.562);
    /* Border merah semi-transparan */
    backdrop-filter: blur(10px);
    /* Blur background behind the button */
    -webkit-backdrop-filter: blur(10px);
    /* Support for Safari */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 255, 85, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    /* Bayangan warna merah */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.glass-button:hover {
    background: rgba(0, 143, 43, 0.4);
    /* Warna merah lebih kuat saat hover */
    box-shadow: 0 8px 32px rgba(0, 122, 106, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    /* Sedikit memperbesar tombol saat hover */
}

.glass-button:active {
    transform: scale(0.98);
    /* Efek saat tombol ditekan */
}

.glass-button:disabled {
    background: rgba(0, 150, 37, 0.2);
    /* Warna merah pudar */
    border: 4px solid rgba(0, 150, 32, 0.3);
    /* Border lebih redup */
    color: rgba(255, 255, 255, 0.5);
    /* Teks lebih pucat */
    box-shadow: none;
    /* Menghilangkan shadow */
    cursor: not-allowed;
    /* Ubah cursor menjadi tidak diizinkan */
    text-shadow: none;
    /* Hilangkan bayangan pada teks */
    filter: grayscale(50%);
    /* Menambahkan efek grayscale untuk kesan disabled */
    opacity: 0.6;
    /* Sedikit memudarkan tombol */
}

.glass-button:disabled:hover {
    transform: none;
    /* Tidak ada efek melayang saat hover pada tombol yang disabled */
    background: rgba(0, 150, 50, 0.2);
    /* Warna tetap sama saat hover */
}

.glass-button.size-small {
    font-size: 14px;
    padding: 5px 10px;
}

.glass-yellow {
    background: goldenrod;
    border: 2px solid rgba(238, 255, 0, 0.562);
    /* Yellow */
    box-shadow: 0 8px 32px rgba(255, 230, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    /* Yellow border */
}

.glass-input {
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent background */
    border-radius: 15px;
    /* Rounded corners */
    padding: 5px 10px;
    /* Padding for inner spacing */
    font-size: 18px;
    /* Font size for the text */
    font-weight: bold;
    /* Bold text */
    color: #fff;
    /* White text */
    text-transform: uppercase;
    /* Capitalize text */
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Semi-transparent border */
    backdrop-filter: blur(10px);
    /* Glass blur effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 253, 84, 0.2), inset 0 1px 1px rgba(253, 1, 1, 0.1);
    width: 100%;
    /* Full width */
    max-width: 400px;
    /* Max width to keep it manageable */
    outline: none;
    /* Remove default outline */
    transition: all 0.3s ease;
    /* Smooth transition for effects */
    text-align: center;
}

.glass-input:focus {
    border-color: rgba(0, 116, 19, 0.6);
    /* Highlight border on focus */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 0, 0, 0.2);
    background: rgba(0, 105, 40, 0.3);
    /* Slightly lighten background */
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    /* Semi-transparent placeholder text */
    font-style: italic;
    /* Add italic style for placeholder */
}

.sound-control {
    font-size: 30px;
    color: white;
    position: fixed;
    top: 10px;
    left: 20px;
    background-color: rgba(5, 5, 5, 0.466);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    cursor: pointer;
}

.win-history {
    font-size: 13px;
    color: white;
    position: fixed;
    top: 10px;
    right: 20px;
    cursor: pointer;
    background-color: rgba(5, 5, 5, 0.466);
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.remaining {
    font-size: 13px;
    color: white;
    margin-top: -30px !important;
    text-shadow: 0 0 10px #008111, 0 0 20px #006115, 0 0 30px #ffffff;
}
.clip-part-rounded-middle {
    /* background-image: url('/src/images/png-clipart-gold-and-red-emblem-button-red-button-retro-game-button-label-medal-Photoroom.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 70px;
    width: 70px;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.spin-button {
    background-image: url('/img/button-crop.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 70px;
    width: 70px;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    transition: all 0.3s ease;
}


.spin-button:hover {
    box-shadow: 0 8px 32px rgba(255, 251, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.spin-button:active {
    transform: scale(0.98);
    /* Efek saat tombol ditekan */
}
.spin-button:disabled {
    filter: grayscale(100%);
    cursor: not-allowed;
    opacity: 0.5; /* Optional: Mengurangi opacity untuk memperjelas bahwa tombol tidak aktif */
}

.box {
    background-color: rgba(0, 0, 0, 0.356);
    padding: 5px;
}












/* Style dasar untuk popup */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    /* Skala awal lebih kecil */
    background: rgba(0, 0, 0, 0.7);
    /* Latar belakang hitam transparan */
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(0, 236, 158, 0.452);
    /* Border neon */
    box-shadow: 0 0 30px rgba(0, 112, 65, 0.568), inset 0 0 15px rgba(0, 197, 59, 0.4);
    opacity: 0;
    /* Awalnya tidak terlihat */
    transition: transform 0.4s ease, opacity 0.4s ease;
    /* Animasi smooth */
    z-index: 999;
    display: none;
    /* Awalnya disembunyikan */
    min-width: 350px;
}

.popup .title {
    color: #ffffff;
    /* Warna teks neon */
    text-shadow: 0 0 10px #00fda9, 0 0 20px #ffee05, 0 0 30px #559600;
    text-align: center;
    margin-bottom: 20px;
}

/* Ketika popup aktif */
.popup.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);

    animation: bounceIn 0.6s ease forwards;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 252, 252, 0.288);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    z-index: 998;
    display: none;
}

.popup-overlay.active {
    display: block;
}


@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    70% {
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Animasi bounce out */
@keyframes bounceOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    30% {
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* Ketika popup sedang tutup dengan animasi bounce out */
.popup.closing {
    animation: bounceOut 0.6s ease forwards;
    /* Efek bounce out */
}

.preloader {
    position: fixed;
    width: 100%;
    z-index: 999;
    color: white;
    text-align: center;
    font-size: 25px;
    height: 100vh;
    top: 50%;
    visibility: hidden;
}