/* assets/css/login.css */

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Nunito", system-ui, sans-serif;
    color: #f4f4f4;
}

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(5, 8, 12, 0.55),
            rgba(5, 8, 12, 0.88)
        ),
        url("../background-S.png") center / cover no-repeat;
}

.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top, rgba(255, 210, 120, 0.15), transparent 35%),
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.025) 0,
            rgba(255,255,255,0.025) 1px,
            transparent 1px,
            transparent 4px
        );
    mix-blend-mode: screen;
}

.login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 24px;
    box-sizing: border-box;
}

.game-hero {
    text-align: center;
    margin-bottom: 56px;
}

.page-label {
    margin-bottom: 18px;
    color: #d7a95b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.game-title {
    margin: 0;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 8px 30px rgba(0,0,0,0.65);
}

.game-title span {
    display: block;
}

.game-subtitle {
    margin-top: 14px;
    color: rgba(255,255,255,0.72);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
}

.login-panel {
    width: min(620px, 100%);
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    background:
        linear-gradient(
            180deg,
            rgba(28, 32, 38, 0.92),
            rgba(14, 17, 22, 0.94)
        );
    box-shadow:
        0 32px 90px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
}

.login-panel__inner {
    display: block;
    width: 390px;
    padding: 34px;
    border: 1px solid rgba(215,169,91,0.35);
    border-radius: 20px;
    background: rgba(215,169,91,0.04);
    text-align: center;
}

.login-panel h2 {
    margin: 0 0 10px;
    color: #f3c86c;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-panel p {
    margin: 0 0 28px;
    color: rgba(255,255,255,0.68);
    font-size: 16px;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form label {
    display: grid;
    gap: 8px;
    text-align: left;
}

.login-form label span {
    color: rgba(255,255,255,0.68);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    color: #fff;
    font: inherit;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    background: rgba(0,0,0,0.28);
    outline: none;
}

.login-form input:focus {
    border-color: rgba(243,200,108,0.75);
    box-shadow: 0 0 0 3px rgba(243,200,108,0.12);
}

.login-form button {
    margin-top: 8px;
    padding: 15px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #d7a95b, #f3c86c);
    color: #16120a;
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.login-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}

@media (max-width: 640px) {
    .login-shell {
        padding-top: 48px;
    }

    .login-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .login-panel__inner {
        padding: 24px;
    }
}