:root {
    --navy: #07111f;
    --navy-light: #0d1b2f;
    --black: #050505;
    --gold: #b8932f;
    --gold-hover: #c9a13a;
    --white: #f5f5f5;
    --gray: #a0a8b5;
    --border: rgba(255,255,255,.08);
}

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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow-y: auto
}

.background {
    position: fixed;
    inset: 0;

    background: url("/assets/images/background.png") center center / cover no-repeat;

    transform: scale(1.02);

    filter: brightness(.65) saturate(1);

    animation: slowZoom 40s ease-in-out infinite alternate;
}

.overlay {
    position: fixed;
    inset: 0;

    background: linear-gradient(
        rgba(7,17,31,.55),
        rgba(0,0,0,.45)
    );
}

.login-wrapper {
    position: relative;
    z-index: 5;

    min-height: 100vh;

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

    padding: 40px;
}

.login-card {
    width: min(90vw, 520px);

    background: linear-gradient(
        180deg,
        rgba(8,16,29,.95),
        rgba(4,10,18,.95)
    );

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,.08);
    border-left: 4px solid var(--gold);

    border-radius: 12px;

    padding: clamp(24px, 4vw, 45px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.55),
        0 0 30px rgba(184,147,47,.08);

    animation: fadeUp .6s ease;
}

.logo-area {
    text-align: center;
    margin-bottom: 35px;
}

.badge {
    width: clamp(100px, 18vw, 180px);
    height: auto;

    display: block;
    margin: 0 auto 15px;

    filter:
        drop-shadow(0 0 15px rgba(184,147,47,.25));

    user-select: none;
    pointer-events: none;
}

.portal-tag {
    display: inline-block;

    margin-bottom: 15px;

    padding: 6px 12px;

    border: 1px solid rgba(184,147,47,.35);

    background: rgba(184,147,47,.08);

    color: var(--gold);

    font-size: .75rem;
    font-weight: 600;

    letter-spacing: 2px;
}

h1 {
    color: var(--white);

    font-size: clamp(1.8rem, 4vw, 2.8rem);

    font-weight: 800;

    letter-spacing: 2px;
}

.subtitle {
    margin-top: 12px;

    color: var(--gold);

    font-size: 1rem;
    font-weight: 500;
}

.sub-subtitle {
    margin-top: 6px;

    color: var(--gray);

    font-size: .95rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input {
    width: 100%;

    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,255,255,.08);

    color: var(--white);

    padding: 15px 18px;

    border-radius: 6px;

    font-size: .95rem;

    transition: .2s;
}

input::placeholder {
    color: #7f8793;
}

input:focus {
    outline: none;

    border-color: var(--gold);

    box-shadow: 0 0 0 3px rgba(184,147,47,.15);
}

button {
    width: 100%;
}

.login-btn {
    margin-top: 8px;

    background: var(--gold);

    color: white;

    border: none;

    border-radius: 6px;

    padding: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.login-btn:hover {
    background: var(--gold-hover);
}

.discord-btn {
    background: #111827;

    color: white;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 6px;

    padding: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.discord-btn:hover {
    background: #182234;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.10);
    }
}

@media (max-width:700px) {

    .login-card {
        padding: 30px;
    }

    h1 {
        font-size: 1.8rem;
    }
}