:root { color-scheme: dark; }

html, body { min-height: 100%; }
body.login-page {
    margin: 0;
    color: #eff7ff;
    background: #02080d url('../img/SFONDO.png') center center / cover fixed no-repeat;
    font-family: Arial, Helvetica, sans-serif;
}
body.login-page:before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: '';
    background: radial-gradient(circle at 50% 30%, rgba(20, 57, 82, .28), rgba(0, 2, 7, .8) 72%);
}
.login-shell {
    display: grid;
    min-height: 100vh;
    padding: 34px 18px;
    place-items: center;
}
.login-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 470px));
    gap: 24px;
    width: 100%;
    justify-content: center;
}
.login-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 62, .72);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(3, 19, 32, .96), rgba(8, 8, 15, .94));
    box-shadow: 0 0 0 1px rgba(18, 136, 211, .28), 0 26px 70px rgba(0, 0, 0, .72), inset 0 0 42px rgba(14, 100, 156, .14);
}
.login-brand {
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(121, 187, 225, .25);
    text-align: center;
}
.login-logo {
    display: block;
    width: min(220px, 65%);
    max-height: 205px;
    margin: 0 auto 12px;
    object-fit: contain;
    filter: drop-shadow(0 5px 9px rgba(0,0,0,.8));
}
.login-brand h1 {
    margin: 0;
    color: #ffe58a;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(27px, 5vw, 37px);
    font-weight: 700;
    text-shadow: 0 2px 7px #000;
}
.login-brand p {
    margin: 7px 0 0;
    color: #bed2e2;
    font-size: 15px;
}
.login-content { padding: 25px 32px 31px; }
.login-field { margin: 0 0 19px; }
.login-field .form-label { margin: 0 0 7px; color: #eaf5ff; font-size: 14px; font-weight: 700; }
.login-field .form-control {
    min-height: 46px;
    border: 1px solid #466b84;
    border-radius: 7px;
    background: rgba(0, 9, 18, .72);
    color: #fff;
    box-shadow: inset 0 1px 4px rgba(0,0,0,.55);
}
.login-field .form-control:focus {
    border-color: #3eafff;
    background: rgba(0, 13, 26, .9);
    color: #fff;
    box-shadow: 0 0 0 .22rem rgba(53, 166, 255, .23);
}
.login-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 24px;
    border: 1px solid #ffda52;
    border-radius: 7px;
    background: linear-gradient(180deg, #ffc928, #d78900);
    color: #191100;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .045em;
    text-shadow: 0 1px rgba(255,255,255,.28);
}
.login-submit:hover, .login-submit:focus { background: linear-gradient(180deg, #ffe15a, #e89d05); }
.login-error {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid #ec6b75;
    border-radius: 7px;
    background: rgba(114, 9, 20, .58);
    color: #ffe7e9;
}
.game-story-card {
    display: flex;
    flex-direction: column;
}
.game-story-image {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-bottom: 1px solid rgba(121, 187, 225, .25);
}
.game-story-content {
    padding: 25px 32px 31px;
}
.game-story-content h2 {
    margin: 0 0 15px;
    color: #ffc928;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
}
.game-story-content h3 {
    margin: 0 0 16px;
    color: #ffc928;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
}
.game-story-content p {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}
.game-story-content p:last-child { margin-bottom: 0; }
.game-story-content .game-story-emphasis { font-weight: 700; }
@media (max-width: 480px) {
    .login-shell { padding: 18px 12px; }
    .login-brand, .login-content, .game-story-content { padding-right: 22px; padding-left: 22px; }
    .game-story-image { height: 220px; }
}
