/* assets/css/style.css */
:root {
    --bg-body: #0e0e10;
    --bg-card: #18181b;
    --bg-input: #2f2f35;
    --border: #303032;
    --text-main: #efeff1;
    --text-muted: #adadb8;
    --primary: #9146ff;
    --primary-hover: #772ce8;
    --danger: #e91916;
    --success: #00f593;
    --radius: 6px;
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: transform 0.2s;
}

.card:hover { border-color: var(--primary); }

/* Typography */
h1, h2, h3 { margin-bottom: 1rem; font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}
.btn:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg-input); color: var(--text-main); }
.btn-secondary:hover { background: var(--border); }
.btn-block { width: 100%; }

/* Grid Games */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.game-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
    background: #000;
}

/* Forms */
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-muted); }
input[type="text"], input[type="number"], select, textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #000;
}

/* User Menu */
.user-menu { display: flex; align-items: center; gap: 15px; }
.avatar-small { width: 36px; height: 36px; border-radius: 50%; }