/* --- 1. Gaya Global & Reset --- */
* {
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    /* Style body default Anda di sini */
    /* (Dalam @media, Anda mengaturnya ke #373737) */
}

p {
    margin: 0;
}

h1 {
    text-align: center;
    color: #fff;
}

a:hover {
    text-decoration: none;
}

img {
    vertical-align: middle;
    border-style: none;
}

.copyright {
    background-color: #FFD700;
}

/* --- 2. Layout & Kontainer --- */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.adv {
    align-content: center;
}

.title {
    display: flex;
    justify-content: center;
}

.title-text {
    color: white;
    font-size: 2.5rem;
}

/* --- 3. Komponen Popup --- */
.popup-container {
    text-emphasis-position: center;
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    background: #000000b0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.popup-body {
    width: 350px;
    height: 200px;
    margin: 2% auto;
    background: #000000b0;
    border-radius: 20px;
    color: white;
}

.popup-img {
    width: 450px;
    height: 555px;
    margin: 8% auto;
}

.popup-img-close {
    cursor: pointer;
    width: 38px;
    height: 38px;
    background: white;
    color: black;
    float: right;
    padding: 5px;
    border-radius: 100px;
    position: absolute;
    margin-left: -7px;
    margin-top: -20px;
}

.popup-header {
    height: 48px;
    width: 100%;
    background: blue;
    float: left;
    border-radius: 20px 20px 0px 0px;
}

.popup-header h6 {
    margin: 20px;
}

.popup-content {
    width: 100%;
    height: auto;
    padding: 15px 39px;
    float: left;
    font-size: 14px;
    background: black;
    opacity: 0.9;
}

.popup-label {
    width: 100%;
    float: left;
    background: red;
    padding: 10px 15px;
    font-size: 12px;
}

.popup-close {
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: white;
    color: black;
    float: right;
    padding: 5px;
    border-radius: 100px;
    position: absolute;
    margin-top: -10px;
    margin-left: -9px;
}

/* Tombol Popup */
.popip-button {
    cursor: pointer;
    width: 50%;
    float: left;
    height: 40px;
    border-radius: 0px 0px 0px 20px;
}

.popip-button:hover {
    background: red;
}

.popip-button1 {
    cursor: pointer;
    width: 50%;
    float: left;
    height: 40px;
    border-radius: 0px 0px 20px 0px;
}

.popip-button1:hover {
    background: red;
}

.bg-blue-button {
    background: blue;
}

.bg-black-button {
    background: black;
}

/* --- 4. Komponen Slot & Sidebar --- */
.slot {
    display: block;
}

.slot .slot-sidebar {
    padding-right: 10px;
    padding-left: 0;
    margin-top: 5px;
    background-color: black;
    float: none !important; /* <-- Perhatikan penggunaan !important */
    width: 100% !important; /* <-- Perhatikan penggunaan !important */
    flex: none !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}

