/* ===================================================================== */
/* NEO-BRUTALISM & Y2K ULTIMATE KIOSK STYLES (STRICT 100%)               */
/* ===================================================================== */
body { 
    -webkit-tap-highlight-color: transparent; 
    font-family: 'Space Grotesk', sans-serif;
    background-color: #e2e8f0;
    overflow: hidden;
    user-select: none;
}

.brutal-scrollbar::-webkit-scrollbar { width: 16px; height: 16px; }
.brutal-scrollbar::-webkit-scrollbar-track { background: #f8fafc; border-left: 4px solid #000; border-right: 4px solid #000; }
.brutal-scrollbar::-webkit-scrollbar-thumb { background: #f43f5e; border: 4px solid #000; }
.brutal-scrollbar::-webkit-scrollbar-thumb:hover { background: #e11d48; }

/* NEO-BRUTALISM CORE CLASSES */
.brutal-box {
    border: 4px solid #000;
    box-shadow: 8px 8px 0px #000;
    background-color: #fff;
}

.brutal-btn {
    border: 4px solid #000;
    box-shadow: 8px 8px 0px #000;
    font-weight: 900;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
}

/* Tactile Arcade Button Physics */
.brutal-btn:active, .brutal-card:active {
    transform: translate(8px, 8px) !important;
    box-shadow: 0px 0px 0px #000 !important;
}

.brutal-card {
    border: 5px solid #000;
    box-shadow: 10px 10px 0px #000;
    transition: all 0.15s ease-out;
    cursor: pointer;
    background: #fff;
    position: relative;
}

/* Stiker Dinamis Neo-Brutalism */
.brutal-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fde047;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    padding: 4px 12px;
    font-weight: 900;
    font-size: 0.8rem;
    transform: rotate(5deg);
    z-index: 50;
    color: #000;
}

.brutal-badge-alt {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: #c084fc;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    padding: 6px 16px;
    font-weight: 900;
    font-size: 1rem;
    transform: rotate(-3deg);
    z-index: 50;
    color: #fff;
}

/* Chunky Time-Attack Progress Bar */
.chunky-timer-container {
    width: 100%;
    height: 30px;
    background: #f8fafc;
    border: 4px solid #000;
    box-shadow: 6px 6px 0px #000;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.chunky-timer-bar {
    height: 100%;
    background: #ef4444;
    width: 100%;
    border-right: 4px solid #000;
    transition: width 1s linear;
}

.chunky-timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 900;
    font-size: 1.2rem;
    color: #000;
    mix-blend-mode: difference;
    z-index: 10;
}

/* Efek Gacha Mystery Box */
.mystery-shake {
    animation: brutalShake 0.5s infinite alternate;
}

@keyframes brutalShake {
    0% { transform: translate(2px, 2px) rotate(0deg); }
    10% { transform: translate(-2px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* Seamless Sliding Panel Architecture */
.wizard-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: #e2e8f0;
}

.slide-left { transform: translateX(-100%); }
.slide-center { transform: translateX(0); }
.slide-right { transform: translateX(100%); }

/* Blueprint Virtual Grid - Neo Brutalism Generator */
.blueprint-card {
    background: #94a3b8;
    border: 4px solid #000;
    position: relative;
    overflow: hidden;
}

.blueprint-hole {
    background: #fff;
    border: 3px solid #000;
    box-shadow: inset 4px 4px 0px rgba(0,0,0,0.1);
    position: absolute;
}

.blueprint-qr {
    background: #fff;
    border: 3px dashed #000;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
}

/* Keypad QWERTY (Sisa dari sistem lama, disesuaikan) */
.keypad-btn { 
    background: white; border: 4px solid black; box-shadow: 4px 4px 0px black;
    font-size: 1.5rem; font-family: 'Space Grotesk', sans-serif; font-weight: 900; 
    transition: all 0.1s ease; display: flex; justify-content: center; align-items: center; flex: 1; aspect-ratio: 1; color: black;
}
.keypad-btn:active { background: #fde047; transform: translate(4px, 4px); box-shadow: 0px 0px 0px black; }

/* KOREAN BEAUTY FILTER ENGINE */
.filter-beauty { filter: brightness(1.15) contrast(0.95) saturate(1.1); }
.mirror-x { transform: scaleX(-1); }

/* Animasi & Efek Flash */
@keyframes flash { 0% { background-color: white; opacity: 1; } 100% { background-color: transparent; opacity: 0; } }
.camera-flash { animation: flash 0.8s ease-out; }

/* Countdown Raksasa di Kamera */
#countdownText { 
    position: absolute; top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    font-size: 15rem; font-weight: 900; color: #fff; 
    -webkit-text-stroke: 8px #000;
    text-shadow: 15px 15px 0px #f43f5e;
    z-index: 20; display: none; 
}

.screen-view { display: none; }
.screen-view.active-screen { display: flex; }