:root {
    --primary: #f4c400; /* GTA Yellow */
    --primary-hover: #ffffff;
    --bg-dark: #111111;
    --glass: rgba(10, 10, 10, 0.95);
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --border: 3px solid #000;
    --radius: 0px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 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;
    overflow: hidden;
}

h1, h2 {
    font-family: 'Changa One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--glass);
    padding: 3.5rem;
    width: 100%;
    max-width: 480px;
    border: var(--border);
    border-top: 6px solid var(--primary);
    box-shadow: 8px 8px 0px rgba(0,0,0,1);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-area {
    margin-bottom: 2.5rem;
}
.logo-area i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px #000;
}
.logo-area h1 {
    font-size: 2.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 5px;
    transform: skewX(-5deg);
    text-shadow: 2px 2px 0px #000;
}
.logo-area p {
    color: var(--text-muted);
    font-size: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: normal;
    text-transform: uppercase;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.input-group label {
    display: block;
    font-size: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}
.input-group input {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 2px solid #333;
    padding: 14px 18px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    border-radius: 0;
    transition: 0.1s;
    font-size: 0.95rem;
}
.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0,0,0,0.8);
}

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

.form-footer {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}
.form-footer a {
    color: #fff;
    font-weight: normal;
}
.form-footer a:hover {
    color: var(--primary);
}

#app-alerts {
    margin-top: 20px;
    font-size: 0.9rem;
}
.alert-error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border: 2px solid #e74c3c;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.alert-success {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    padding: 10px;
    border: 2px solid #2ecc71;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* CRT Scanlines */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.1)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9998;
}

.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%);
    pointer-events: none;
    z-index: 9999;
}
