* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0c0d14;
    background-image: url('fondo-galaxia.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: -webkit-optimize-contrast;
    min-height: 100vh;
    color: #c8c9d6;
    padding: 30px 20px;
}

.steam-wrapper {
    max-width: 1080px;
    margin: 0 auto;
}

/* ========== HEADER ========== */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 25px;
}

.header-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Avatar grande con marco violeta brillante y notable */
.avatar {
    width: 135px;
    height: 135px;
    border-radius: 4px;
    overflow: hidden;
    border: 3.5px solid #a855f7;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.6), 0 4px 20px rgba(0, 0, 0, 0.7);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h1 {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 12px;
    color: #a78bfa;
}

/* Transición suave para ocultar la bio y el estado */
.datos-a-ocultar {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.datos-a-ocultar.oculto {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.status {
    font-size: 13px;
    color: #b0b1c0;
    margin-bottom: 12px;
}

/* Bio aesthetic */
.custom-bio {
    text-align: left;
    font-size: 12px;
    color: #d1c4e9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.bio-line {
    width: 150px;
    height: 1px;
    background: #fff;
    margin: 2px 0;
}

/* Estilo Nivel (Level con Hexágono y País ubicado a la izquierda del menú) */
.header-right-level {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.level-text-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    padding-right: 4px;
}

.lvl-main-title {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Hexágono */
.hex-badge {
    width: 48px;
    height: 27px;
    background: rgba(45, 38, 68, 0.65);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Tarjeta de Argentina con el mismo ancho exacto que el menú de links */
.level-card-info {
    background: rgba(18, 17, 26, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: left;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    width: 100%;
}

.flag-text {
    font-size: 13px;
    color: #d1c4e9;
    font-weight: 500;
}

/* ========== CONTENT ========== */
.content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.left {
    flex: 1.55;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.right {
    width: 295px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: -91px;
}

/* Showcase más transparente */
.showcase {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    background: rgba(18, 17, 26, 0.3);
}

.showcase img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(12, 13, 20, 0.85));
    padding: 22px 18px 16px;
    text-align: center;
    font-size: 13px;
    color: #d0d1e0;
}

/* Card genérica más transparente */
.card {
    background: rgba(18, 17, 26, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.18);
    border-radius: 10px;
    padding: 16px 18px;
    backdrop-filter: blur(8px);
}

.card h3 {
    color: #fff;
    font-size: 14.5px;
    margin-bottom: 6px;
}

.card p {
    font-size: 13px;
    color: #8b8c9c;
}

.card .sub {
    margin-top: 5px;
    font-size: 12px;
    color: #a78bfa;
}

/* ========== CURRENTLY ONLINE (Más transparente) ========== */
.online-card {
    background: rgba(18, 17, 26, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    padding: 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.online-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 6px;
    text-decoration: none;
    color: #c8c9d6;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.menu-item i {
    width: 18px;
    color: #a78bfa;
    font-size: 14px;
}

.menu-item:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
}

.menu-item:hover i {
    color: #d8b4fe;
}

.stats {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.stat {
    flex: 1;
    text-align: center;
    background: rgba(168, 85, 247, 0.12);
    border-radius: 7px;
    padding: 9px 4px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.stat .num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #d8b4fe;
}

.stat .label {
    font-size: 10.5px;
    color: #8b8c9c;
}

/* Socials */
.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.soc {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.soc:hover {
    transform: scale(1.12);
}

.soc.ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.soc.heart {
    background: rgba(18, 17, 26, 0.6);
    color: #d8b4fe;
    border: 1px solid #a855f7;
    cursor: default;
}

.soc.wa {
    background: #25d366;
    color: white;
}

/* ========== SECCIONES (Más transparentes) ========== */
.section {
    background: rgba(18, 17, 26, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    padding: 22px;
    margin-top: 16px;
    backdrop-filter: blur(10px);
}

.section.hidden {
    display: none;
}

.back {
    background: transparent;
    border: 1px solid #a855f7;
    color: #d8b4fe;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: 0.2s;
}

.back:hover {
    background: #a855f7;
    color: white;
}

.section h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.item {
    background: rgba(18, 17, 26, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: 0.2s;
}

.item:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.15);
}

.item .code {
    font-weight: 700;
    color: #d8b4fe;
    min-width: 28px;
}

.item b {
    display: block;
    color: #fff;
    font-size: 13.5px;
}

.item p {
    font-size: 12px;
    color: #8b8c9c;
    margin-top: 2px;
}

.item.group {
    justify-content: space-between;
}

.item.group i {
    font-size: 22px;
    color: #25d366;
}

.item .join {
    background: #a855f7;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
}

.item .join:hover {
    background: #c084fc;
}

/* Responsive */
@media (max-width: 850px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .content {
        flex-direction: column;
    }
    .right {
        width: 100%;
    }
    .avatar {
        width: 100px;
        height: 100px;
    }
    .user-info h1 {
        font-size: 20px;
    }
    .showcase img {
        height: 230px;
    }
}