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

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
    --bg-void: #040810;
    --bg-deep: #0a1220;
    --bg-dark: #10192e;
    --bg-panel: #182640;
    --card-top: #4a6585;
    --card-mid: #3a5068;
    --card-bot: #263c55;
    --accent-pink: #c850c0;
    --accent-pink-hi: #e070d0;
    --accent-pink-lo: #6a2868;
    --accent-cyan: #5ce1e6;
    --accent-cyan-lo: rgba(92,225,230,0.25);
    --accent-gold: #f0c040;
    --accent-green: #7df4c4;
    --accent-red: #ff6b6b;
    --accent-orange: #ffb366;
    --accent-purple: #c67df4;
    --text-bright: #e0eaf8;
    --text-mid: #98aec8;
    --text-dim: #506882;
    --border-frame: #080a0f;
    --border-steel: rgba(80,120,170,0.35);
    --border-pink: rgba(200,80,192,0.5);
}

body { 
    font-family: 'Manrope', -apple-system, sans-serif; 
    background: var(--bg-void) url('../assets/desktop_bg.png') center/cover no-repeat fixed;
    color: var(--text-bright); overflow: hidden; margin: 0;
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; min-height: 100dvh;
}

/* ════════════════════════════════════════════
   PANEL SYSTEM — The core visual language
   ════════════════════════════════════════════ */
