/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --bg-dark: #0f0f13;
    --bg-panel: #1e1e24;
    --primary: #e50914; /* Mafia Red */
    --accent: #2ecc71; /* Money Green */
    --text: #ffffff;
    --text-muted: #aaaaaa;
    --sidebar-width: 250px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
}

/* Sidebar (Menu) */
.sidebar {
    width: var(--sidebar-width);
    background: #000;
    border-right: 1px solid #333;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.brand {
    padding: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #333;
    letter-spacing: 2px;
}

.menu { list-style: none; padding: 0; margin: 0; }
.menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: 0.3s;
}
.menu li a:hover, .menu li a.active {
    background: #1a1a1a;
    color: white;
    border-left-color: var(--primary);
}
.menu i { margin-right: 10px; width: 20px; text-align: center; }

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 20px;
}

/* Top Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.stat-box {
    background: var(--bg-panel);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border-bottom: 2px solid #333;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.stat-value { font-size: 1.2rem; font-weight: bold; margin-top: 5px; }

/* Cards & Grid */
.game-card {
    background: var(--bg-panel);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.grid-cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Images & Maps */
.city-header {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    margin-bottom: 20px;
    border: 2px solid #333;
}
.city-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Items */
.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #25252b;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: transform 0.2s;
}
.item-row:hover { transform: translateX(5px); background: #2a2a30; }

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    transition: 0.3s;
}
.btn-primary { background: var(--primary); }
.btn-primary:hover { background: #b0060e; }
.btn-success { background: var(--accent); }
.btn-success:hover { background: #27ae60; }
.btn-sm { padding: 5px 10px; font-size: 0.8rem; }

/* Messages */
.alert { padding: 15px; border-radius: 5px; margin-bottom: 20px; text-align: center; }
.alert-success { background: rgba(46, 204, 113, 0.2); border: 1px solid var(--accent); color: var(--accent); }
.alert-error { background: rgba(229, 9, 20, 0.2); border: 1px solid var(--primary); color: var(--primary); }