/* =========================
   AGON – MONOCHROME + GRAIN
========================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #000000;
    --surface-color: #0a0a0a;
    --text-main: #ffffff;
    --text-dim: #888888;
    --accent: #ffffff;
    --border-color: #333333;

    --font-title: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* =========================
   RESET & GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 0.9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* =========================
   HEADER
========================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-title);
    font-size: 32px;
    letter-spacing: 2px;
}

/* =========================
   CONTAINER (LOGIN / REGISTER)
========================= */
.register-container {
    max-width: 420px;
    margin: 100px auto;
    text-align: center;
    padding: 40px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.register-container h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =========================
   INPUTS
========================= */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 16px;
    background: #000000;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    background: #050505;
}

/* =========================
   BOUTON AGON
========================= */
.btn-main {
    background: var(--text-main);
    color: var(--bg-color);
    padding: 14px 40px;
    border-radius: 0;
    font-family: var(--font-title);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-main.full {
    width: 100%;
    display: block;
}

.btn-main:hover {
    background: black;
    color: white;
}

/* =========================
   LIENS BAS DE PAGE
========================= */
.bottom-text {
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-dim);
}

.bottom-text a {
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.bottom-text a:hover {
    border-bottom-color: var(--text-main);
}

/* =========================
   NOISE / GRAIN CINEMA
========================= */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {
    .register-container {
        margin: 40px 20px;
        padding: 30px 20px;
    }

    .header {
        padding: 20px 5%;
        justify-content: center;
    }
}
