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

/* ========================================================= 
   1. GLOBAL VARIABLES & VIP CASINO THEME 
   ========================================================= */ 
:root { 
    --bg-dark: #0a0a0a; 
    --bg-panel: #141414; 
    --gold-main: #d4af37; 
    --gold-light: #f9f59f; 
    --gold-dark: #996515; 
    --red-dark: #4a0404; 
    --red-glow: #ff0000; 
    --glossy-gradient: linear-gradient(180deg, #333 0%, #111 49%, #000 50%, #111 100%); 
    --gold-gradient: linear-gradient(180deg, #f0c265 0%, #b8860b 25%, #ffd700 50%, #b8860b 75%, #f0c265 100%); 
} 

html, body { overflow-x: hidden; margin: 0; padding: 0; min-height: 100vh; } 

body { 
    background-color: var(--bg-dark); 
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000 100%); 
    color: #fff; 
    font-family: 'Poppins', sans-serif; 
} 

/* ========================================================= 
   TOMBOL GLOSSY MEWAH
   ========================================================= */ 
.glossy-btn-gold { 
    background: var(--gold-gradient); 
    color: #000; 
    font-family: 'Oswald', sans-serif; 
    font-size: 18px; font-weight: 700; padding: 15px; 
    border: 2px solid #fff; border-radius: 8px; cursor: pointer; text-transform: uppercase; 
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4), inset 0 2px 5px rgba(255,255,255,0.8); 
    text-shadow: 0 1px 1px rgba(255,255,255,0.5); 
    transition: 0.2s; width: 100%; 
} 
.glossy-btn-gold:active { transform: translateY(4px); box-shadow: inset 0 4px 10px rgba(0,0,0,0.5); } 