.panel {
    border: 4px solid var(--border-frame);
    border-radius: 2px;
    position: relative; overflow: hidden;
}
.panel-blue {
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8 0%, #214378 50%, #101930 100%);
    box-shadow: inset 0 0 0 3px var(--accent-cyan), inset 0 0 40px rgba(0,0,0,0.7);
}
.panel-green {
    background: radial-gradient(ellipse at 35% 50%, #469a84 0%, #296051 50%, #10241b 100%);
    box-shadow: inset 0 0 0 3px var(--accent-green), inset 0 0 40px rgba(0,0,0,0.7);
}
.panel-red {
    background: radial-gradient(ellipse at 35% 50%, #a83a3a 0%, #782121 50%, #301010 100%);
    box-shadow: inset 0 0 0 3px var(--accent-red), inset 0 0 40px rgba(0,0,0,0.7);
}
.panel-black {
    background: radial-gradient(ellipse at 35% 50%, #353535 0%, #1a1a1a 50%, #050505 100%);
    box-shadow: inset 0 0 0 3px #666666, inset 0 0 40px rgba(0,0,0,0.7);
}
.panel-grey {
    background: radial-gradient(ellipse at 35% 50%, #858585 0%, #5c5c5c 50%, #2a2a2a 100%);
    box-shadow: inset 0 0 0 3px #cccccc, inset 0 0 40px rgba(0,0,0,0.7);
}
.panel-orange {
    background: radial-gradient(ellipse at 35% 50%, #c46d29 0%, #8f4b16 50%, #3b1b04 100%);
    box-shadow: inset 0 0 0 3px var(--accent-orange), inset 0 0 40px rgba(0,0,0,0.7);
}
.panel-purple {
    background: radial-gradient(ellipse at 35% 50%, #753aa8 0%, #4b2178 50%, #1f1030 100%);
    box-shadow: inset 0 0 0 3px var(--accent-purple), inset 0 0 40px rgba(0,0,0,0.7);
}

/* ═══════ MAIN MENU ═══════ */
#mainMenu {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: url('../assets/icons/background_mainscreen.jpg');
    background-size: cover;
    background-position: top center;
    z-index: 9999;
    transition: background-color 1.5s ease-out, background-image 1.5s ease-out;
}
#mainMenu.hidden { display: none; }

/* Boot sequence classes */
#mainMenu.booting {
    background-image: none !important;
    background-color: #050a14 !important;
}
#mainMenu.booting .menu-ui-container {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
#mainMenu.booting .menu-logo {
    transform: translateY(-20vh) scale(0.85); /* Moves slightly out of exact focus */
    opacity: 0;
    mix-blend-mode: normal;
}
#mainMenu.animate-in .menu-logo {
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0) scale(1);
    opacity: 1;
}
#mainMenu.animate-in .menu-ui-container {
    transition: all 1.2s ease-out 0.8s;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#bootLdr { width: 120px; height: 3px; background: rgba(255,50,50,0.2); border-radius: 4px; overflow: hidden; margin-top: 15px; margin-bottom: 30px; transition: opacity 0.5s; }
#bootLdrFill { height: 100%; background: #ef4444; width: 0%; transition: width 0.1s linear; box-shadow: 0 0 10px #ef4444; }
#mainMenu.animate-in #bootLdr { opacity: 0; pointer-events: none; }

#mainMenu .menu-logo { width: 240px; max-width: 70vw; mix-blend-mode: screen; }
.menu-subtitle { font-family: 'Manrope', sans-serif; color: var(--text-dim); font-weight: 700; text-transform: uppercase;  font-size: 11px; margin-bottom: 2rem; }
.menu-version { color: #2a3a50; font-size: 10px; margin-top: 3rem; font-weight: 700;  text-transform: uppercase; }

/* Menu buttons use panel-blue style */
.menu-btn {
    display: block; width: 280px; padding: 16px; margin: 6px 0;
    font-family: 'Bebas Neue', sans-serif; font-size: 22px;
    text-transform: uppercase; 
    border: 4px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8 0%, #214378 50%, #101930 100%);
    box-shadow: inset 0 0 0 3px var(--accent-cyan), inset 0 0 40px rgba(0,0,0,0.7);
    color: white; cursor: pointer; transition: all 0.15s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); text-align: center;
}
.menu-btn:hover { box-shadow: inset 0 0 0 3px var(--accent-cyan), inset 0 0 40px rgba(0,0,0,0.5), 0 0 20px rgba(92,225,230,0.2); }
.menu-btn:active { transform: scale(0.97); }
.menu-btn.primary {
    background: radial-gradient(ellipse at 35% 50%, #753aa8 0%, #4b2178 50%, #1f1030 100%);
    box-shadow: inset 0 0 0 3px var(--accent-purple), inset 0 0 40px rgba(0,0,0,0.7);
}
.menu-btn.primary:hover { box-shadow: inset 0 0 0 3px var(--accent-purple), inset 0 0 40px rgba(0,0,0,0.5), 0 0 20px rgba(198,125,244,0.2); }

/* Image-based menu buttons */
.menu-img-btn {
    display: block; max-width: 300px; width: 100%; padding: 0; margin: 6px 0;
    background: none; border: none; cursor: pointer;
    transition: transform 0.12s; border-radius: 4px; overflow: hidden;
}
.menu-img-btn.small { max-width: 180px; }
.menu-img-btn img { width: 100%; height: auto; display: block; }
.menu-img-btn:hover { transform: scale(1.03); }
.menu-img-btn:active { transform: scale(0.97); }

.menu-user-info {
    font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700;
    color: var(--accent-green); text-transform: uppercase; 
    margin-top: 8px;
}

/* ═══════ PHONE FRAME ═══════ */
#gameScreen { display: none; width: 100%; height: 100vh; height: 100dvh; }
#gameScreen.active { display: flex; align-items: center; justify-content: center; }

#phoneFrame {
    width: 100%; max-width: 430px;
    height: 100vh; height: 100dvh; max-height: 932px;
    background: var(--bg-deep); display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}

@media (min-width: 500px) {
    #phoneFrame { border-radius: 24px; border: 6px solid var(--border-frame); box-shadow: 0 0 0 2px #0a1220, 0 16px 50px rgba(0,0,0,0.6); }
}
@media (max-width: 400px) {
    #phoneFrame { max-height: none; border-radius: 0; border: none !important; box-shadow: none !important; }
}
@media (min-width: 401px) and (max-width: 499px) {
    #phoneFrame { max-height: none; border-radius: 12px; border: 3px solid var(--border-frame); box-shadow: none; }
}

/* ═══════ STATUS BAR ═══════ */
#iosStatusBar {
    height: 36px; padding: 0 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(8,10,15,0.9); font-size: 10px; font-weight: 700;
    color: var(--text-dim);  text-transform: uppercase;
    font-family: 'Manrope', sans-serif;
    border-bottom: 1px solid rgba(92,225,230,0.08);
}
.ios-left, .ios-right { display: flex; align-items: center; gap: 5px; width: 80px; }
.ios-right { justify-content: flex-end; color: var(--accent-gold); font-size: 10px; }
.ios-center { flex: 1; text-align: center; color: var(--accent-cyan); font-size: 13px; font-weight: 800; font-family: 'Bebas Neue', sans-serif;  }
.ios-signal, .ios-battery { color: var(--text-dim); }
.ios-carrier { font-size: 10px; }

