:root {
    --gold: #c9a253;
    --gold-light: #e5c777;
    --bg: #050505;
    --card: #111418;
    --card-2: #0b0d10;
    --text: #ffffff;
    --muted: #aeb6c2;
    --border: rgba(229, 199, 119, 0.28);
    --danger: #ff7b91;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(201, 162, 83, 0.18), transparent 28%),
        radial-gradient(circle at 80% 70%, rgba(201, 162, 83, 0.10), transparent 32%),
        linear-gradient(135deg, #030303 0%, #090909 48%, #17120a 100%);
}

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

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

    padding: 24px;
}

.login-card {
    width: min(440px, 100%);

    padding: 34px;
    border-radius: 28px;

    background:
        linear-gradient(145deg, rgba(20, 23, 27, 0.98), rgba(8, 8, 9, 0.98));

    border: 1px solid var(--border);

    box-shadow:
        0 38px 110px rgba(0, 0, 0, 0.72),
        0 0 70px rgba(201, 162, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;

    color: var(--gold-light);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.login-brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;

    object-fit: cover;

    box-shadow:
        0 0 0 1px rgba(229, 199, 119, 0.20),
        0 10px 28px rgba(0, 0, 0, 0.42);
}

.login-card h1 {
    margin: 0 0 10px;

    font-size: clamp(30px, 5vw, 38px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.login-card p {
    margin: 0 0 28px;

    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.login-error {
    margin-bottom: 20px;
    padding: 13px 15px;

    border-radius: 16px;
    border: 1px solid rgba(255, 123, 145, 0.28);

    color: #ffc0cc;
    background: rgba(255, 123, 145, 0.08);

    font-size: 14px;
    font-weight: 700;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.login-field input {
    width: 100%;
    height: 50px;

    padding: 0 16px;

    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.10);

    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);

    font-size: 15px;
    outline: none;

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

.login-field input:focus {
    border-color: rgba(229, 199, 119, 0.70);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 0 4px rgba(229, 199, 119, 0.10);
}

.login-card button {
    width: 100%;
    height: 56px;

    margin-top: 10px;

    border: 0;
    border-radius: 18px;

    color: #0d0d0d;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));

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

    cursor: pointer;

    box-shadow:
        0 22px 48px rgba(201, 162, 83, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease;
}

.login-card button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow:
        0 28px 62px rgba(201, 162, 83, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

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

@media (max-width: 520px) {
    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 26px;
        border-radius: 24px;
    }
}