@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    background:radial-gradient(circle at top,#3a2a00 0%,#0b0903 35%,#000 100%) fixed;
    background-size:cover;
    background-color:#000;
    color:#fff;
    font-family:'Poppins', sans-serif;
    text-align:center;
}

.wrapper{
    width:100%;
    max-width:900px;
    margin:0 auto;
    background:rgba(0,0,0,0.18);
}

.headerfull{
    width:100%;
    background:#000;
    border-bottom:2px solid #d6a62e;
    padding:12px 14px;
}

.center-logo{
    text-align:center;
}

.logo{
    height:58px;
    width:auto;
    display:block;
    margin:0 auto;
    filter:drop-shadow(0 0 8px rgba(0,195,255,0.28));
}

.banner-full{
    width:100%;
    max-width:250px;
    height:auto;
    display:block;
    margin:12px auto 10px;
    border-radius:14px;
    box-shadow:0 8px 18px rgba(0,0,0,0.35);
}

.top{
    width:100%;
    max-width:760px;
    margin:8px auto 14px;
    background:linear-gradient(90deg,#d6a62e,#8a5a00);
    color:#fff;
    font-size:18px;
    font-weight:800;
    text-align:center;
    padding:12px 10px;
    border-radius:10px;
    box-shadow:0 6px 16px rgba(255,0,0,0.28);
}

.menu-select{
    width:100%;
    max-width:780px;
    margin:0 auto 18px;
    padding:0 12px;
}

.open-modal-btn{
    width:100%;
    max-width:360px;
    padding:14px 18px;
    font-size:15px;
    font-weight:800;
    color:#ffffff;
    background:linear-gradient(180deg,#332500,#090909);
    border:2px solid #ffcc33;
    border-radius:14px;
    cursor:pointer;
    box-shadow:0 0 14px rgba(255,204,51,0.22);
    font-family:'Poppins', sans-serif;
}

/* PROMO SECTION */
.promo-section{
    width:100%;
    max-width:780px;
    margin:0 auto 20px;
    padding:14px 12px 18px;
    background:rgba(0,0,0,0.72);
    border:3px solid #d6a62e;
    border-radius:10px;
    box-shadow:0 0 18px rgba(255,0,0,0.18);
}

.promo-marquee-wrap{
    width:100%;
    overflow:hidden;
    background:#0a0a0a;
    border:1px solid #333;
    border-radius:8px;
    margin-bottom:14px;
    position:relative;
}

.promo-marquee{
    white-space:nowrap;
    display:inline-block;
    padding:10px 0;
    color:#ffffff;
    font-weight:700;
    animation:jalanTerus 14s linear infinite;
}

.promo-marquee span{
    padding-left:100%;
}

@keyframes jalanTerus{
    0%{ transform:translateX(0); }
    100%{ transform:translateX(-100%); }
}

.promo-banner-box{
    margin-bottom:16px;
}

.promo-banner-img{
    width:100%;
    max-width:520px;
    display:block;
    margin:0 auto 14px;
    border:3px solid #ffd200;
    border-radius:10px;
    box-shadow:0 0 15px rgba(255,210,0,0.25);
}

.quick-btn-row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:10px auto 16px;
}

.quick-btn{
    min-width:120px;
    padding:11px 16px;
    border-radius:6px;
    text-decoration:none;
    font-weight:700;
    font-size:15px;
    border:2px solid #111;
    box-shadow:0 3px 0 rgba(0,0,0,0.25);
    transition:transform .15s ease, filter .15s ease;
}

.quick-btn:hover{
    transform:translateY(-2px);
    filter:brightness(1.04);
}

.quick-btn-yellow{
    background:#f5c400;
    color:#111;
}

.quick-btn-red{
    background:#e64a57;
    color:#fff;
}

.winner-box{
    margin:18px auto 16px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    border:2px solid #ffd200;
    border-radius:8px;
    overflow:hidden;
    background:#101010;
    max-width:620px;
}

.winner-label{
    background:#f5c400;
    color:#111;
    font-weight:800;
    padding:10px 14px;
    white-space:nowrap;
    display:flex;
    align-items:center;
}

.winner-text{
    color:#fff;
    padding:10px 14px;
    font-weight:700;
    text-align:left;
    flex:1;
    min-width:220px;
    line-height:1.5;
}

.grid-menu-btns{
    width:100%;
    max-width:620px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
}

.grid-menu-btn{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:12px 10px;
    border-radius:6px;
    text-decoration:none;
    font-weight:700;
    font-size:15px;
    border:2px solid #111;
    box-shadow:0 3px 0 rgba(0,0,0,0.25);
    transition:transform .15s ease, filter .15s ease;
}

.grid-menu-btn:hover{
    transform:translateY(-2px);
    filter:brightness(1.04);
}

.grid-menu-white{
    background:#ffffff;
    color:#111;
}

.grid-menu-gold{
    background:#f5c400;
    color:#111;
}

/* RESULT BOX */
.box{
    background:linear-gradient(180deg,#101010,#1d1d1d);
    color:#fff;
    width:100%;
    max-width:700px;
    margin:20px auto;
    padding:18px 12px 20px;
    border:2px solid #ffb400;
    border-radius:16px;
    box-shadow:0 0 18px rgba(255,180,0,0.22);
}

.tanggal{
    font-size:22px;
    margin-bottom:16px;
    font-weight:800;
    color:#ffd76a;
    text-shadow:0 0 10px rgba(255,215,106,0.35);
    animation:glowTanggal 2s ease-in-out infinite alternate;
}

@keyframes glowTanggal{
    from{
        opacity:.88;
        text-shadow:0 0 4px rgba(255,215,106,0.25);
    }
    to{
        opacity:1;
        text-shadow:0 0 14px rgba(255,215,106,0.7);
    }
}

.bola{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.bola span{
    width:54px;
    height:54px;
    line-height:54px;
    border-radius:50%;
    background:linear-gradient(180deg,#ffcc33,#ff8a00);
    color:#111;
    font-size:28px;
    font-weight:800;
    display:inline-block;
    text-align:center;
    box-shadow:0 0 14px rgba(255,174,0,0.45), inset 0 2px 6px rgba(255,255,255,0.35);
    animation:popDigit 1.8s ease-in-out infinite;
}

.bola span:nth-child(2){ animation-delay:.15s; }
.bola span:nth-child(3){ animation-delay:.3s; }
.bola span:nth-child(4){ animation-delay:.45s; }

@keyframes popDigit{
    0%,100%{
        transform:translateY(0) scale(1);
    }
    50%{
        transform:translateY(-4px) scale(1.06);
    }
}

/* TABLE */
.tbl{
    width:100%;
    max-width:780px;
    margin:0 auto 26px;
    border-collapse:collapse;
    background:rgba(0,19,48,0.82);
    border:1px solid rgba(255,255,255,0.15);
}

.tbl td{
    border:1px solid rgba(255,255,255,0.78);
    padding:10px 12px;
    color:#fff;
    font-size:15px;
    text-align:left;
    vertical-align:top;
}

.tbl td:first-child{
    width:34%;
    background:rgba(0,0,0,0.68);
    font-weight:700;
    white-space:nowrap;
    color:#ffe066;
}

/* BOTTOM BUTTONS */
.bottom-buttons{
    width:100%;
    max-width:780px;
    margin:0 auto 28px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.bottom-btn{
    display:block;
    line-height:0;
}

.bottom-btn-img{
    display:block;
    height:120px;
    width:auto;
    filter:drop-shadow(0 0 12px rgba(255,180,0,0.55));
    transition:transform .2s ease, filter .2s ease;
}

.bottom-btn-img:hover{
    transform:translateY(-2px) scale(1.03);
    filter:drop-shadow(0 0 16px rgba(255,210,80,0.75));
}

/* MODAL */
.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.72);
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:9999;
}

.modal-overlay.show{
    display:flex;
}

.modal-box{
    width:100%;
    max-width:520px;
    max-height:90vh;
    overflow:hidden;
    background:linear-gradient(180deg,#081a3d,#06112a);
    border:2px solid #ffcc33;
    border-radius:18px;
    box-shadow:0 0 24px rgba(255,204,51,0.18);
}

.modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    border-bottom:1px solid rgba(255,255,255,0.12);
}

.modal-header h3{
    font-size:20px;
    color:#ffd76a;
}

.modal-close{
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    background:#ff3c00;
    color:#fff;
    font-size:24px;
    font-weight:700;
    cursor:pointer;
}

.modal-search-wrap{
    padding:14px 16px 10px;
}

.modal-search-input{
    width:100%;
    padding:14px 16px;
    font-size:15px;
    font-weight:700;
    color:#ffffff;
    background:linear-gradient(180deg,#332500,#090909);
    border:2px solid #ffcc33;
    border-radius:12px;
    outline:none;
    font-family:'Poppins', sans-serif;
}

.modal-search-input::placeholder{
    color:#e7e7e7;
}

.modal-pasaran-list{
    max-height:58vh;
    overflow:auto;
    padding:0 16px 16px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.modal-pasaran-item{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:12px 14px;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
    color:#ffffff;
    background:linear-gradient(180deg,#332500,#090909);
    border:2px solid #ffcc33;
    border-radius:12px;
    transition:.2s ease;
}

.modal-pasaran-item:hover,
.modal-pasaran-item.active{
    background:linear-gradient(180deg,#ffd85c,#ff9f00);
    color:#111111;
}