/* ========================================
   TRAGEDY // SIGNUP
======================================== */

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

html {
    color-scheme: dark;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(150, 0, 0, 0.14),
            transparent 35%
        ),
        #050505;

    color: #f5f5f5;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* ========================================
   BACK BUTTON
======================================== */

.back-button {
    position: absolute;

    top: 30px;
    left: 40px;

    z-index: 20;

    color: #777;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.back-button:hover {
    color: #a855f7;

    text-shadow:
        0 0 15px rgba(168, 85, 247, 0.4);
}


/* ========================================
   PAGE
======================================== */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;
}


/* ========================================
   CARD
======================================== */

.login-card {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 45px;

    background: #0a0a0a;

    border: 1px solid #222;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(120, 0, 0, 0.05);
}

.login-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #b00000,
        transparent
    );
}


/* ========================================
   BRAND
======================================== */

.brand {
    margin-bottom: 38px;
}

.brand-name {
    margin-bottom: 10px;

    color: #a50000;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 5px;
}

.brand h1 {
    margin-bottom: 14px;

    color: #f5f5f5;

    font-size: 48px;
    font-weight: 900;

    line-height: 0.88;

    letter-spacing: -3px;
}

.subtitle {
    color: #666;

    font-size: 12px;

    letter-spacing: 1px;
}


/* ========================================
   FORM
======================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #666;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.form-group input {
    width: 100%;

    padding: 14px;

    background: #070707;

    color: #fff;

    border: 1px solid #252525;

    outline: none;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #333;
}

.form-group input:focus {
    border-color: #8e0000;

    box-shadow:
        0 0 20px rgba(180, 0, 0, 0.08);
}


/* ========================================
   MESSAGE
======================================== */

#formMessage {
    min-height: 18px;

    margin-bottom: 12px;

    color: #ff3333;

    font-size: 11px;
}


/* ========================================
   CREATE ACCOUNT
======================================== */

.login-button {
    width: 100%;

    padding: 15px;

    background: #9e0000;

    color: #fff;

    border: 1px solid #bd0000;

    cursor: pointer;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 3px;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.login-button:hover {
    background: #c00000;

    box-shadow:
        0 0 30px rgba(200, 0, 0, 0.22);

    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}


/* ========================================
   LOGIN
======================================== */

.login {
    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 24px;

    font-size: 10px;
}

.login span {
    color: #555;
}

.login a {
    color: #a90000;

    text-decoration: none;

    font-weight: 800;
}

.login a:hover {
    color: #ff2424;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .back-button {
        top: 22px;
        left: 20px;
    }

    .login-page {
        padding:
            80px 15px
            40px;
    }

    .login-card {
        padding: 35px 25px;
    }

    .brand h1 {
        font-size: 40px;
    }
}