/* =====================================
   Nexus 8 Community Theme
   Members, Clans, Posts
===================================== */


/* ---------- Community Layout ---------- */


.community-section {

    max-width:1200px;

    margin:80px auto;

    padding:0 30px;

}




.community-header {

    text-align:center;

}





.community-header h1 {

    color:var(--primary);

    font-size:3rem;

}





/* ---------- Members ---------- */


.member-grid {


    display:grid;


    grid-template-columns:

    repeat(auto-fit,minmax(260px,1fr));


    gap:25px;


}






.member-card {


    background:var(--panel);


    border:1px solid var(--border);


    border-radius:15px;


    padding:25px;


    text-align:center;


    transition:0.3s;


}





.member-card:hover {


    transform:translateY(-8px);


    border-color:var(--primary);


}






.member-card img {


    width:150px;


    height:150px;


    object-fit:contain;


    margin-bottom:20px;


}






.member-card h3 {


    color:var(--text);


    margin-bottom:10px;


}







.member-role {


    display:inline-block;


    padding:5px 15px;


    border-radius:20px;


    font-weight:bold;


    font-size:0.9rem;


    background:rgba(255,255,255,0.08);


    margin-bottom:15px;


}






/* ---------- Member Roles ---------- */


.role-owner {

    color:#ff5555;

}


.role-admin {

    color:#ff8800;

}


.role-head-moderator {

    color:#aa55ff;

}


.role-moderator {

    color:#5599ff;

}


.role-probation {

    color:#aaaaaa;

}


.role-member {

    color:#55ff55;

}





.member-joined {

    margin-top: 1rem;

    font-size: 0.85rem;

    color: rgba(255,255,255,0.55);

}






.member-clan {


    margin-top:15px;


    color:var(--secondary);


    font-weight:bold;


}






.member-badges {

    margin-top: 1rem;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.5rem;

}

.badge {

    display: inline-block;

    padding: 0.35rem 0.8rem;

    border-radius: 999px;

    background: rgba(255, 215, 0, 0.15);

    color: #ffd54f;

    border: 1px solid rgba(255, 215, 0, 0.35);

    font-size: 0.8rem;

    font-weight: 600;

}






/* ---------- Clans ---------- */


.clan-grid {


    display:grid;


    grid-template-columns:

    repeat(auto-fit,minmax(280px,1fr));


    gap:25px;


}






.clan-card {


    background:var(--panel);


    border:1px solid var(--border);


    border-radius:15px;


    padding:30px;


    transition:0.3s;


}





.clan-card:hover {


    transform:translateY(-8px);


    border-color:var(--secondary);


}





.clan-card h3 {


    color:var(--secondary);


}






.clan-info {


    margin-top:15px;


    color:var(--muted);


}






/* ---------- Community Posts (Future) ---------- */


.community-post {


    background:var(--panel);


    border:1px solid var(--border);


    border-radius:15px;


    padding:25px;


    margin-bottom:25px;


}






.community-post h2 {


    color:var(--primary);


}






.community-post-meta {


    font-size:0.85rem;


    color:var(--muted);


    margin-bottom:15px;


}






/* ---------- Badges ---------- */


.badge {


    display:inline-block;


    padding:5px 12px;


    border-radius:999px;


    background:rgba(76,175,80,0.15);


    color:var(--primary);


    font-size:0.8rem;


    margin:3px;


}

.member-real-name {

    margin: -0.45rem 0 0.9rem;

    font-size: 0.8rem;

    color: #777;

}

/* ---------- Filters ---------- */

.filter-tag {

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:6px 12px;

    margin:5px;

    border-radius:20px;

    background:rgba(76,175,80,0.15);

    color:var(--primary);

    font-weight:bold;

}



.filter-tag button {

    border:none;

    background:none;

    color:inherit;

    cursor:pointer;

    font-weight:bold;

}

/* =====================================
   Nexus 8 Member Profiles
===================================== */


/* ---------- Profile Container ---------- */

.profile-container {

    max-width: 1000px;

    margin: 2rem auto;

    padding: 1rem;

}



/* ---------- Main Profile Card ---------- */

.profile-card {

    background: rgba(255,255,255,0.04);

    border: 1px solid #444;

    border-radius: 16px;

    padding: 2rem;

    box-shadow: 0 5px 20px rgba(0,0,0,0.25);

}



/* ---------- Profile Header ---------- */