/* ═══════ HOME HEADER ═══════ */
.home-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 16px 16px 8px;
}
.home-title {
    font-family: 'Bebas Neue', sans-serif; font-size: 42px;
    text-transform: uppercase; 
    color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    margin: 0;
}
.home-stats { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

/* Stat chips use mini panel style */
.stat-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 2px; font-size: 12px; font-weight: 700;
    font-family: 'Manrope', sans-serif;
    border: 3px solid var(--border-frame);
}
.stat-chip.green {
    background: radial-gradient(ellipse at 30% 50%, #469a84, #296051 60%, #10241b);
    box-shadow: inset 0 0 0 2px var(--accent-green), inset 0 0 15px rgba(0,0,0,0.6);
    color: var(--accent-green);
}
.stat-chip.blue {
    background: radial-gradient(ellipse at 30% 50%, #3a6ba8, #214378 60%, #101930);
    box-shadow: inset 0 0 0 2px var(--accent-cyan), inset 0 0 15px rgba(0,0,0,0.6);
    color: var(--accent-cyan);
}
.stat-chip.pink {
    background: radial-gradient(ellipse at 30% 50%, #a83a3a, #782121 60%, #301010);
    box-shadow: inset 0 0 0 2px var(--accent-red), inset 0 0 15px rgba(0,0,0,0.6);
    color: var(--accent-red);
}
.stat-chip span { color: white; font-weight: 800; }

.boss-portrait {
    width: 70px; height: 70px; border-radius: 4px; object-fit: cover;
    border: 4px solid var(--border-frame);
    box-shadow: inset 0 0 0 2px var(--accent-cyan), 0 0 12px rgba(92,225,230,0.2);
}

/* ═══════ APP GRID ═══════ */
.app-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 12px; padding: 8px 16px 16px;
}
.app-tile {
    display: flex; flex-direction: column; align-items: center;
    background: none; border: none; cursor: pointer;
    transition: transform 0.12s;
}
.app-tile:active { transform: scale(0.92); }

.app-tile-icon {
    width: 100%; height: 100px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    border: 4px solid var(--border-frame);
    position: relative; overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    color: white;
}
.app-tile-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-tile-label { display: none; }

/* ═══════ PLAN JOB ═══════ */
.plan-job-dock { padding: 0; margin-top: auto; }
.plan-job-btn {
    display: block; width: 100%; padding: 0;
    background: none; border: none; border-radius: 0;
    cursor: pointer; overflow: hidden;
    box-shadow: 0 -4px 20px rgba(50,220,120,0.35), 0 -1px 6px rgba(50,220,120,0.2);
    transition: all 0.15s; position: relative;
}
.plan-job-btn img { width: 100%; height: auto; display: block; }
.plan-job-btn:hover { box-shadow: 0 -4px 30px rgba(50,220,120,0.5), 0 -1px 10px rgba(50,220,120,0.3); }
.plan-job-btn:active { transform: scale(0.98); }

/* ═══════ NOTIFICATIONS — panel-black style ═══════ */
.home-notif-area { padding: 4px 16px 12px; }
.notif-title { font-family: 'Bebas Neue', sans-serif; font-size: 24px; text-transform: uppercase;  color: var(--text-mid); margin-bottom: 6px; }
.notif-box {
    border: 4px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 35% 50%, #353535 0%, #1a1a1a 50%, #050505 100%);
    box-shadow: inset 0 0 0 3px #666666, inset 0 0 40px rgba(0,0,0,0.7);
    padding: 10px 12px; min-height: 40px; font-size: 13px; font-weight: 600; color: #ccc;
    font-family: 'Manrope', sans-serif;
}
.notif-empty { color: #666; font-style: italic; }

/* ═══════ DEV OVERLAY ═══════ */
.dev-overlay {
    position: absolute; inset: 0; z-index: 10;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 16px; pointer-events: none;
    background: linear-gradient(transparent 20%, rgba(4,8,16,0.95) 60%);
}
.dev-overlay.hidden { display: none; }
.dev-overlay-inner { pointer-events: auto; }
.dev-phase-badge {
    font-family: 'Bebas Neue', sans-serif; font-size: 12px; text-transform: uppercase;
    padding: 4px 12px; border-radius: 2px;
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 35% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #666, inset 0 0 20px rgba(0,0,0,0.6);
    color: #ccc;
}
.progress-bar-container {
    height: 14px;
    border: 4px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 50% 50%, #1a1a1a, #050505);
    box-shadow: inset 0 0 0 2px #444, inset 0 0 20px rgba(0,0,0,0.8);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #469a84, var(--accent-green));
    box-shadow: 0 0 8px rgba(125,244,196,0.4);
    transition: width 0.3s ease;
}
.dev-stat-box {
    padding: 8px; border-radius: 2px; text-align: center;
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8, #214378 60%, #101930);
    box-shadow: inset 0 0 0 2px var(--accent-cyan), inset 0 0 20px rgba(0,0,0,0.6);
}
.dev-stat-label { font-family: 'Manrope', sans-serif; font-size: 9px; font-weight: 700; text-transform: uppercase;  color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.dev-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: white; }

/* ═══════ CONTENT AREA ═══════ */
#phoneContent { flex: 1; overflow: hidden; position: relative; background: #00000036; }
.phone-view { display: none; position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; }
.phone-view.active { display: flex; flex-direction: column; }

/* View headers — panel-blue style */
.view-header {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    font-family: 'Bebas Neue', sans-serif; font-size: 33px;
    text-transform: uppercase;  color: white;
    border-bottom: 4px solid var(--border-frame); flex-shrink: 0;
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8 0%, #214378 50%, #101930 100%);
    box-shadow: inset 0 0 0 3px var(--accent-cyan), inset 0 0 40px rgba(0,0,0,0.7);
}
.back-btn {
    border: 3px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 50% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #666, inset 0 0 15px rgba(0,0,0,0.5);
    padding: 6px 8px; cursor: pointer; color: white; display: flex; align-items: center;
}
.back-btn:active { opacity: 0.7; }
.header-action-btn {
    margin-left: auto;
    font-family: 'Bebas Neue', sans-serif; font-size: 14px;
    text-transform: uppercase; color: white; cursor: pointer;
    border: 3px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 35% 50%, #753aa8, #4b2178 60%, #1f1030);
    box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 15px rgba(0,0,0,0.5);
    padding: 6px 14px;
}
.header-action-btn:active { transform: scale(0.96); }

.view-scroll { padding: 10px 14px 20px; flex: 1; overflow-y: auto; }

/* ═══════ GAME CARDS — panel-blue style ═══════ */
.game-card {
    border: 4px solid var(--border-frame); border-radius: 2px;
    padding: 12px; margin-bottom: 10px; position: relative;
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8 0%, #214378 50%, #101930 100%);
    box-shadow: inset 0 0 0 3px var(--accent-cyan), inset 0 0 40px rgba(0,0,0,0.7);
}
.game-card::before { display: none; }
.game-card .font-black { font-family: 'Bebas Neue', sans-serif; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.game-card button {
    font-family: 'Bebas Neue', sans-serif; font-size: 14px;
    text-transform: uppercase; 
    color: white; cursor: pointer; transition: all 0.15s;
    border: 3px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 35% 50%, #753aa8, #4b2178 60%, #1f1030);
    box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 15px rgba(0,0,0,0.5);
    padding: 7px 14px;
}
.game-card button:hover { box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 15px rgba(0,0,0,0.3), 0 0 10px rgba(198,125,244,0.2); }
.game-card button:active { transform: scale(0.96); }

/* ═══════ FLOATING CONTROLS ═══════ */
.floating-controls { position: absolute; top: 40px; right: 6px; z-index: 20; display: flex; flex-direction: column; gap: 4px; }
.float-btn {
    background: rgba(8,10,15,0.8); border: 2px solid #333; border-radius: 2px;
    padding: 5px; cursor: pointer; color: #666; display: flex; align-items: center; justify-content: center;
    opacity: 0.4; transition: opacity 0.2s;
}
.float-btn:hover { opacity: 1; }

/* ═══════ SUB-TABS — panel-black / panel-purple ═══════ */
.market-sub-btn {
    flex: 1; padding: 8px 6px; border-radius: 2px; font-size: 14px;
    text-transform: uppercase;  text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 35% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #666, inset 0 0 20px rgba(0,0,0,0.6);
    color: #aaa; cursor: pointer; transition: all 0.2s;
}
.market-sub-btn.active {
    background: radial-gradient(ellipse at 35% 50%, #753aa8, #4b2178 60%, #1f1030);
    box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 20px rgba(0,0,0,0.5);
    color: white;
}
.market-sub { display: none; }
.market-sub.active { display: block; }

/* ═══════ MODALS — panel style ═══════ */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(4,8,16,0.92); backdrop-filter: blur(4px); padding: 12px; }
.modal-overlay.hidden { display: none; }
.modal-panel {
    border: 4px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8 0%, #214378 50%, #101930 100%);
    box-shadow: inset 0 0 0 3px var(--accent-cyan), inset 0 0 40px rgba(0,0,0,0.7), 0 20px 60px rgba(0,0,0,0.6);
    padding: 20px; width: 100%; max-width: 400px; max-height: 90vh;
    display: flex; flex-direction: column; overflow: hidden;
}
.modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 36px; text-transform: uppercase;  color: white; margin-bottom: 16px; text-align: center; }
.modal-input {
    width: 100%; border: 3px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 50% 50%, #1a1a1a, #050505);
    box-shadow: inset 0 0 0 2px #444, inset 0 0 15px rgba(0,0,0,0.6);
    padding: 10px 12px; color: white; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px;
    text-transform: uppercase; 
}
.modal-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent-cyan), inset 0 0 15px rgba(0,0,0,0.5); }
.modal-cost-row {
    display: flex; justify-content: space-between; font-weight: 700; text-transform: uppercase;  font-size: 14px;
    padding: 12px; border: 3px solid var(--border-frame); border-radius: 2px;
    font-family: 'Manrope', sans-serif;
    background: radial-gradient(ellipse at 50% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #666, inset 0 0 20px rgba(0,0,0,0.6);
}

.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; margin-top: 14px; border-top: 3px solid var(--border-frame); }

/* Cancel button — panel-black */
.modal-btn-cancel {
    padding: 10px 16px; border-radius: 2px; font-family: 'Bebas Neue', sans-serif;
    font-size: 14px; text-transform: uppercase; 
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 35% 50%, #a83a3a, #782121 60%, #301010);
    box-shadow: inset 0 0 0 2px var(--accent-red), inset 0 0 15px rgba(0,0,0,0.5);
    color: white; cursor: pointer;
}
.modal-btn-cancel:active { transform: scale(0.96); }

/* Action button — panel-green */
.modal-btn-action {
    padding: 10px 20px; border-radius: 2px; font-family: 'Bebas Neue', sans-serif;
    font-size: 14px; text-transform: uppercase; 
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 35% 50%, #469a84, #296051 60%, #10241b);
    box-shadow: inset 0 0 0 2px var(--accent-green), inset 0 0 15px rgba(0,0,0,0.5);
    color: white; cursor: pointer;
}
.modal-btn-action.pink {
    background: radial-gradient(ellipse at 35% 50%, #753aa8, #4b2178 60%, #1f1030);
    box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 15px rgba(0,0,0,0.5);
}
.modal-btn-action:active { transform: scale(0.96); }

.wiz-step { font-family: 'Manrope', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase;  color: var(--text-dim); }
.wiz-step.active { color: var(--accent-cyan); }
.wiz-cost {
    flex: 1; text-align: center; padding: 6px 8px; border-radius: 2px;
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 50% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #666, inset 0 0 15px rgba(0,0,0,0.5);
}

.field-label { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 48px; text-transform: uppercase;  color: white; margin-bottom: 10px; margin-top: 10px; text-align: center; }

.slider-group {
    border: 4px solid #1c305a; border-radius: 8px; padding: 24px 16px;
    background: #0a1426;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
    top: 20%;
}
.slider-group-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; text-transform: uppercase;  color: var(--accent-cyan); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #1c305a; text-align: center; }
.slider-row { display: flex; justify-content: space-between; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 12px; }

/* Custom Sliders for Mobile */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    margin-bottom: 15px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    background: #060c17;
    border-radius: 6px;
    border: 2px solid #1c305a;
}
input[type=range]::-webkit-slider-thumb {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -20px;
    border: 4px solid #000;
    box-shadow: 0 0 15px rgba(92,225,230,0.8);
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    background: #060c17;
    border-radius: 6px;
    border: 2px solid #1c305a;
}
input[type=range]::-moz-range-thumb {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    border: 4px solid #000;
    box-shadow: 0 0 15px rgba(92,225,230,0.8);
}

/* Review cards — panel-blue */
.review-card {
    border: 4px solid var(--border-frame); border-radius: 2px; padding: 12px; text-align: center;
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8, #214378 60%, #101930);
    box-shadow: inset 0 0 0 2px var(--accent-cyan), inset 0 0 20px rgba(0,0,0,0.5);
}

/* Award panel — panel-orange */
.award-panel {
    background: radial-gradient(ellipse at 35% 50%, #c46d29, #8f4b16 60%, #3b1b04) !important;
    box-shadow: inset 0 0 0 3px var(--accent-orange), inset 0 0 40px rgba(0,0,0,0.7), 0 20px 60px rgba(0,0,0,0.6) !important;
    border-color: var(--border-frame) !important;
}
.award-row {
    display: flex; justify-content: space-between; align-items: center; padding: 10px;
    border: 3px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 50% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #666, inset 0 0 15px rgba(0,0,0,0.5);
}
.award-row-gold {
    display: flex; justify-content: space-between; align-items: center; padding: 12px;
    border: 3px solid var(--border-frame); border-radius: 2px;
    background: radial-gradient(ellipse at 35% 50%, #c4a029, #8f7016 60%, #3b2b04);
    box-shadow: inset 0 0 0 2px var(--accent-gold), inset 0 0 15px rgba(0,0,0,0.4);
}

/* ═══════ Range Inputs ═══════ */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb { 
    -webkit-appearance: none; appearance: none; 
    height: 36px; width: 36px; border-radius: 50%; 
    background: radial-gradient(circle at top left, #5ce1e6 10%, #1eaeb3 60%, #086163 100%); 
    cursor: pointer; margin-top: -14px; 
    border: 3px solid #fff; 
    box-shadow: 0 0 20px rgba(92,225,230,1), inset 0 -4px 6px rgba(0,0,0,0.4), inset 0 4px 6px rgba(255,255,255,0.4); 
    transition: transform 0.1s ease-out;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 0 35px rgba(92,225,230,1), inset 0 -4px 6px rgba(0,0,0,0.4); }
input[type=range]::-webkit-slider-thumb:active { transform: scale(0.95); }
input[type=range]::-webkit-slider-runnable-track { 
    width: 100%; height: 10px; cursor: pointer; 
    background: #020408; border-radius: 5px; 
    border: 2px solid var(--border-frame); box-shadow: inset 0 2px 5px rgba(0,0,0,0.9), 0 1px 1px rgba(255,255,255,0.1); 
}
input[type=range]:focus { outline: none; }

/* ═══════ Tailwind overrides ═══════ */
.bg-red-700, .bg-red-600 {
    background: radial-gradient(ellipse at 35% 50%, #753aa8, #4b2178 60%, #1f1030) !important;
    border: 3px solid var(--border-frame) !important; border-radius: 2px;
    box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 15px rgba(0,0,0,0.5);
}
.bg-red-700:hover, .hover\:bg-red-600:hover {
    box-shadow: inset 0 0 0 2px var(--accent-purple), inset 0 0 15px rgba(0,0,0,0.3), 0 0 10px rgba(198,125,244,0.2) !important;
}
.bg-zinc-800 {
    background: radial-gradient(ellipse at 35% 50%, #3a6ba8, #214378 60%, #101930) !important;
    border: 3px solid var(--border-frame) !important; border-radius: 2px;
    box-shadow: inset 0 0 0 2px var(--accent-cyan), inset 0 0 20px rgba(0,0,0,0.5);
}
.border-white\/10 { border-color: var(--border-frame) !important; border-width: 3px !important; }
.border-white\/5 { border-color: #1a1a2a !important; }
.border-red-900\/50 { border-color: var(--border-frame) !important; }
.bg-zinc-900, .bg-zinc-900\/50, .bg-zinc-950, .bg-zinc-950\/80 { background-color: #0a0e18 !important; }
.bg-black\/50, .bg-red-950\/30 { background: #080a0f !important; }
.text-red-500 { color: var(--accent-purple) !important; }
.text-red-400 { color: var(--accent-pink-hi) !important; }
.text-red-200 { color: #e0c0f0 !important; }
.text-zinc-500 { color: #666 !important; }
.text-zinc-400 { color: #999 !important; }
.text-zinc-600 { color: #444 !important; }
.text-blue-500 { color: var(--accent-cyan) !important; }
.text-orange-500 { color: var(--accent-orange) !important; }
.text-green-500 { color: var(--accent-green) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.recent-job {
    padding: 8px 10px; border-radius: 2px; font-size: 12px;
    font-family: 'Manrope', sans-serif;
    border: 3px solid var(--border-frame);
    background: radial-gradient(ellipse at 50% 50%, #353535, #1a1a1a 60%, #050505);
    box-shadow: inset 0 0 0 2px #555, inset 0 0 15px rgba(0,0,0,0.5);
}
.glass {
    background: rgba(16,25,48,0.85); backdrop-filter: blur(12px);
    border: 3px solid var(--border-frame);
}
.award-blood { background: radial-gradient(ellipse at 35% 50%, #753aa8, #4b2178 60%, #1f1030) !important; }

.action-panel, .context-panel, .hud-bar, .game-main { display: none !important; }