.slot-sidebar-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.slot-sidebar-nav > li {
    border-bottom: 1px solid #0092b1;
    width: 100%;
    position: relative;
    display: block;
    border-bottom: none;
    padding: 6px;
    background: linear-gradient(to bottom, #10e8f0 0%, #12d383 50%, #ffa801 100%);
}

.slot-sidebar-nav > li > a {
    color: #fff;
    font-size: 13px;
    padding: 7px 10px;
    display: block;
    background-color: black;
}

.slot .content {
    /* Aturan ini menimpa aturan .slot .content sebelumnya */
    float: right;
    width: 80%;
    padding: 0;
    flex: 0 0 80%;
    max-width: 80%;
    background-color: #121212; /* <-- Ditambahkan dari aturan sebelumnya */
}

/* --- 5. Komponen Card Game --- */
.wrapper {
    width: 100%;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.card {
    float: left;
    width: 20%;
    background: transparent;
    border: none;
    text-align: center;
    position: relative;
}

.card-content {
    background: #363633;
    margin: 5px;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
    border: none;
    overflow: hidden;
    position: relative;
}

.img-zoom {
    transition: all 0.45s ease-in-out;
    height: 141px;
}

.hover-btn {
    position: absolute;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.65);
    transition: all 0.45s ease-in-out;
    z-index: 10;
    width: 100%;
}

.play-btn {
    font-size: 15px;
    text-decoration: none;
    color: white;
    text-align: center;
    align-items: center;
    width: 100%;
    margin: 25% auto;
    padding: 8px;
    background-color: #FFF397;
    background-image: linear-gradient(to bottom, #10e8f0 0%, #12d383 50%, #ffa801 100%);
    border-radius: 10px;
}

.hover-btn:hover {
    opacity: 100%;
}

.hover-btn:hover ~ .img-zoom {
    transform: scale(1.2);
    position: relative;
}

/* --- 6. Komponen Progress Bar (Neon) --- */
.progress {
    border-radius: 10px;
}

.progress b {
    color: #2e2a2a;
}

.percent {
    height: 27px;
    display: flex;
    overflow: hidden; /* <-- CATATAN: Ini akan memotong cahaya neon */
    line-height: 0;
    font-size: 0.75rem;
    background: rgba( 255, 255, 255, 0.25 );
    position: relative;
    z-index: 1;
    /* Hapus 'overflow: hidden' jika Anda ingin cahaya neon penuh */
    /* overflow: visible; */
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    color: #333; /* Warna lebih gelap agar kontras dengan kuning */
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 0 3px rgba(255,255,255,0.7);
}

.percent-bar {
 /* HAPUS SEMUA WARNA, GAMBAR, & BAYANGAN DARI SINI */

 background-size: 1rem 1rem; /* <-- Biarkan ini */
 display: flex;
 flex-direction: column;
 justify-content: center;
 overflow: hidden;
 color: #fff;
 text-align: center;
 white-space: nowrap;
 transition: width 0.6s ease;
 -webkit-animation: progress-bar-stripes 1s linear infinite; /* <-- Biarkan ini */
 animation: progress-bar-stripes 1s linear infinite; /* <-- Biarkan ini */
 z-index: 10;
}

/* --- 7. Tombol & Elemen UI Lainnya --- */
.btn {
    background: linear-gradient(#FFD700, #f5f5f5);
    display: inline-block;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 5px;
    font: 400 22px arial;
    text-shadow: #000000;
    width: 100%;
    color: #000000;
    letter-spacing: 1.5px;
}

.btn-log {
    animation: blinking 0.5s infinite;
    transition: all 0.4s;
}

.btn-daf {
    animation: blinking 0.3s infinite;
    transition: all 0.4s;
}

.btn-announce {
    animation: blinking 0.2s infinite;
    transition: all 0.4s;
}

.btn-provider {
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn-provider:hover {
    background-color: #3d3403;
}

.btn-provider span {
    position: unset; /* <-- Mengambil dari definisi pertama */
    /* transform: translateY(10px); */ /* <-- Ini dari definisi kedua, pilih salah satu */
}

.next-btn {
    display: block;
    width: 30%;
    background: linear-gradient(to bottom, #10e8f0 0%, #12d383 50%, #ffa801 100%);
    border: none;
    color: black;
}

/* --- 8. Kelas Utility & Status --- */
.active {
    background-color: #0092b1;
    /* Definisi kedua (gradient) menimpa yang pertama */
    background-color:#875b23;
    background-image:linear-gradient(to bottom,#875b23,black);
}

.col2 {
    width: 50%;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
    margin-left: 50px;
}

.mrtop10 {
    margin-top: 10px;
}

.hr {
    width: 100%;
    height: 2px;
    background: #333333;
    float: left;
}

.yellow {
    /* 1. Warna dasar neon KUNING */
    background-color: #f0ff00; 

    /* 2. Garis animasi (petir) */
    background-image: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.35) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.35) 50%, 
        rgba(255, 255, 255, 0.35) 75%, 
        transparent 75%, 
        transparent
    );
    
    /* 3. Efek Neon KUNING */
    box-shadow: 0 0 10px #f0ff00, 
                0 0 20px #f0ff00, 
                0 0 30px #ffee00;
}

.green {
    /* 1. Warna dasar neon HIJAU */
    background-color: #0cff00; 

    /* 2. Garis animasi (petir) */
    background-image: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.35) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.35) 50%, 
        rgba(255, 255, 255, 0.35) 75%, 
        transparent 75%, 
        transparent
    );
    
    /* 3. Efek Neon HIJAU */
    box-shadow: 0 0 10px #0cff00, 
                0 0 20px #0cff00, 
                0 0 30px #0cff00;
}

.red {
    /* 1. Warna dasar neon MERAH */
    background-color: #ff0000; 

    /* 2. Garis animasi (petir) */
    background-image: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.35) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.35) 50%, 
        rgba(255, 255, 255, 0.35) 75%, 
        transparent 75%, 
        transparent
    );
    
    /* 3. Efek Neon MERAH */
    box-shadow: 0 0 10px #ff0000, 
                0 0 20px #ff0000, 
                0 0 30px #ff0000;
}

.mySlides {
    display: block;
}

.enter {
    display: none;
}

.short {
    display: none;
}


/* --- 9. Media Queries (Desain Responsif) --- */

/* Tablet & Mobile Kecil */
@media (max-width: 992px) {
    .slot-sidebar-nav {
        flex-wrap: nowrap;
    }
    .slot-sidebar {
        float: none !important;
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }
    .content {
        float: none !important;
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
    }
    .card {
        width: 33.3% !important;
    }
    .hover-btn:hover {
        opacity: 0;
    }

    .hover-btn:hover ~ .img-zoom {
        transform: scale(1);
        position: relative;
    }
    body {
        background: #373737;
    }
    .btn-provider:hover {
        background-color: #2c2216;
    }

    .slot-sidebar-nav li {
        border-bottom: none;
    }
    .slot-sidebar-nav li a p {
        font-size: 5px;
    }
    .slot-sidebar-nav li a img {
        height: 17.5px !important;
    }
    .img-zoom {
        height: auto;
    }
    .next-btn {
        display: block;
    }
    .res-bar {
        display: none;
    }
}

/* Popup untuk mobile */
@media (max-width: 512px) {
    .popup-body {
        width: 310px;
        margin: 10% auto;
    }
}

/* Kontainer untuk layar besar */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* Popup close untuk layar besar */
@media (min-width: 993px) {
    .popup-img-close {
        margin-left: 42px;
        margin-top: -12px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}