/* ==========================================================
   KINGS - HEADER PADRAO GLOBAL
   ========================================================== */

.kings-header{
    width:100%;
    min-height:64px;

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

    gap:18px;

    padding:8px 18px;

    background:
        linear-gradient(
            180deg,
            rgba(4,12,22,.98) 0%,
            rgba(3,9,16,.98) 100%
        );

    border-bottom:1px solid rgba(255,196,0,.55);

    box-sizing:border-box;
    position:relative;
    z-index:1000;
}


/* MARCA */

.kings-header-brand{
    display:flex;
    align-items:center;
    gap:9px;

    flex:0 0 auto;

    text-decoration:none;
    color:#fff;
}

.kings-header-brand img{
    display:block;

    width:38px;
    height:38px;

    min-width:38px;
    min-height:38px;

    max-width:38px;
    max-height:38px;

    object-fit:contain;

    filter:
        drop-shadow(0 0 4px rgba(255,196,0,.75))
        drop-shadow(0 0 8px rgba(255,196,0,.30));
}

.kings-header-brand strong{
    color:#fff;

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

    line-height:1;
    letter-spacing:1px;

    white-space:nowrap;

    text-shadow:
        0 0 5px rgba(255,255,255,.25);
}


/* MENU */

.kings-header-nav{
    display:flex;
    align-items:center;
    justify-content:center;

    flex:1 1 auto;

    gap:8px;

    min-width:0;
}

