/* ==============================
   User Profiles - Gaming Style
   ============================== */

.user-profile {
    font-family: 'Orbitron', 'Segoe UI', sans-serif;
    max-width: 900px;
    min-height: 600px;
    margin: 3rem auto;
    background: linear-gradient(135deg, #1b1b1b, #111);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    overflow: hidden;
    color: #fff;

    display: flex;           /* make it a flex container */
    flex-direction: column;  /* vertical stacking */
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    text-align: center;
}

/* Banner */
.user-profile .banner {
    width: 100%;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #ff3c00;
}

/* Profile Content */
.user-profile .profile-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center within content area */
    align-items: center;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}


/* Profile Picture */
.user-profile .profile-pic {
    margin-top: -100px;
}
.user-profile .profile-pic img,
.user-profile .profile-pic .avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #b90000;
    object-fit: cover;
}

/* Username & Bio */
.user-profile h2 {
    margin: 1rem 0 0.5rem;
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff3c00;
}
.user-profile p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Badges */
.user-profile h3 {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: #ff3c00;
}
.user-profile .badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.user-profile .badges img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.user-profile .badges img:hover {
    transform: scale(1.2);
}

/* Buttons */
.user-profile .profile-content p a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin: 0.3rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background-color: #962222;
    transition: transform 0.2s, box-shadow 0.2s;
}
.user-profile .profile-content p a:hover {
    transform: scale(1.05);
}
.user-profile .profile-content p a.logout {
    background-color: #962222;
    color: #fff;
}

/* Member Directory */
.member-directory {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.member-card {
    background: #1b1b1b;
    border: 2px solid #ff0000;
    border-radius: 12px;
    text-align: center;
    width: 160px;
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.member-card:hover {
    transform: translateY(-5px);
}
.member-card img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #ff3c00;
    margin-bottom: 0.5rem;
}
.member-card p {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

/* Optional: Neon Font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');
