/* RESET I ZMIENNE WZOROWANE NA STEAM */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Motiva Sans", Arial, Helvetica, Verdana, sans-serif;
}

body {
    background-color: #1b2838;
    color: #8f98a0;
    font-size: 13px;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: #ebebeb;
}

a:hover {
    color: #66c0f4;
}

/* STRUKTURA GŁÓWNA */
.responsive_page_frame {
    background: radial-gradient(center, ellipse cover, #243447 0%, #171a21 100%);
    background: -webkit-radial-gradient(center, ellipse cover, #243447 0%, #171a21 100%);
    min-height: 100vh;
    padding-top: 20px;
}

.responsive_page_content {
    max-width: 976px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* NAGŁÓWEK PROFILU (Wizytówka) */
.profile_header_bg {
    background-color: #222431;
    background-image: url('https://community.cloudflare.steamstatic.com/public/images/profile/2020/bg_profile_header.jpg');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    box-shadow: 0 0 10px 1px #000000;
}

.profile_header_bg_texture {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.9) 100%);
}

.profile_header {
    display: flex;
    padding: 24px;
    position: relative;
}

/* AVATAR */
.playerAvatar {
    width: 166px;
    height: 166px;
    border-radius: 2px;
    background-color: #222222;
    padding: 2px;
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.4);
}

.playerAvatar.ingame { background: #89c53f; }
.playerAvatar.online { background: #57cbde; }
.playerAvatar.offline { background: #6a6a6a; }

.playerAvatarAutoSizeInner {
    width: 162px;
    height: 162px;
}

.playerAvatarAutoSizeInner img {
    width: 100%;
    height: 100%;
    display: block;
}

/* INFORMACJE ŚRODKOWE */
.profile_header_content {
    padding-left: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile_header_centered_persona {
    margin-bottom: 2px;
}

.persona_name {
    font-size: 24px;
    color: #ffffff;
    line-height: 30px;
}

.header_real_name {
    color: #8f98a0;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.locality {
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile_in_game {
    margin-top: 5px;
}

.persona_ingame { color: #89c53f; }

.profile_in_game_header {
    font-size: 13px;
    font-weight: bold;
}

.profile_in_game_name {
    font-size: 13px;
}

/* PRAWA STRONA NAGŁÓWKA */
.profile_header_badgeinfo {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.profile_header_badge {
    background: rgba( 0, 0, 0, 0.5 );
    border-radius: 3px;
    display: flex;
    align-items: center;
    padding: 5px;
    width: 210px;
    transition: background 0.2s;
}

.profile_header_badge:hover {
    background: rgba( 0, 0, 0, 0.7 );
}

.favorite_badge_icon {
    width: 54px;
    height: 54px;
    margin-right: 10px;
}

.favorite_badge_description .name {
    color: #ebebeb;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 130px;
}

.favorite_badge_description .xp {
    color: #8f98a0;
    font-size: 12px;
}

.profile_header_badgeinfo_level {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.friendPlayerLevel {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid;
}

.lvl_40 { border-color: #c02942; }

.friendPlayerLevelNum {
    font-size: 20px;
    color: #ebebeb;
}

.level_info .level_text {
    font-size: 13px;
    color: #8f98a0;
}

/* ZAWARTOŚĆ PONIŻEJ NAGŁÓWKA (Layout 1/4 i 3/4) */
.profile_content {
    background: rgba(0,0,0, 0.3);
    padding: 20px 0;
    margin-top: 15px;
    border-radius: 3px;
}

.profile_content_inner {
    display: flex;
    padding: 0 24px;
    gap: 20px;
}

/* LEWA KOLUMNA (1/4) */
.profile_leftcol {
    flex: 1; /* Stanowi 1 część z 4 */
}

.social_links_container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social_link {
    display: block;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 3px;
    color: #ebebeb;
    font-size: 14px;
    border-left: 3px solid #66c0f4;
    transition: background 0.2s, padding-left 0.2s;
}

.social_link:hover {
    background: rgba(0, 0, 0, 0.6);
    padding-left: 20px;
    color: #ffffff;
}

/* PRAWA KOLUMNA (3/4) */
.profile_rightcol {
    flex: 3; /* Stanowi 3 części z 4 */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* GABLOTY W PRAWEJ KOLUMNIE */
.custombox_showcase {
    background: rgba( 0, 0, 0, 0.4 );
    padding: 12px;
    border-radius: 3px;
}

.showcase_header { 
    margin-bottom: 10px; 
}

.showcase_title {
    color: #66c0f4;
    font-size: 16px;
    font-weight: normal;
}

.showcase_content {
    background: rgba( 0, 0, 0, 0.2 );
    padding: 15px;
    border: 1px solid rgba( 0, 0, 0, 0.3 );
    border-radius: 3px;
}

.customtext_showcase p {
    color: #b0aeac;
    font-size: 13px;
    line-height: 1.6;
}

/* KONTENER NA ODZNAKI */
.badges_showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badges_showcase img {
    width: 54px;
    height: 54px;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.badges_showcase img:hover {
    transform: scale(1.1);
}