/* /assets/css/style.css */
:root {
    --bg-dark: #0a0a0a;
    --bg-panel: #141414;
    --gold-light: #fbe58e;
    --gold-base: #d4af37;
    --gold-dark: #997d25;
    --chrome-light: #e0e0e0;
    --chrome-mid: #7f7f7f;
    --text-main: #e0e0e0;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 70px;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* UTILITIES */
.chrome-text {
    background: linear-gradient(to bottom, #fff 0%, #ccc 40%, #666 50%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.gold-text {
    color: var(--gold-base);
}

/* LAYOUT */
.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.game-content {
    padding: 15px;
    flex: 1;
}

/* HEADER */
.top-header {
    background: linear-gradient(to bottom, #222 0%, #000 100%);
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--chrome-mid);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.logo {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 20px;
    background: linear-gradient(to bottom, #fff 0%, #ccc 40%, #666 50%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SIDEBAR */
.sidebar-left {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #111;
    border-right: 2px solid var(--gold-dark);
    z-index: 1000;
    transition: 0.3s ease;
    padding-top: 20px;
    overflow-y: auto;
    
    /* HIDE SCROLLBAR (IE, Edge, Firefox) */
    -ms-overflow-style: none;
    scrollbar-width: none; 
}

/* HIDE SCROLLBAR (Chrome, Safari, Opera) */
.sidebar-left::-webkit-scrollbar {
    display: none;
}

.sidebar-left.active {
    left: 0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.9);
}

.menu-header {
    padding: 10px 20px;
    color: var(--gold-base);
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid #333;
    margin-top: 15px;
}

/* NAVIGATION LIST FIX */
.menu-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.menu-list li {
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.menu-list li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
    font-size: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.menu-list li a i {
    width: 25px;
    text-align: center;
    margin-right: 5px;
}

.menu-list li a:hover,
.menu-list li a:active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    color: var(--gold-light);
    border-left: 3px solid var(--gold-base);
}

/* OVERLAY */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 900;
    display: none;
    backdrop-filter: blur(2px);
}

.overlay.active {
    display: block;
}

/* --- BUTTONS (GOLD) --- */
button,
.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(180deg, var(--gold-base) 0%, var(--gold-dark) 100%);
    color: #000;
    border: 1px solid var(--gold-light);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

button:hover,
.btn:hover {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-base) 100%);
    box-shadow: 0 0 10px var(--gold-dark);
}

/* --- SECONDARY BUTTON (BRIGHT CHROME) --- */
.btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #b0b0b0 100%);
    color: #000;
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%);
    box-shadow: 0 0 10px #fff;
}

/* --- DISABLED --- */
button:disabled,
.btn:disabled {
    background: #222;
    color: #777;
    border: 1px solid #444;
    cursor: not-allowed;
    box-shadow: none;
}

/* CARDS */
.crime-card,
.item-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #141414 100%);
    border: 1px solid #333;
    border-radius: 4px;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #000;
    border-top: 2px solid #555;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 500;
}

.nav-item {
    text-align: center;
    color: #666;
    font-size: 10px;
    flex: 1;
    padding: 5px 0;
    list-style: none;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
    display: block;
    background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-item.active i {
    background: -webkit-linear-gradient(var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-item.active span {
    color: var(--gold-base);
}

/* DESKTOP */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
        padding-left: 240px;
        padding-right: 250px;
    }

    .bottom-nav {
        display: none;
    }

    /* Force Hide Overlay on Desktop */
    .overlay.active {
        display: none !important;
    }

    .sidebar-left {
        left: 0;
        width: 240px;
        padding-top: 60px;
        border-right: 1px solid #333;
    }

    .sidebar-right {
        position: fixed;
        right: 0;
        top: 55px;
        width: 250px;
        height: 100%;
        background: var(--bg-panel);
        border-left: 1px solid #333;
        padding: 20px;
    }
}