/* Global Styles */
@keyframes glitch {
    0% { text-shadow: 2px 2px #00ff00, -2px -2px #ff0000; }
    25% { text-shadow: -2px -2px #00cc00, 2px 2px #ff3300; transform: translate(-2px, 2px); }
    50% { text-shadow: 2px -2px #00ff00, -2px 2px #ff6600; transform: translate(2px, -2px); }
    75% { text-shadow: -2px 2px #00cc00, 2px -2px #ff0000; transform: translate(-1px, 1px); }
    100% { text-shadow: 2px 2px #00ff00, -2px -2px #ff3300; transform: translate(0, 0); }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.6;
    }
}

@keyframes backgroundFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        background-color: #000000;
    }
    20%, 24%, 55% {
        background-color: #000000;
    }
}

/* Body */
body {
    background: radial-gradient(circle, #003c00, #000);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #00ff00;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    animation: backgroundFlicker 3s infinite;
}

/* Kontainer Utama */
.container {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    border-radius: 10px;
    box-shadow: 0 0 15px #00ff00;
    animation: flicker 3s infinite;
    max-width: 90%;
}

/* Judul Utama */
h1 {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 20px;
    animation: glitch 1.5s infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

/* Fitur Checklist */
.feature-list {
    text-align: left;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
    background: rgba(0, 255, 0, 0.1);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Input Group */
.input-group {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.input-group input {
    width: 90%;
    max-width: 400px;
    padding: 12px;
    font-size: 1rem;
    color: #00ff00;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.input-group input:focus {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

/* Tombol Aktivasi */
.btn-container {
    margin-top: 20px;
}

.btn {
    margin-top: 20px;
    width: 90%;
    max-width: 400px;
    padding: 10px;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    border: 1px solid #00ff00;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 10px #00ff00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #00cc00, #00ff00);
    box-shadow: 0 0px 15px rgba(0, 255, 0, 0.7);
}

/* Progres Bar */
.progress-container {
    margin-top: 30px;
    display: none;
}

.progress-title {
    font-size: 1rem;
    color: #00ff00;
    margin-bottom: 15px;
}

.progress-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
}

.game-name {
    color: #00ff00; /* Hijau untuk nama game */
    font-weight: bold;
    font-size: 1rem;
    padding: 5px;
    text-align: left;
}

.progress-percentage {
    font-weight: bold;
    color: #00ff00; /* Warna hijau untuk progres */
    text-align: center;
}

/* Pesan Akhir */
.final-message {
    margin-top: 20px;
    font-size: 1rem;
    color: #ff0000;
    display: none;
    font-weight: bold;
    animation: flicker 3s infinite;
}

/* Footer */
footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #00ff00;
    text-align: center;
}

/* Logo */
.logo-container {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.mahjong-logo {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px #00ff00);
    animation: rotate 10s infinite linear;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mahjong-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px #ff0000);
}

/* Responsif */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        font-size: 1rem;
        padding: 12px;
    }

    .progress-title {
        font-size: 0.9rem;
    }

    .mahjong-logo {
        max-width: 75%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .feature-item {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px;
    }

    .progress-title {
        font-size: 0.8rem;
    }

    .mahjong-logo {
        max-width: 70%;
    }

    footer {
        font-size: 0.6rem;
    }
}

/* cheatSpin Control */
.cheatSpin-container {
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.cheatSpin-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cheatSpin-btn {
    background-color: #00cc00;
    color: #000;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cheatSpin-btn:hover {
    background-color: #00ff00;
}

#cheatSpinAmount {
    font-size: 1.2rem;
    width: 60px;
    text-align: center;
   
