:root {
    --noir-black: #08090c;
    --anthracite: #17191f;
    --bordeaux: #4b1e2a;
    --bottle-green: #18322d;
    --aged-gold: #c2a46d;
    --fog: #e6dfd2;
    --border-soft: rgba(194, 164, 109, 0.26);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 8% 18%, rgba(194, 164, 109, 0.16), transparent 30%),
        radial-gradient(circle at 85% 14%, rgba(24, 50, 45, 0.45), transparent 36%),
        linear-gradient(180deg, #101015 0%, #07080d 100%);
    color: var(--fog);
    font-family: "Inter", sans-serif;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.17'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    opacity: 0.18;
}

body::after {
    content: "";
    position: fixed;
    inset: -8vmax;
    pointer-events: none;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.74) 100%);
}

.login-shell {
    width: min(100%, 420px);
    position: relative;
    z-index: 2;
    padding: 1.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background: linear-gradient(145deg, rgba(75, 30, 42, 0.13), transparent 40%),
        linear-gradient(180deg, rgba(22, 24, 29, 0.92) 0%, rgba(14, 16, 21, 0.95) 100%);
    box-shadow: 0 1.2rem 2.3rem rgba(0, 0, 0, 0.45);
}

.brand,
.login-title {
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand {
    color: var(--aged-gold);
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-title {
    font-size: 1.1rem;
    color: var(--fog);
    margin-bottom: 1.2rem;
    text-align: center;
}

.login-label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(230, 223, 210, 0.8);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.login-input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.95rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(194, 164, 109, 0.3);
    background: rgba(7, 9, 12, 0.78);
    color: var(--fog);
}

.login-input:focus {
    outline: none;
    border-color: rgba(194, 164, 109, 0.72);
    box-shadow: 0 0 0 0.22rem rgba(194, 164, 109, 0.13);
}

.login-button,
.oauth-link {
    width: 100%;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.7rem 0.9rem;
    transition: 0.2s ease;
}

.login-button {
    border: 1px solid rgba(194, 164, 109, 0.5);
    background: linear-gradient(110deg, #18322d, #245146);
    color: #f5f0e4;
    cursor: pointer;
}

.login-button:hover {
    filter: brightness(1.08);
}

.divider {
    margin: 1rem 0;
    border-color: rgba(194, 164, 109, 0.28);
}

.oauth-link {
    display: block;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(194, 164, 109, 0.55);
    color: var(--aged-gold);
    box-sizing: border-box;
}

.oauth-link:hover {
    background: linear-gradient(110deg, #18322d, #245146);
    color: #f5f0e4;
}
