:root{--yellow:#ffd000;--yellow2:#ffbf00;--bg:#02060a;--text:#fff;--muted:#aeb5be}
*{box-sizing:border-box}
html,body{width:100%;min-height:100%;margin:0;font-family:Arial,Helvetica,sans-serif;background:#02060a;color:#fff}
body{overflow-x:hidden}

.login-page{min-height:100vh;position:relative;background:linear-gradient(90deg,rgba(0,4,9,.30),rgba(0,4,9,.08) 55%,rgba(0,4,9,.28)),url('../uploads/fondos/6fb0c6ac-640b-45e9-8fff-32986a834654.png');background-size:cover;background-position:center top;background-repeat:no-repeat}

/* ================= HEADER ================= */
.top-header{height:76px;display:flex;align-items:center;padding:0 clamp(28px,7vw,105px);background:rgba(2,8,14,.88);border-bottom:1px solid rgba(255,208,0,.38);backdrop-filter:blur(12px);position:relative;z-index:10}
.header-logo{width:275px;flex:0 0 275px;height:100%;display:flex;align-items:center}
.header-logo img{width:255px;max-height:70px;height:auto;object-fit:contain;object-position:left center;display:block;filter:drop-shadow(0 4px 9px rgba(0,0,0,.55))}
.main-nav{display:flex;align-items:center;gap:clamp(18px,2vw,34px);margin-left:8px;flex:1;height:100%}
.main-nav a{position:relative;height:100%;display:flex;align-items:center;gap:8px;padding:0 2px;color:#e9edf1;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}
.main-nav a span{font-size:13px}
.main-nav a:hover,.main-nav a.active{color:var(--yellow)}
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--yellow);transform:scaleX(0);transition:.2s}
.main-nav a.active::after{transform:scaleX(1)}
.game-selector{display:flex;align-items:center;gap:10px;padding:10px 17px;min-width:252px;border-radius:28px;background:rgba(13,23,34,.75);border:1px solid rgba(255,208,0,.25);color:#fff;font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,.16);backdrop-filter:blur(10px)}
.game-icon{color:var(--yellow)}.arrow{margin-left:auto}

/* ================= MAIN ================= */
.login-content{min-height:610px;display:grid;grid-template-columns:minmax(0,1fr) minmax(470px,535px);gap:clamp(38px,5vw,82px);align-items:start;padding:26px clamp(30px,6.8vw,108px) 18px}
.hero-section{max-width:820px;padding-top:28px}
.eyebrow{letter-spacing:8px;font-size:15px;font-weight:600;margin-bottom:13px;text-shadow:0 3px 15px rgba(0,0,0,.8)}
.hero-text h1{font-size:clamp(54px,4.7vw,78px);line-height:.91;letter-spacing:-2.5px;font-weight:900;margin:0;text-shadow:0 5px 24px rgba(0,0,0,.82)}
.hero-text h1 strong{display:block;color:var(--yellow);font-style:italic;margin-top:7px;text-shadow:0 4px 22px rgba(0,0,0,.8)}
.hero-subtitle{margin:16px 0 0;font-size:clamp(17px,1.4vw,22px);font-weight:500;text-shadow:0 3px 14px rgba(0,0,0,.78)}
.features{margin-top:20px;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(4,10,16,.76);border:1px solid rgba(255,208,0,.45);border-radius:5px;overflow:hidden;backdrop-filter:blur(8px);max-width:700px}
.feature{min-height:102px;padding:14px 11px;display:flex;gap:9px;border-right:1px solid rgba(255,255,255,.18)}
.feature:last-child{border-right:none}.feature-icon{color:var(--yellow);font-size:23px;line-height:1}.feature h3{font-size:12px;color:#fff;margin:0 0 5px}.feature p{font-size:10px;line-height:1.35;color:#b5bdc6;margin:0}

/* =========================================================
   LOGIN CARD
========================================================= */

.login-card{
    width:100%;
    max-width:450px;

    margin:0 auto;

    padding:20px 32px 20px;

    background:
        linear-gradient(
            145deg,
            rgba(10,16,23,.94),
            rgba(3,7,11,.96)
        );

    border:1px solid rgba(255,208,0,.72);
    border-radius:20px;

    box-shadow:
        0 0 35px rgba(0,0,0,.62),
        0 0 25px rgba(255,208,0,.10);

    backdrop-filter:blur(18px);
}


/* =========================================================
   LOGO DEL LOGIN
========================================================= */

.login-logo{
    text-align:center;

    /* Sube el logo dentro de la tarjeta */
    margin:-8px 0 0;
}

.login-logo img{
    width:300px;
    max-width:82%;

    height:auto;

    display:inline-block;

    filter:
        drop-shadow(
            0 6px 14px rgba(0,0,0,.4)
        );
}


/* =========================================================
   TÍTULO LOGIN
========================================================= */

.login-title{
    text-align:center;

    /* Mantiene el título cerca del logo */
    margin-top:-9px;
    margin-bottom:14px;
}

.login-title h2{
    font-size:29px;
    line-height:1.05;

    font-weight:900;

    margin:0 0 6px;
}

.login-title h2 span{
    color:var(--yellow);
}

.login-title p{
    color:#aeb5be;

    font-size:12px;
    line-height:1.4;

    margin:0;
}

.login-title strong{
    color:#fff;
}


/* =========================================================
   INPUTS
========================================================= */

.input-group{
    position:relative;
    margin-bottom:10px;
}

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

    padding:0 48px;

    background:rgba(8,14,21,.94);

    border:1px solid rgba(255,255,255,.18);
    border-radius:13px;

    outline:none;

    color:#fff;

    font-size:14px;

    transition:.2s;
}

.input-group input:focus{
    border-color:var(--yellow);

    box-shadow:
        0 0 0 3px rgba(255,208,0,.08);
}

.input-group input::placeholder{
    color:#747d87;
}

.input-icon{
    position:absolute;

    left:17px;
    top:50%;

    transform:translateY(-50%);

    color:#a8b0b9;

    z-index:2;
}

.show-password{
    position:absolute;

    right:14px;
    top:50%;

    transform:translateY(-50%);

    border:0;

    background:transparent;

    color:#8d96a0;

    cursor:pointer;
}


/* =========================================================
   OPCIONES LOGIN
========================================================= */

.login-options{
    display:flex;

    justify-content:space-between;
    align-items:center;

    margin:
        3px
        2px
        12px;

    font-size:11px;
}

.remember{
    display:flex;
    align-items:center;

    gap:7px;

    color:#adb5bf;
}

.remember input{
    width:16px;
    height:16px;
}

.login-options a{
    color:var(--yellow);
    text-decoration:none;
}

.login-options a:hover{
    text-decoration:underline;
}


/* =========================================================
   BOTÓN LOGIN
========================================================= */

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

    border:0;
    border-radius:12px;

    background:
        linear-gradient(
            180deg,
            #ffd900,
            #ffbf00
        );

    color:#111;

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

    cursor:pointer;

    box-shadow:
        0 7px 22px rgba(255,196,0,.18);

    transition:.2s;
}

.login-button:hover{
    transform:translateY(-2px);

    box-shadow:
        0 11px 27px rgba(255,196,0,.30);
}

.login-button span{
    margin-right:7px;
}

.login-button b{
    float:right;

    margin-right:4px;

    font-size:21px;
    line-height:14px;
}


/* =========================================================
   DIVISOR
========================================================= */

.login-divider{
    display:flex;

    align-items:center;

    gap:13px;

    margin:13px 0;

    color:#77808b;

    font-size:10px;
}

.login-divider::before,
.login-divider::after{
    content:"";

    height:1px;

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

    flex:1;
}


/* =========================================================
   SOLICITAR INGRESO
========================================================= */

.request-access{
    min-height:46px;

    display:flex;

    align-items:center;

    gap:9px;

    padding:0 13px;

    border:
        1px solid
        rgba(67,145,203,.55);

    border-radius:11px;

    background:
        rgba(10,22,34,.70);

    color:#c5ccd3;

    font-size:11px;
}

.request-icon{
    font-size:18px;
}

.request-access a{
    margin-left:auto;

    color:var(--yellow);

    font-weight:800;

    text-decoration:none;

    white-space:nowrap;
}

.request-access a b{
    font-size:17px;
}

/* ================= GAME STRIP ================= */
.games-footer-area{padding:7px 30px 9px;background:rgba(2,6,10,.84);border-top:1px solid rgba(255,208,0,.20);display:flex;flex-direction:column;align-items:center;gap:4px}
.games-logos{display:flex;align-items:center;justify-content:center;gap:48px;width:100%;min-height:66px}
.game-logo{display:flex;align-items:center;justify-content:center;height:62px;width:190px}
.game-logo img{display:block;max-width:178px;max-height:60px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.65));transition:transform .2s ease,filter .2s ease}
.game-logo:hover img{transform:translateY(-2px) scale(1.03);filter:drop-shadow(0 6px 12px rgba(255,208,0,.18))}
.game-ats img{max-width:180px}.game-ets2 img{max-width:172px}.game-crm img{max-width:180px}
.games-tagline{width:min(610px,90%);display:flex;align-items:center;justify-content:center;gap:18px;color:#f4f4f4;font-size:10px;font-weight:800;letter-spacing:5px;white-space:nowrap}
.games-tagline span{height:2px;flex:1;background:var(--yellow);box-shadow:0 0 8px rgba(255,208,0,.20)}

/* ================= FOOTER ================= */
footer{min-height:48px;padding:10px clamp(20px,4vw,55px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;background:#03070b;color:#7e8791;font-size:10px;border-top:1px solid rgba(255,255,255,.06)}
.footer-copy{justify-self:start}.footer-links{display:flex;justify-content:center;align-items:center;gap:10px}.footer-links a{color:#9aa2ab;text-decoration:none}.footer-links a:hover{color:var(--yellow)}
.footer-social{justify-self:end;display:flex;align-items:center;gap:9px}.footer-social a{width:25px;height:25px;border:1px solid rgba(255,255,255,.22);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#e8edf2;text-decoration:none;background:rgba(255,255,255,.03);transition:.2s}.footer-social svg{width:14px;height:14px;fill:currentColor;display:block}.footer-social a:hover{color:var(--yellow);border-color:rgba(255,208,0,.55);transform:translateY(-2px)}

/* ================= RESPONSIVE ================= */
@media(max-width:1200px){.top-header{padding:0 35px}.header-logo{width:220px;flex-basis:220px}.header-logo img{width:205px}.main-nav{gap:16px}.game-selector{min-width:220px}.login-content{padding-left:4%;padding-right:4%;gap:30px}.login-card{padding-left:30px;padding-right:30px}.hero-text h1{font-size:clamp(50px,5vw,70px)}}
@media(max-width:950px){.top-header{height:auto;padding:13px 24px;flex-wrap:wrap;gap:10px}.header-logo{width:180px;flex-basis:180px}.header-logo img{width:170px}.main-nav{order:3;width:100%;height:42px;justify-content:center;overflow-x:auto;margin-left:0}.main-nav a{height:42px;padding:0 8px}.game-selector{margin-left:auto}.login-content{grid-template-columns:1fr;padding:32px 25px 15px;min-height:auto}.hero-section{padding-top:0;max-width:820px;margin:auto;width:100%}.features{max-width:none}.login-card{max-width:560px;margin:0 auto}.games-footer-area{margin-top:5px}.games-logos{gap:24px}.game-logo{width:150px}.game-logo img{max-width:145px}}
@media(max-width:600px){.top-header{padding:12px 16px}.header-logo{width:150px;flex-basis:150px}.header-logo img{width:145px}.game-selector{display:none}.main-nav{justify-content:flex-start;gap:3px}.main-nav a{font-size:11px;padding:0 6px}.hero-text h1{font-size:42px;letter-spacing:-1px}.eyebrow{font-size:11px;letter-spacing:5px}.hero-subtitle{font-size:16px}.features{grid-template-columns:1fr 1fr}.feature{border-right:1px solid rgba(255,255,255,.12)}.feature:nth-child(2n){border-right:none}.feature:last-child{grid-column:1/-1}.login-card{padding:22px 18px}.login-logo img{width:210px}.login-title h2{font-size:25px}.login-options{flex-direction:column;align-items:flex-start;gap:9px}.games-logos{gap:8px}.game-logo{width:31%;height:48px}.game-logo img{max-width:100%;max-height:46px}.games-tagline{font-size:8px;letter-spacing:2.5px;gap:9px}.games-tagline span{height:1px}footer{display:flex;flex-direction:column;gap:8px;text-align:center}.footer-copy,.footer-social{justify-self:auto}.footer-links{gap:7px;flex-wrap:wrap;justify-content:center}.footer-social{order:3}}
