:root {
    --gta-yellow: #f4c400;
    --gta-dark: #111111;
    --gta-darker: #080808;
    --gta-grey: #2a2a2a;
    --gta-light-grey: #888888;
    --text-main: #f0f0f0;
    --gta-blue: #3b5998;
    
    --primary: var(--gta-yellow);
    --primary-hover: #ffffff;
    --bg-dark: var(--gta-darker);
    --bg-panel: #141414;
    --bg-card: #1a1a1a;
    --text-muted: var(--gta-light-grey);
    --border: 2px solid var(--gta-grey);
    --radius: 0px;
    --sidebar-width: 260px;
    --topbar-height: 70px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* CRT Scanline Effect & Vignette */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.3;
}

.vignette {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.2) 100%);
    z-index: 9998;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: 0.1s; cursor: pointer; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
    color: #fff;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

body.auth-page {
    background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('/assets/images/homepage_image_1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border: 3px solid #000;
    border-top: 6px solid var(--primary);
    box-shadow: 6px 6px 0px rgba(0,0,0,1);
    text-align: center;
    position: relative;
}

.auth-logo i { font-size: 3.5rem; color: var(--primary); margin-bottom: 1rem; text-shadow: 2px 2px 0px #000; }
.auth-logo h1 { 
    font-family: 'Changa One', sans-serif;
    color: #fff; 
    font-size: 3rem; 
    margin-bottom: 0.5rem; 
    text-shadow: 2px 2px 0px #000;
    transform: skewX(-5deg);
}
.auth-logo p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; letter-spacing: 1px; font-weight: 500;}

.input-group { margin-bottom: 1.2rem; text-align: left; }
.input-group label { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 1px; }
.input-group input {
    width: 100%;
    background: #0a0a0a;
    border: 2px solid var(--gta-grey);
    padding: 12px 15px;
    color: #fff;
    transition: 0.2s;
    font-family: 'Roboto', sans-serif;
}
.input-group input:focus { border-color: var(--primary); background: #111; outline: none; }

.btn-primary {
    display: block; width: 100%; padding: 15px;
    font-family: 'Bebas Neue', sans-serif; text-transform: uppercase; font-size: 1.5rem;
    border: 3px solid #000; background: var(--primary); color: #000;
    cursor: pointer; transition: 0.1s; letter-spacing: 2px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.8);
}
.btn-primary:hover { background: #fff; color: #000; transform: translate(2px, 2px); box-shadow: 2px 2px 0px rgba(0,0,0,0.8); }
.btn-primary:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px rgba(0,0,0,0.8); }

.btn-small {
    display: inline-flex; width: auto; padding: 8px 15px;
    font-size: 1rem; box-shadow: 2px 2px 0px rgba(0,0,0,0.8);
}

.alert-error, .alert-success, .alert-info {
    padding: 15px; margin-bottom: 20px; font-family: 'Roboto', sans-serif; font-weight: 500; text-align: left;
    display: flex; align-items: center; gap: 10px;
    border: 2px solid #000;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.8);
}
.alert-error { background: #d93025; color: #fff; }
.alert-success { background: #34a853; color: #fff; }
.alert-info { background: #1a73e8; color: #fff; }
