:root {
    --black: #080808;
    --ruby: #d3134b;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.55);
    --line: rgba(255, 255, 255, 0.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #080808;
    color: white;
    font-family: "Inter", sans-serif;
}

.login-page {
    min-height: 100vh;
    padding: 55px 7%;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(211, 19, 75, 0.17),
            transparent 34%
        ),
        #080808;
}

.login-container {
    width: min(1050px, 100%);
    margin: auto;
    position: relative;
}

.logo {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 85px;
}

.logo span {
    color: var(--ruby);
}

.eyebrow {
    color: var(--ruby);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    margin-bottom: 22px;
}

h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(80px, 10vw, 125px);
    line-height: 0.76;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 35px;
}

h1 span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
}

.intro {
    width: 380px;
    max-width: 100%;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 42px;
}


/* =========================
   LOGIN / SIGNUP CARD
========================= */

.login-card {
    width: min(520px, 100%);
    padding: 38px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.login-card h2 {
    color: white;
    font-family: "Cormorant Garamond", serif;
    font-size: 39px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 32px;
}


/* =========================
   FORMS
========================= */

.login-card form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.login-card label {
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.login-card input {
    display: block;
    width: 100%;
    height: 48px;

    margin: 0 0 21px 0;
    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;

    outline: none;

    background: rgba(255, 255, 255, 0.035);
    color: white;

    font-family: "Inter", sans-serif;
    font-size: 13px;

    transition: 0.25s ease;
}

.login-card input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.login-card input:focus {
    border-color: var(--ruby);
    background: rgba(211, 19, 75, 0.04);
    box-shadow: 0 0 0 3px rgba(211, 19, 75, 0.07);
}


/* =========================
   BUTTON
========================= */

.login-card button {
    display: block;
    width: 100%;
    height: 50px;

    margin-top: 4px;

    border: 1px solid var(--ruby);
    border-radius: 0;

    background: var(--ruby);
    color: white;

    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;

    cursor: pointer;

    transition: 0.25s ease;
}

.login-card button:hover {
    background: #b80f40;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(211, 19, 75, 0.18);
}


/* =========================
   MESSAGES
========================= */

#loginMessage,
#signupMessage {
    min-height: 18px;
    margin-top: 13px;

    color: var(--ruby);
    text-align: center;

    font-size: 10px;
    line-height: 1.5;
}


/* =========================
   DIVIDER
========================= */

.login-card .divider {
    display: flex;
    align-items: center;
    gap: 15px;

    width: 100%;
    margin: 27px 0;
}

.login-card .divider::before,
.login-card .divider::after {
    content: "";
    display: block;

    height: 1px;
    flex: 1;

    background: var(--line);
}

.login-card .divider span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    letter-spacing: 0.15em;
}


/* =========================
   LINKS
========================= */

#createAccount,
#backToLogin {
    display: block;

    width: 100%;

    color: white;
    text-decoration: none;

    text-align: center;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;

    transition: 0.25s ease;
}

#createAccount:hover,
#backToLogin:hover {
    color: var(--ruby);
}

.back-home {
    display: inline-block;

    margin-top: 28px;

    color: var(--muted);
    text-decoration: none;

    font-size: 10px;
    letter-spacing: 0.12em;

    transition: 0.25s ease;
}

.back-home:hover {
    color: white;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .login-page {
        padding: 35px 20px;
    }

    .logo {
        margin-bottom: 55px;
    }

    h1 {
        font-size: clamp(70px, 18vw, 100px);
    }

    .login-card {
        padding: 27px;
    }

    .login-card h2 {
        font-size: 34px;
    }
}