.kings-header-nav a{
    position:relative;

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

    min-height:34px;

    padding:7px 11px;

    border:
        1px solid rgba(35,130,255,.85);

    border-radius:4px;

    background:
        linear-gradient(
            180deg,
            rgba(17,48,86,.80) 0%,
            rgba(5,18,34,.98) 100%
        );

    color:#f5f9ff;

    font-size:10px;
    font-weight:800;

    line-height:1;

    letter-spacing:.35px;

    text-decoration:none;
    white-space:nowrap;

    box-shadow:
        inset 0 0 12px rgba(37,126,255,.15),
        0 0 5px rgba(0,102,255,.30);

    text-shadow:
        0 0 5px rgba(92,166,255,.85);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


/* HOVER */

.kings-header-nav a:hover{
    transform:translateY(-2px);

    border-color:#4da1ff;

    background:
        linear-gradient(
            180deg,
            rgba(27,78,139,.92) 0%,
            rgba(5,27,53,.98) 100%
        );

    box-shadow:
        inset 0 0 17px rgba(50,138,255,.28),
        0 0 8px rgba(32,127,255,.70),
        0 0 16px rgba(32,127,255,.38);

    color:#fff;
}


/* PAGINA ATIVA */

.kings-header-nav a.active{
    color:#fff;

    border-color:#ffc400;

    background:
        linear-gradient(
            180deg,
            rgba(91,67,0,.90) 0%,
            rgba(28,22,4,.98) 100%
        );

    box-shadow:
        inset 0 0 14px rgba(255,196,0,.25),
        0 0 7px rgba(255,196,0,.65),
        0 0 14px rgba(255,196,0,.25);

    text-shadow:
        0 0 5px #fff,
        0 0 10px rgba(255,201,30,.95);
}

.kings-header-nav a.active::after{
    content:"";

    position:absolute;

    left:8px;
    right:8px;

    bottom:-5px;

    height:2px;

    background:#ffc400;

    box-shadow:
        0 0 5px #ffc400,
        0 0 10px rgba(255,196,0,.8);
}


/* RESPONSIVO */

@media(max-width:1250px){

    .kings-header{
        gap:10px;
        padding:8px 10px;
    }

    .kings-header-nav{
        gap:5px;
    }

    .kings-header-nav a{
        padding:7px 8px;
        font-size:9px;
    }
}


@media(max-width:980px){

    .kings-header{
        flex-wrap:wrap;
        justify-content:center;
    }

    .kings-header-brand{
        width:100%;
        justify-content:center;
    }

    .kings-header-nav{
        width:100%;
        flex-wrap:wrap;
    }
}


/* ==========================================================
   KINGS - CONTA STEAM GLOBAL
   ========================================================== */

.kings-steam-account{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:7px;
}

.kings-steam-connected{
    min-height:38px;
    display:flex;
    align-items:center;
    gap:8px;

    padding:5px 9px;

    border:1px solid rgba(56,211,113,.55);
    border-radius:5px;

    background:
        linear-gradient(
            180deg,
            rgba(16,60,42,.80),
            rgba(5,25,19,.96)
        );

    box-shadow:
        inset 0 0 12px rgba(44,220,113,.08),
        0 0 8px rgba(44,220,113,.10);
}

.kings-steam-dot{
    width:8px;
    height:8px;
    min-width:8px;
    border-radius:50%;
    background:#38df79;
    box-shadow:0 0 9px rgba(56,223,121,.9);
}

.kings-steam-info{
    display:flex;
    flex-direction:column;
    gap:2px;
    line-height:1;
}

.kings-steam-info strong{
    color:#62ec94;
    font-size:9px;
    font-weight:900;
    letter-spacing:.5px;
    white-space:nowrap;
}

.kings-steam-info small{
    color:#a8b5c4;
    font-size:8px;
    white-space:nowrap;
}

.kings-steam-login,
.kings-steam-logout{
    min-height:38px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    padding:7px 11px;

    text-decoration:none;
    white-space:nowrap;

    border-radius:5px;

    font-size:9px;
    font-weight:900;
    letter-spacing:.4px;
}

.kings-steam-login{
    color:#fff;

    border:1px solid #ffc400;

    background:
        linear-gradient(
            180deg,
            rgba(100,73,0,.95),
            rgba(31,23,2,.98)
        );

    box-shadow:
        inset 0 0 13px rgba(255,196,0,.18),
        0 0 8px rgba(255,196,0,.25);
}

.kings-steam-login span{
    color:#ffc400;
    text-shadow:0 0 7px #ffc400;
}

.kings-steam-login:hover{
    border-color:#ffd84c;
    box-shadow:
        inset 0 0 16px rgba(255,196,0,.28),
        0 0 12px rgba(255,196,0,.45);
}

.kings-steam-logout{
    color:#ff9b9b;
    border:1px solid rgba(255,74,74,.45);
    background:rgba(80,10,10,.35);
}

.kings-steam-logout:hover{
    color:#fff;
    border-color:#ff5959;
    background:rgba(130,15,15,.55);
}


/* RESPONSIVO CONTA STEAM */

@media(max-width:1180px){

    .kings-header{
        flex-wrap:wrap;
    }

    .kings-steam-account{
        margin-left:auto;
    }

}

@media(max-width:980px){

    .kings-steam-account{
        width:100%;
        justify-content:center;
        margin-left:0;
    }

}

@media(max-width:520px){

    .kings-steam-connected{
        flex:1 1 auto;
        justify-content:center;
    }

    .kings-steam-info small{
        display:none;
    }

}

/* ==========================================================
   KINGS - PERFIL STEAM COM AVATAR
   ========================================================== */

.kings-steam-connected{
    min-width:0 !important;
    padding:5px 9px !important;
}

.kings-steam-avatar,
.kings-steam-avatar-fallback{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;

    border-radius:5px;

    border:1px solid rgba(255,196,0,.65);

    object-fit:cover;

    box-shadow:
        0 0 7px rgba(255,196,0,.20);
}

.kings-steam-avatar-fallback{
    display:flex;
    align-items:center;
    justify-content:center;

    color:#ffc400;
    background:#111a25;
}

.kings-steam-info{
    min-width:0;
}

.kings-steam-name{
    max-width:135px;

    overflow:hidden;
    text-overflow:ellipsis;

    color:#fff !important;
    font-size:10px !important;
    line-height:12px !important;
}

.kings-steam-status{
    display:flex !important;
    align-items:center;
    gap:5px;

    color:#55df8b !important;
    font-size:8px !important;
    font-weight:800;
}

.kings-steam-status .kings-steam-dot{
    width:6px;
    height:6px;
    min-width:6px;
}


/* ==========================================================
   KINGS - AVATAR / PERFIL STEAM
   ========================================================== */

.kings-steam-avatar,
.kings-steam-avatar-fallback{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    max-width:36px !important;

    border-radius:6px;

    object-fit:cover;

    border:1px solid rgba(255,196,0,.70);

    box-shadow:
        0 0 7px rgba(255,196,0,.25);
}

.kings-steam-avatar-fallback{
    display:flex;
    align-items:center;
    justify-content:center;

    background:#101923;
    color:#ffc400;
}

.kings-steam-connected{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;

    gap:9px !important;
    min-width:0 !important;
}

.kings-steam-info{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;

    gap:4px !important;
    min-width:0;
}

.kings-steam-name{
    display:block !important;

    max-width:145px;

    overflow:hidden;
    text-overflow:ellipsis;

    color:#fff !important;

    font-size:10px !important;
    line-height:11px !important;

    white-space:nowrap;
}

.kings-steam-status{
    display:flex !important;
    align-items:center !important;

    gap:5px;

    color:#59e48d !important;

    font-size:8px !important;
    font-weight:900;

    white-space:nowrap;
}

.kings-steam-status .kings-steam-dot{
    width:6px !important;
    height:6px !important;
    min-width:6px !important;
}