.profile-header {

    display: flex;

    align-items: center;

    gap: 2rem;

    flex-wrap: wrap;

    margin-bottom: 2rem;

}



.profile-avatar {

    width: 160px;

    height: 160px;

    border-radius: 12px;

    object-fit: contain;

    background: rgba(0,0,0,0.2);

}



/* ---------- Profile Name ---------- */

.profile-name {

    margin: 0;

    font-size: 2.2rem;

}



.profile-real-name {

    color: #aaa;

    margin-top: 0.5rem;

    font-size: 1.1rem;

}



/* ---------- Role Badge ---------- */

.profile-role {

    display: inline-block;

    padding: 0.35rem 1rem;

    border-radius: 20px;

    font-size: 0.9rem;

    margin-top: 0.5rem;

}



/* Role Colours */


.profile-role.role-owner {

    background: rgba(255,215,0,0.2);

    color: gold;

}



.profile-role.role-admin {

    background: rgba(255,80,80,0.2);

    color: #ff8080;

}



.profile-role.role-head-moderator {

    background: rgba(150,80,255,0.2);

    color: #c9a0ff;

}



.profile-role.role-moderator {

    background: rgba(80,150,255,0.2);

    color: #80b5ff;

}



.profile-role.role-member {

    background: rgba(80,255,120,0.2);

    color: #80ff99;

}



.profile-role.role-probation {

    background: rgba(255,170,50,0.2);

    color: #ffb45c;

}





/* ---------- Profile Sections ---------- */


.profile-section {

    margin-top: 2rem;

    padding-top: 1rem;

    border-top: 1px solid #333;

}



.profile-section h2 {

    margin-bottom: 1rem;

}





/* ---------- Information Grid ---------- */


.profile-info-grid {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(220px,1fr)
    );

    gap: 1rem;

}





.profile-info-box {

    background: rgba(255,255,255,0.03);

    border-radius: 10px;

    padding: 1rem;

}





.profile-info-title {

    color: #aaa;

    font-size: 0.85rem;

}





.profile-info-value {

    font-size: 1.1rem;

    margin-top: 0.25rem;

}





/* ---------- Clan ---------- */


.profile-clan {

    background: rgba(255,255,255,0.05);

    border-radius: 12px;

    padding: 1.25rem;

}



.profile-clan-name {

    font-size: 1.3rem;

    font-weight: bold;

}





/* ---------- Badges ---------- */


.profile-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.profile-badge {

    background: rgba(255,215,0,0.15);

    border: 1px solid rgba(255,215,0,0.4);

    padding: 0.5rem 1rem;

    border-radius: 20px;

    font-size: 0.9rem;

}





/* ---------- Accounts ---------- */


.profile-accounts {

    display: grid;

    gap: 1rem;

}





.profile-account {

    display: flex;

    align-items: center;

    gap: 1rem;

    background: rgba(255,255,255,0.04);

    padding: 1rem;

    border-radius: 12px;

}





.profile-account-avatar {

    width: 64px;

    height: 64px;

    border-radius: 8px;

}



.profile-account-name {

    font-size: 1.1rem;

    font-weight: bold;

}



.profile-account-platform {

    color: #aaa;

    font-size: 0.9rem;

}




.account-main {

    display: inline-block;

    margin-left: 0.5rem;

    padding: 0.2rem 0.6rem;

    background: rgba(0,255,120,0.15);

    color: #80ff99;

    border-radius: 10px;

    font-size: 0.75rem;

}





/* ---------- Profile Buttons ---------- */


.profile-button {

    display: inline-block;

    margin-top: 1.5rem;

    padding: 0.75rem 1.5rem;

    background: rgba(255,255,255,0.08);

    border: 1px solid #555;

    border-radius: 10px;

    color: white;

    text-decoration: none;

    transition: 0.2s;

}



.profile-button:hover {

    background: rgba(255,255,255,0.15);

}





/* ---------- Mobile ---------- */


@media(max-width:700px){


    .profile-card {

        padding: 1.25rem;

    }



    .profile-header {

        justify-content: center;

        text-align: center;

    }



    .profile-name {

        font-size: 1.8rem;

    }



    .profile-avatar {

        width: 120px;

        height: 120px;

    }



}


/* ---------- Mobile ---------- */


@media(max-width:700px){


    .community-section {


        padding:0 15px;


    }



    .community-header h1 {


        font-size:2.3rem;


    }



    .member-card {


        padding:20px;


    }



}