.user-profile-container {
    text-align: center;
    max-width: 100%;
}

.cover-photo-container {
    position: relative;
    width: 100%;
}

.cover-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.user-details {
    position: absolute;
    bottom: -60px;

    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: #28283b;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 80px 15px 15px 15px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #28283bbf;

    object-fit: cover;
    position: absolute;
    top: -50px;

    left: 50%;
    transform: translateX(-50%);
}

.username,
.full-name,
.workplace {
    color: #ffffff;
    margin: 8px 0;
}

.username {
    font-size: 0.7rem;
}

.full-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.workplace {
    font-size: 1rem;
}

.profile-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    padding: 20px 0;
    background-color: #3a394ee8;

    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    width: 80%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.profile-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.profile-navigation a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.profile-navigation a:hover,
.profile-navigation a.active {
    background-color: #7f599975;

    color: #ffffff;
    transform: translateY(-2px);

}


.profile-navigation a.active:hover {
    transform: translateY(-2px);
}

.about-container {
    background-color: #28283b;

    color: #ffffff;

    font-size: 1rem;

    line-height: 1.6;

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    margin: 20px auto 20px;

    width: 90%;

    max-width: 1020px;

    text-align: left;

}


.about-container h1,
.about-container h2,
.about-container h3,
.about-container h4,
.about-container h5,
.about-container h6 {
    color: #c792ea;

    margin-top: 24px;

}

.about-container p {
    margin: 10px 0;

}

.about-container a {
    color: #9ad9db;

    text-decoration: none;

}

.about-container a:hover {
    text-decoration: underline;

}

.about-container ul,
.about-container ol {
    padding-left: 20px;

}

.about-container li {
    margin: 5px 0;

}

.about-container code {
    background-color: #3a3a3c;

    padding: 2px 4px;

    border-radius: 4px;

    font-family: 'Roboto Mono', monospace;

    color: #ffcc66;

}

.about-container pre {
    background-color: #3a3a3c;
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;

}

.banned-badge {
    display: inline-block;
    padding: 5px 10px;
    background-color: #ff0000;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hactivity-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #2d2f47, #3a3d5b);
    border: 1px solid #4a4e70;
    border-radius: 12px;
    padding: 5px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #ffffff;
    gap: 5px;
}

.badge-text {
    color: #c792ea;
    font-weight: bold;
}

.badge-count {
    color: #ffffff;
    background: #6c49b8;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: bold;
    text-shadow: 0 0 4px #ffffff, 0 0 6px #c792ea;
    animation: badge-glow 1.8s infinite alternate;
}

@keyframes badge-glow {
    0% {
        text-shadow: 0 0 6px #ffffff, 0 0 10px #c792ea;
    }
    100% {
        text-shadow: 0 0 8px #ffffff, 0 0 12px #c792ea;
    }
}