.glossy-btn-gold-small { background: var(--gold-gradient); color: #000; font-weight: 900; font-size: 12px; padding: 8px 15px; border: 1px solid #fff; border-radius: 6px; cursor: pointer; box-shadow: inset 0 2px 4px rgba(255,255,255,0.8); } 
.glossy-btn-red-small { background: linear-gradient(180deg, #ef4444, #991b1b); color: #fff; font-weight: 900; font-size: 12px; padding: 8px 15px; border: 1px solid #ffbaba; border-radius: 6px; cursor: pointer; box-shadow: inset 0 2px 4px rgba(255,255,255,0.3); } 

/* ========================================================= 
   FAKE LOGIN SCREEN (SCAM VIBE)
   ========================================================= */ 
.fake-marquee { 
    background: var(--red-dark); border-bottom: 2px solid var(--gold-main); color: var(--gold-light); font-weight: bold; font-size: 14px; padding: 8px 0; overflow: hidden; white-space: nowrap; position: fixed; top: 0; width: 100%; z-index: 3100; box-shadow: 0 5px 15px rgba(255,0,0,0.2); 
} 
.fake-marquee span { display: inline-block; padding-left: 100%; animation: marquee 20s linear infinite; } 
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } 

#login-screen { 
    position: fixed; inset: 0; background: radial-gradient(circle, #2a0808 0%, #000 100%); z-index: 3000; display: flex; justify-content: center; align-items: center; padding: 20px; padding-top: 60px; 
} 
.login-box { 
    background: var(--glossy-gradient); padding: 30px 35px; border-radius: 16px; border: 2px solid var(--gold-main); width: 100%; max-width: 480px; box-shadow: 0 0 50px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(0,0,0,0.8); max-height: 70vh; overflow-y: auto; 
} 

/* CSS JUDUL LOGIN YANG KEMAREN HILANG UDAH GUA TAMBAHIN DI SINI 👇 */
.login-logo-area {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px dashed #444;
    padding-bottom: 20px;
}

.crown-icon {
    font-size: 55px;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    animation: floatCrown 2.5s ease-in-out infinite;
}

@keyframes floatCrown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.login-header {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
    margin: 0;
    line-height: 1.2;
}

.login-sub {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-top: 5px;
    text-transform: uppercase;
}
/* END OF PERBAIKAN JUDUL LOGIN */

.form-group { margin-bottom: 15px; text-align: left; } 
.form-group label { display: block; font-size: 12px; color: #ccc; margin-bottom: 5px; font-weight: 600; text-transform: uppercase; } 
.login-input { width: 100%; padding: 12px; background: #000; border: 1px solid #444; color: var(--gold-light); border-radius: 6px; box-sizing: border-box; font-size: 14px; outline: none; transition: 0.3s; box-shadow: inset 0 2px 5px rgba(0,0,0,0.8); } 
.login-input:focus { border-color: var(--gold-main); box-shadow: 0 0 10px rgba(212, 175, 55, 0.3), inset 0 2px 5px rgba(0,0,0,0.8); } 
.fake-badges { display: flex; justify-content: space-between; margin-top: 15px; font-size: 11px; color: #10b981; font-weight: bold; } 

/* ========================================================= 
   NAVBAR & LOBBY 
   ========================================================= */ 
.simple-nav { display: flex; justify-content: space-between; align-items: center; background: var(--bg-panel); border-bottom: 2px solid var(--gold-main); padding: 15px 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.8); } 
.nav-logo { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; color: var(--gold-light); } 
.nav-btn { background: transparent; color: #aaa; border: 1px solid #555; padding: 6px 15px; border-radius: 4px; font-size: 12px; cursor: pointer; } 
.nav-btn:hover { color: #fff; border-color: #fff; } 
#lobby-screen { display: flex; flex-direction: column; align-items: center; padding: 20px; box-sizing: border-box; min-height: 100vh; background: #0a0a0a; } 
.lobby-container { max-width: 1000px; width: 100%; margin-top: 60px; } 
.lobby-header { text-align: center; margin-bottom: 30px; } 
.lobby-header h1 { color: var(--gold-light); font-family: 'Oswald', sans-serif; font-size: 36px; margin: 0 0 10px; text-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); } 
.panel-saldo-global { background: var(--glossy-gradient); border: 1px solid var(--gold-dark); border-radius: 12px; padding: 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.5); } 
.saldo-text { color: #aaa; font-size: 12px; font-weight: bold; letter-spacing: 1px; } 
.saldo-value { color: var(--gold-main); font-size: 28px; font-weight: 900; font-family: monospace; text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); } 
.saldo-actions { display: flex; gap: 10px; } 
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } 
.game-card { background: #141414; border: 2px solid #333; border-radius: 12px; padding: 25px; cursor: pointer; transition: 0.3s; text-align: center; position: relative; overflow: hidden; } 
.game-card:hover { border-color: var(--gold-main); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2); } 
.rtp-bar { position: absolute; top: 0; left: 0; width: 100%; height: 25px; background: #222; border-bottom: 1px solid #444; } 
.rtp-fill { height: 100%; background: linear-gradient(90deg, #10b981, #059669); } 
.rtp-text { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 11px; font-weight: 900; text-shadow: 1px 1px 2px #000; } 
.game-icon { font-size: 60px; margin: 30px 0 15px; filter: drop-shadow(0 5px 10px #000); } 
.game-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; font-family: 'Oswald', sans-serif;} 
.game-desc { font-size: 12px; color: #888; } 
.hot-tag, .edu-tag { position: absolute; top: 40px; right: -30px; background: var(--red-glow); color: #fff; font-size: 10px; font-weight: bold; padding: 5px 30px; transform: rotate(45deg); box-shadow: 0 2px 5px #000; } 
.edu-tag { background: #3b82f6; } 

/* ========================================================= 
   MODAL POPUPS (DEPOSIT)
   ========================================================= */ 
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 4000; display: none; flex-direction: column; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(5px); } 
.modal-box { background: var(--glossy-gradient); border: 2px solid var(--gold-main); width: 100%; max-width: 480px; border-radius: 16px; padding: 30px; text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 15px rgba(212, 175, 55, 0.2); } 
.custom-scroll::-webkit-scrollbar { width: 6px; } 
.custom-scroll::-webkit-scrollbar-track { background: #111; border-radius: 10px; } 
.custom-scroll::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; } 
.custom-scroll::-webkit-scrollbar-thumb:hover { background: var(--gold-main); } 
.payment-tabs { display: flex; gap: 5px; background: #000; padding: 5px; border-radius: 8px; border: 1px solid #333; } 
.pay-tab { flex: 1; background: transparent; color: #888; border: none; padding: 10px 5px; font-size: 11px; font-weight: 800; border-radius: 4px; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-family: 'Oswald', sans-serif; letter-spacing: 1px; } 
.pay-tab.active { background: var(--gold-gradient); color: #000; box-shadow: inset 0 2px 5px rgba(255,255,255,0.5); } 
.pay-tab:hover:not(.active) { color: #fff; background: #222; } 
.input-note { font-size: 11px; color: #10b981; margin-top: 8px; font-weight: 600; letter-spacing: 0.5px; } 
.warning-box { background: rgba(220, 38, 38, 0.1); border: 1px dashed #ef4444; border-radius: 8px; padding: 15px; margin-top: 25px; } 
.warning-box p { color: #fca5a5; font-size: 11px; line-height: 1.6; margin: 0 0 10px 0; text-align: justify; } 
.warning-box p:last-child { margin-bottom: 0; } 

/* ========================================================= 
   MAIN SLOT UI (LANDSCAPE VIP FRAME) 
   ========================================================= */ 
.slot-landscape-wrapper { display: flex; flex-direction: row; justify-content: center; align-items: stretch; gap: 20px; max-width: 1200px; width: 100%; margin: 80px auto 20px; padding: 0 20px; box-sizing: border-box; } 
.slot-sidebar { flex: 0 0 250px; display: flex; flex-direction: column; gap: 15px; } 
.sunk-cost-box { background: var(--red-dark); border: 1px solid #ef4444; border-radius: 10px; padding: 15px; text-align: center; color: #fca5a5; font-size: 11px; font-weight: bold; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); } 
.sunk-value { color: #fff; font-size: 18px; font-weight: 900; margin-top: 5px; text-shadow: 0 0 10px #ef4444; } 
.meter-container { background: var(--bg-panel); border: 1px solid #333; padding: 15px; border-radius: 10px; box-shadow: inset 0 0 15px rgba(0,0,0,0.5); } 
.meter-label { font-size: 11px; font-weight: bold; margin-bottom: 8px; display: flex; justify-content: space-between; } 
.meter-bg { background: #000; height: 12px; border-radius: 6px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.8); overflow: hidden; } 
.meter-fill { background: linear-gradient(90deg, #10b981, #f59e0b, #ef4444); height: 100%; width: 0%; transition: 0.5s ease-out; } 
.kontrol-ekstra { display: flex; gap: 10px; } 
.glossy-btn-dark { flex: 1; background: var(--glossy-gradient); border: 1px solid #555; color: #fff; padding: 10px; border-radius: 8px; font-weight: bold; font-size: 12px; cursor: pointer; box-shadow: inset 0 2px 5px rgba(255,255,255,0.1), 0 5px 10px rgba(0,0,0,0.5); transition: 0.2s; } 
.glossy-btn-dark:hover { border-color: var(--gold-main); } 
.glossy-btn-dark.aktif { border-color: #10b981; box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.4); } 

/* MESIN SLOT 3D REALISTIS */ 
.slot-machine-center { flex: 1; max-width: 600px; display: flex; flex-direction: column; } 
.machine-frame { background: linear-gradient(145deg, #b8860b, #ffd700, #b8860b); padding: 10px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 10px #fff; position: relative; } 
.area-mesin { display: grid; gap: 6px; background: #000; padding: 20px; border-radius: 10px; box-shadow: inset 0 30px 30px rgba(0,0,0,1), inset 0 -30px 30px rgba(0,0,0,1), 0 0 10px rgba(255,255,255,0.5); width: 100%; box-sizing: border-box; position: relative; } 
.area-mesin::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(255, 0, 0, 0.5); box-shadow: 0 0 10px red; pointer-events: none; z-index: 5; } 
.reel-container { background: #f8fafc; border-radius: 6px; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; aspect-ratio: 1/1; box-shadow: inset 0 15px 15px rgba(0,0,0,0.4), inset 0 -15px 15px rgba(0,0,0,0.4), inset 0 0 5px rgba(0,0,0,0.2); } 
.reel { font-size: clamp(24px, 4vw, 45px); filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); transition: 0.1s; } 
.spin-blur { filter: blur(4px) drop-shadow(0 15px 0 rgba(0,0,0,0.1)) drop-shadow(0 -15px 0 rgba(0,0,0,0.1)); transform: scaleY(1.4) translateY(10px); opacity: 0.8; } 
.win-glow { background: rgba(255, 215, 0, 0.3); border: 2px solid var(--gold-main); box-shadow: inset 0 0 20px var(--gold-main), 0 0 20px var(--gold-main); z-index: 10; border-radius: 4px; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; animation: pulseGlow 0.5s infinite alternate;} 
@keyframes pulseGlow { from { filter: brightness(1); } to { filter: brightness(1.5); } } 
.status-info { background: #000; color: var(--gold-light); font-family: 'Oswald', sans-serif; font-size: 16px; padding: 10px; text-align: center; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; letter-spacing: 2px; box-shadow: inset 0 5px 10px rgba(0,0,0,0.8); margin-top: -5px; z-index: 2; position: relative;} 

/* Controls Kanan */ 
.slot-controls-right { flex: 0 0 250px; display: flex; flex-direction: column; gap: 15px; } 
.panel-bet { background: var(--bg-panel); border: 1px solid #333; padding: 15px; border-radius: 10px; text-align: center; box-shadow: inset 0 0 15px rgba(0,0,0,0.5); } 
.grid-taruhan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } 
.btn-taruhan { background: #111; color: #888; border: 1px solid #444; padding: 10px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: inset 0 2px 4px rgba(255,255,255,0.05); } 
.btn-taruhan.aktif { background: var(--red-dark); border-color: #ef4444; color: #fff; box-shadow: inset 0 0 10px #ef4444; } 
.glossy-btn-spin { background: linear-gradient(180deg, #10b981 0%, #047857 50%, #022c22 100%); border: 3px solid #6ee7b7; border-radius: 50%; width: 130px; height: 130px; margin: 20px auto 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.8), inset 0 10px 20px rgba(255,255,255,0.4); transition: 0.1s; } 
.glossy-btn-spin:active { transform: scale(0.95); box-shadow: 0 5px 15px rgba(0,0,0,0.9), inset 0 5px 10px rgba(0,0,0,0.6); } 
.glossy-btn-spin:disabled { filter: grayscale(100%); pointer-events: none; } 
.spin-text { color: #fff; font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 900; text-shadow: 0 2px 4px #000; letter-spacing: 2px; } 
.spin-sub { color: #a7f3d0; font-size: 10px; font-weight: bold; } 

/* ========================================================= 
   HYPE OVERLAY 
   ========================================================= */ 
#hype-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 2000; display: none; justify-content: center; align-items: center; background: rgba(0,0,0,0.8); } 
.hype-text { font-size: 60px; font-family: 'Oswald', sans-serif; font-weight: 900; text-transform: uppercase; text-align: center; animation: popHype 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; } 
.win-gold { color: var(--gold-light); text-shadow: 0 0 50px var(--gold-main), 0 5px 0 #b45309; } 
.lose-red { color: #ef4444; text-shadow: 0 0 50px #dc2626, 0 5px 0 #7f1d1d; } 
@keyframes popHype { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } } 

/* ========================================================= 
   VERA SYSTEM 
   ========================================================= */ 
#vera-guide-ui { position: fixed !important; bottom: 35px; left: 35px; z-index: 999999 !important; display: flex; align-items: flex-end; gap: 18px; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform: translateY(150%); opacity: 0; pointer-events: none; } 
#vera-guide-ui.aktif { transform: translateY(0); opacity: 1; pointer-events: auto; } 
.vera-v-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--glossy-gradient); display: flex; justify-content: center; align-items: center; font-size: 42px; box-shadow: 0 12px 30px rgba(0,0,0,0.8); border: 3px solid var(--gold-main); cursor: pointer; } 
.vera-v-bubble { background: rgba(10, 10, 10, 0.95); padding: 20px 30px; border-radius: 22px; border-bottom-left-radius: 0; box-shadow: 0 20px 45px rgba(0,0,0,0.9); max-width: 350px; border: 2px solid var(--gold-main); color: #fff; } 
.vera-v-name { font-size: 12px; font-weight: 900; color: var(--gold-main); letter-spacing: 1.5px; margin-bottom: 6px; } 
.vera-v-text { font-size: 14px; font-weight: 500; line-height: 1.6; min-height: 45px; } 
.vera-v-cursor { animation: blinkVeraV 1s step-end infinite; color: var(--gold-main); } 
.vera-fokus { position: relative !important; z-index: 8001 !important; box-shadow: 0 0 0 6px var(--gold-main), 0 0 45px rgba(212, 175, 55, 0.8) !important; transition: all 0.4s; border-radius: inherit; } 
#vera-gelap { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 8000; opacity: 0; pointer-events: none; transition: 0.5s; } 
#vera-gelap.aktif { opacity: 1; } 

/* ========================================================= 
   ANIMASI DEPOSIT MERIAH 
   ========================================================= */ 
#depo-success-anim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); z-index: 10000; display: flex; justify-content: center; align-items: center; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } 
#depo-success-anim.show { opacity: 1; pointer-events: auto; } 
.sunburst { position: absolute; width: 200vw; height: 200vw; background: repeating-conic-gradient( from 0deg, rgba(255, 215, 0, 0.2) 0deg 15deg, transparent 15deg 30deg ); animation: rotateSunburst 10s linear infinite; z-index: 1; } 
@keyframes rotateSunburst { 100% { transform: rotate(360deg); } } 
.depo-anim-content { position: relative; z-index: 10; text-align: center; transform: scale(0); } 
#depo-success-anim.show .depo-anim-content { animation: popInMeriah 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; } 
@keyframes popInMeriah { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } } 
.depo-icon-meriah { font-size: 120px; filter: drop-shadow(0 0 30px #ffd700); animation: bounceIcon 0.8s infinite alternate; } 
@keyframes bounceIcon { from { transform: translateY(0) scale(1); } to { transform: translateY(-20px) scale(1.1); } } 
.depo-text-meriah { font-family: 'Oswald', sans-serif; font-size: 55px; color: #fff; text-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000, 0 5px 0 #8b0000; margin: 10px 0; letter-spacing: 3px; text-transform: uppercase; } 
.depo-sub-meriah { font-size: 20px; color: #ffd700; font-weight: 900; background: rgba(0, 0, 0, 0.6); padding: 10px 25px; border-radius: 30px; border: 2px solid #ffd700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); } 
#coin-rain-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; } 
.falling-coin { position: absolute; font-size: 35px; animation: fallCoin linear forwards; } 
@keyframes fallCoin { to { transform: translateY(110vh) rotate(720deg); } } 

/* ========================================================= 
   UI PANEL MISI & KUIS LITERASI (QUEST-TO-EARN)
   ========================================================= */ 
#missionHubBtn { position: fixed; bottom: 30px; right: 30px; background: var(--glossy-gradient); border: 2px solid var(--gold-main); color: #fff; padding: 12px 25px; border-radius: 50px; display: flex; align-items: center; gap: 10px; cursor: pointer; z-index: 8000; box-shadow: 0 10px 25px rgba(0,0,0,0.8), inset 0 2px 5px rgba(255,255,255,0.2); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } 
#missionHubBtn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4), inset 0 2px 5px rgba(255,255,255,0.2); border-color: #fff; } 
#missionHubBtn:active { transform: translateY(2px) scale(0.95); } 
.hub-icon { font-size: 24px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); } 
.hub-label { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--gold-light); } 
.hub-badge { position: absolute; top: -8px; right: -8px; background: var(--red-glow); color: #fff; font-size: 12px; font-weight: 900; width: 24px; height: 24px; display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.5); animation: pulseBadge 1.5s infinite alternate; } 
@keyframes pulseBadge { 0% { transform: scale(1); } 100% { transform: scale(1.15); box-shadow: 0 0 15px var(--red-glow); } } 
#missionPanel { background: var(--glossy-gradient) !important; border: 2px solid var(--gold-main) !important; box-shadow: 0 0 50px rgba(0,0,0,0.9), inset 0 0 20px rgba(212, 175, 55, 0.2) !important; border-radius: 16px !important; animation: popModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } 
@keyframes popModal { 0% { transform: translate(-50%, -40%) scale(0.8); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } } 
#missionList::-webkit-scrollbar { width: 6px; } 
#missionList::-webkit-scrollbar-track { background: #111; border-radius: 10px; } 
#missionList::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; } 
#missionList::-webkit-scrollbar-thumb:hover { background: var(--gold-main); } 

.quiz-option-btn { display: block; width: 100%; text-align: left; background: #141414 !important; color: #ccc !important; border: 1px solid #333 !important; padding: 12px 15px !important; margin-top: 8px !important; border-radius: 8px !important; cursor: pointer; font-size: 13px !important; font-family: 'Poppins', sans-serif; transition: 0.2s !important; box-shadow: inset 0 2px 4px rgba(255,255,255,0.05); } 
.quiz-option-btn:hover { background: #222 !important; color: #fff !important; border-color: var(--gold-main) !important; transform: translateX(5px); } 
.quiz-option-btn:active { transform: scale(0.98); } 

/* ========================================================= 
   MEDIA QUERIES (RESPONSIVE HP) 
   ========================================================= */ 
@media (max-width: 900px) { 
    .slot-landscape-wrapper { flex-direction: column; align-items: center; margin-top: 70px; gap: 15px; } 
    .slot-sidebar, .slot-controls-right { flex: unset; width: 100%; max-width: 450px; } 
    .slot-machine-center { width: 100%; max-width: 450px; } 
    .grid-taruhan { grid-template-columns: repeat(4, 1fr); } 
    .glossy-btn-spin { width: 100%; height: 60px; border-radius: 12px; margin: 10px 0; flex-direction: row; gap: 10px; } 
    .spin-sub { display: none; } 
    #vera-guide-ui { 
        bottom: 15px !important; 
        left: 10px !important; 
        right: auto !important; 
        width: calc(100% - 20px) !important;
        max-width: 300px !important;
        gap: 8px !important; 
    } 
    .vera-v-avatar { width: 42px !important; height: 42px !important; font-size: 22px !important; border-width: 2px !important; flex-shrink: 0; } 
    .vera-v-bubble { padding: 8px 12px !important; flex-grow: 1; border-radius: 12px !important; border-bottom-left-radius: 0 !important; max-width: 300px !important; } 
    .vera-v-text { font-size: 13px !important; line-height: 1.4 !important; min-height: auto; } 
} 

@media (max-width: 768px) { 
    #missionHubBtn { bottom: 20px; right: 20px; padding: 10px 20px; } 
    .hub-label { display: none; } 
    #missionPanel { width: 95% !important; padding: 15px !important; } 
}

/* HP/Tablet Portrait Mode - KUNCI FULLSCREEN 100vh TANPA SCROLL */
@media (max-width: 600px) and (orientation: portrait) {
    html, body {
        height: 100vh !important;
        overflow: hidden !important;
    }
    
    #main-ui {
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: hidden !important;
        padding-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    .simple-nav {
        padding: 6px 12px !important;
        height: 40px !important;
        box-sizing: border-box !important;
    }
    
    .slot-landscape-wrapper {
        margin: 45px auto 0 !important;
        padding: 0 8px !important;
        height: calc(100vh - 55px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }

    /* 1. SIDEBAR (TOTAL KALAH & METERAN) DIJADIKAN LAYOUT HORIZONTAL DI ATAS */
    .slot-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1.2fr !important;
        gap: 6px !important;
        flex: 0 0 auto !important;
    }
    .sunk-cost-box {
        padding: 6px 8px !important;
        border-radius: 8px !important;
        font-size: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .sunk-value {
        font-size: 13px !important;
        margin-top: 1px !important;
    }
    .meter-container {
        padding: 6px 8px !important;
        border-radius: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .meter-label {
        font-size: 8px !important;
        margin-bottom: 2px !important;
    }
    .meter-bg {
        height: 7px !important;
    }
    .kontrol-ekstra {
        display: none !important; /* Hilangkan tombol Ante/Buy Spin agar hemat tempat */
    }

    /* 2. AREA MESIN SLOT TENGAH (UKURAN RAMPING) */
    .slot-machine-center {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .machine-frame {
        padding: 5px !important;
        border-radius: 10px !important;
    }
    .area-mesin {
        padding: 8px !important;
        gap: 3px !important;
        border-radius: 6px !important;
    }
    .reel-container {
        border-radius: 4px !important;
    }
    .reel {
        font-size: 24px !important;
    }
    .status-info {
        font-size: 10px !important;
        padding: 5px !important;
        letter-spacing: 0.5px !important;
        border-bottom-left-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
    }

    /* 3. CONTROLS SALDO & SPIN DI BAWAH (HORIZONTAL KIRI & KANAN) */
    .slot-controls-right {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1.2fr 1fr !important;
        gap: 6px !important;
        align-items: center !important;
        flex: 0 0 auto !important;
    }
    .panel-saldo {
        padding: 6px 8px !important;
        border-radius: 8px !important;
        text-align: left !important;
    }
    .teks-saldo {
        font-size: 8px !important;
    }
    .angka-saldo {
        font-size: 14px !important;
    }
    #btn-depo-mesin {
        padding: 3px !important;
        font-size: 9px !important;
        margin-top: 2px !important;
        border-radius: 4px !important;
    }
    .panel-bet {
        display: none !important; /* Sembunyikan panel bet statis */
    }
    .grid-taruhan {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .btn-taruhan {
        padding: 4px !important;
        font-size: 8px !important;
        border-radius: 3px !important;
    }
    
    /* Tombol SPIN menjadi horizontal lebar sejajar */
    .glossy-btn-spin {
        grid-column: span 1 !important;
        width: 100% !important;
        height: 55px !important;
        border-radius: 8px !important;
        margin: 0 !important;
        padding: 3px !important;
        border-width: 1.5px !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .spin-text {
        font-size: 20px !important;
        letter-spacing: 1px !important;
    }
    .spin-sub {
        display: none !important;
    }
    
    /* Asisten NORA mobile di slot */
    #vera-guide-ui {
        bottom: 75px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
    }
    .vera-v-avatar {
        width: 38px !important;
        height: 38px !important;
        font-size: 18px !important;
        border-width: 1.5px !important;
    }
    .vera-v-bubble {
        padding: 6px 12px !important;
        border-radius: 10px !important;
    }
    .vera-v-name {
        font-size: 9px !important;
        margin-bottom: 2px !important;
    }
    .vera-v-text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        min-height: auto !important;
    }
}

/* ========================================================= 
   SIMULATION WORKSPACE LAYOUT (SPLIT SCREEN)
   ========================================================= */ 
.simulation-workspace {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.player-device-side {
    flex: 1;
    height: 100%;
    position: relative;
    overflow-y: auto;
    background: var(--bg-dark);
}

/* BANDAR CONSOLE SIDE PANEL */
.bandar-console-side {
    width: 380px;
    height: 100%;
    background: #0a0a0a;
    background-image: radial-gradient(circle at center, #141414 0%, #050505 100%);
    border-left: 3px solid var(--gold-main);
    display: flex;
    flex-direction: column;
    color: #f8fafc;
    font-family: 'Poppins', sans-serif;
    z-index: 10;
    box-sizing: border-box;
    box-shadow: -10px 0 30px rgba(212, 175, 55, 0.12);
}

.console-header-node {
    background: var(--bg-panel);
    color: var(--gold-light);
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 800;
    border-bottom: 2px solid var(--gold-main);
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Meletakkan tombol close di sisi kanan */
    gap: 8px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
}

.console-close-hamburger {
    display: none; /* Default sembunyikan di desktop karena panel sudah statis */
}

.console-logo {
    font-weight: 900;
    color: var(--gold-main);
}
.console-logo span {
    color: var(--gold-light);
}

.console-inner-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    flex: 1;
}

.console-inner-content::-webkit-scrollbar {
    width: 6px;
}

.console-inner-content::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.console-welcome-text {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    font-weight: 600;
}

.console-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.console-section-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold-dark);
    padding-bottom: 6px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* Financial Ledger Box */
.console-ledger-box {
    background: var(--bg-panel);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.ledger-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ledger-row span:first-child {
    font-size: 11px;
    color: #aaa;
    font-weight: 700;
}

.ledger-row span:last-child {
    font-size: 24px;
    font-weight: 900;
    font-family: monospace;
}

.text-green { 
    color: #10b981; 
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}
.text-red { 
    color: #ef4444; 
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* Deposit Queue */
.console-empty-queue {
    font-size: 12px;
    color: #cbd5e1;
    text-align: center;
    padding: 20px;
    border: 1px dashed var(--gold-dark);
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
    font-weight: 500;
}

.console-depo-card {
    background: var(--bg-panel);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.depo-card-info {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.5;
}

.depo-card-actions {
    display: flex;
    gap: 10px;
}

.console-btn-acc, .console-btn-rej {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.console-btn-acc { 
    background: var(--gold-gradient); 
    color: #000; 
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3), inset 0 2px 4px rgba(255,255,255,0.8);
}
.console-btn-acc:hover { 
    background: var(--gold-light); 
    box-shadow: 0 0 15px var(--gold-main);
    transform: translateY(-2px);
}
.console-btn-rej { 
    background: linear-gradient(180deg, #ef4444, #991b1b); 
    color: #fff;
    border: 1px solid #ffbaba;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3), inset 0 2px 4px rgba(255,255,255,0.3);
}
.console-btn-rej:hover { 
    background: #ef4444; 
    box-shadow: 0 0 15px #ff0000;
    transform: translateY(-2px);
}

/* RTP Switcher */
.console-rtp-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rtp-btn {
    background: var(--bg-panel);
    border: 1px solid var(--gold-dark);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.rtp-btn-title {
    font-size: 13px;
    font-weight: 800;
    color: #f1f5f9;
}

.rtp-btn-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

.rtp-btn:hover {
    background: #1e1e1e;
    border-color: var(--gold-main);
    transform: translateY(-2px);
}

.rtp-btn.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-main);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.rtp-btn.active .rtp-btn-title {
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(253, 224, 71, 0.3);
}

/* Mobile adjustments */
@media (max-width: 1280px) {
    .bandar-console-side {
        position: fixed;
        right: -100%;
        top: 0;
        width: 85%;
        max-width: 380px;
        height: 100%;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9999998;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        border-left: 2px solid var(--gold-main);
    }
    .bandar-console-side.open {
        right: 0;
    }
    .hamburger-btn {
        display: flex !important;
    }
    .console-close-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #141414;
        border: 2px solid var(--gold-main);
        color: var(--gold-light);
        border-radius: 8px;
        font-size: 22px;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
        line-height: 1;
    }
    .console-close-hamburger:hover {
        background: var(--gold-gradient);
        color: #000;
        border-color: #fff;
    }
    .console-close-hamburger:active {
        transform: scale(0.9);
    }
    .player-device-side {
        width: 100%;
    }
}

.hamburger-btn {
    display: none; /* Sembunyikan di desktop karena panel sudah langsung muncul di sisi kanan */
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #141414;
    border: 2px solid var(--gold-main);
    color: var(--gold-light);
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    padding: 0;
    line-height: 1;
}
.hamburger-btn:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 10px var(--gold-main);
}
.hamburger-btn:active {
    transform: scale(0.9);
}

/* =========================================
   MOBILE LANDSCAPE RESPONSIVE FIXES
   ========================================= */
@keyframes rotatePhoneEv {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-90deg); }
}

@media (max-height: 550px) and (orientation: landscape) {
    html, body {
        height: 100vh !important;
        overflow: hidden !important;
    }
    body {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    .fake-marquee {
        display: none !important; /* Hapus marquee iklan agar tidak memakan tinggi layar */
    }
    .simple-nav {
        padding: 5px 15px !important;
        height: 38px !important;
    }
    .nav-logo {
        font-size: 16px !important;
    }
    .nav-btn {
        padding: 4px 10px !important;
        font-size: 10px !important;
    }
    
    /* Workspace & Wrapper Layout */
    .simulation-workspace {
        height: calc(100vh - 38px) !important;
        overflow: hidden !important;
    }
    .slot-landscape-wrapper {
        display: flex !important;
        flex-direction: row !important; /* Paksa horizontal row agar sidebar, mesin slot, dan tombol spin berjejer rapi di HP landscape */
        margin: 5px auto !important;
        padding: 0 10px !important;
        gap: 10px !important;
        height: calc(100vh - 50px) !important;
        align-items: center !important;
    }
    
    /* Device sides scaling */
    .player-device-side {
        height: 100% !important;
        overflow: hidden !important;
    }
    
    /* Left Sidebar */
    .slot-sidebar {
        flex: 0 0 160px !important;
        gap: 5px !important;
    }
    .sunk-cost-box {
        padding: 6px 10px !important;
        margin-bottom: 0 !important;
    }
    .sunk-value {
        font-size: 13px !important;
        margin-top: 2px !important;
    }
    .meter-container {
        padding: 6px 10px !important;
    }
    .meter-label {
        font-size: 9px !important;
        margin-bottom: 4px !important;
    }
    .meter-bg {
        height: 8px !important;
    }
    .kontrol-ekstra {
        gap: 4px !important;
    }
    .glossy-btn-dark {
        padding: 6px !important;
        font-size: 9px !important;
        border-radius: 6px !important;
    }
    
    /* Middle Slot Machine */
    .slot-machine-center {
        width: 100% !important;
        flex: 1 !important;
        max-width: 420px !important;
    }
    .machine-frame {
        padding: 5px !important;
        border-radius: 10px !important;
    }
    .area-mesin {
        padding: 8px !important;
        gap: 4px !important;
        border-radius: 6px !important;
    }
    .reel {
        font-size: clamp(16px, 3.5vw, 36px) !important;
    }
    .status-info {
        padding: 4px !important;
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }
    
    /* Right Controls */
    .slot-controls-right {
        flex: 0 0 160px !important;
        gap: 5px !important;
    }
    .panel-bet {
        padding: 6px 10px !important;
        border-radius: 8px !important;
    }
    .grid-taruhan {
        gap: 4px !important;
    }
    .btn-taruhan {
        padding: 6px !important;
        font-size: 9px !important;
        border-radius: 5px !important;
    }
    .glossy-btn-spin {
        width: 80px !important;
        height: 80px !important;
        margin: 5px auto 0 !important;
        border-width: 2px !important;
    }
    .spin-text {
        font-size: 18px !important;
        letter-spacing: 1px !important;
    }
    .spin-sub {
        font-size: 8px !important;
    }
    
    /* Login & Lobby adjustments */
    #login-screen {
        padding-top: 10px !important;
    }
    .login-box {
        padding: 12px 18px !important;
        max-height: 92vh !important;
        max-width: 680px !important; /* Diperlebar agar grid 3 kolom nyaman dibaca */
        width: 92% !important;
        border-radius: 10px !important;
    }
    .login-form-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px 10px !important;
    }
    .login-form-grid .form-group:last-child {
        grid-column: span 3 !important; /* Kolom validasi di baris terbawah secara penuh */
    }
    .login-logo-area {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }
    .crown-icon {
        font-size: 32px !important;
    }
    .login-header {
        font-size: 22px !important;
    }
    .form-group {
        margin-bottom: 8px !important;
    }
    .login-input {
        padding: 8px !important;
        font-size: 12px !important;
    }
    #btn-masuk-login {
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    /* Lobby Screen */
    #lobby-screen {
        padding: 5px 10px !important;
        overflow-y: auto !important; /* Fallback scroll jika layar sangat kecil */
        max-height: 98vh !important;
    }
    .lobby-container {
        margin-top: 5px !important;
    }
    .lobby-header {
        margin-bottom: 8px !important;
    }
    .lobby-header h1 {
        font-size: 18px !important;
        margin: 0 !important;
    }
    .panel-saldo-global {
        padding: 6px 12px !important;
        margin-bottom: 8px !important;
        border-radius: 6px !important;
    }
    .saldo-value {
        font-size: 16px !important;
    }
    .game-grid {
        gap: 10px !important;
    }
    .game-card {
        padding: 10px !important;
        border-radius: 6px !important;
    }
    .game-icon {
        font-size: 28px !important;
        margin: 6px 0 3px !important;
    }
    .game-title {
        font-size: 14px !important;
    }
    .game-desc {
        display: none !important; /* Sembunyikan deskripsi game di HP landscape agar hemat ruang dan bebas scroll */
    }
    
    /* VERA Guide UI */
    #vera-guide-ui {
        display: flex !important;
        bottom: 8px !important;
        left: 8px !important;
        width: 250px !important;
        max-width: 250px !important;
        z-index: 9999999 !important;
    }
    .vera-v-avatar {
        width: 38px !important;
        height: 38px !important;
        font-size: 18px !important;
        border-width: 2px !important;
        flex-shrink: 0;
    }
    .vera-v-bubble {
        padding: 6px 10px !important;
        border-radius: 12px !important;
        border-bottom-left-radius: 0 !important;
        max-width: 200px !important;
    }
    .vera-v-name {
        font-size: 8px !important;
        margin-bottom: 2px !important;
    }
    .vera-v-text {
        font-size: 11px !important;
        line-height: 1.4 !important;
        min-height: auto !important;
    }
    
    /* Hamburger button adjusted for mobile landscape */
    .hamburger-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
        border-radius: 6px !important;
    }
    
    /* Minimalist scroll & Compact modals */
    .warning-box {
        display: none !important; /* Sembunyikan warning box fiktif yang terlalu tinggi di HP landscape */
    }
    .modal-box {
        padding: 15px 20px !important;
        max-height: 94vh !important;
        max-width: 440px !important;
    }
    #box-depo {
        max-height: 94vh !important;
    }
    #missionPanel {
        max-height: 94vh !important;
        padding: 12px 18px !important;
    }
    #missionList {
        max-height: 55vh !important;
        gap: 10px !important;
    }
    .console-close-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 32px !important;
        height: 32px !important;
        background: #141414;
        border: 2px solid var(--gold-main);
        color: var(--gold-light);
        border-radius: 6px;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
        line-height: 1;
    }
    .console-close-hamburger:hover {
        background: var(--gold-gradient);
        color: #000;
        border-color: #fff;
    }
    
    /* Auto-scale slot machine to viewport height without scrolling */
    .area-mesin {
        height: 190px !important; /* Paksa area mesin tidak memakan tinggi berlebihan */
        padding: 6px !important;
        gap: 4px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: stretch !important;
    }
    #mesin-box {
        display: grid !important;
        height: 100% !important; /* Paksa grid mengisi area-mesin secara penuh */
        gap: 4px !important;
    }
    .reel-container {
        aspect-ratio: auto !important; /* Matikan aspect-ratio 1/1 agar sel memipih secara adaptif */
        height: 100% !important;
        padding: 2px 0 !important;
    }
    .reel {
        font-size: clamp(14px, 4vh, 26px) !important; /* Font adaptif berbasis vh */
    }
}