@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-image: url("assets/background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 10px;
    font-family: 'Outfit', sans-serif;
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-logo {
    height: 70px;
    width: auto;
    display: block;
}

#nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0 0 0 25px;
    padding: 0;
}

#nav-left a {
    color: white;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    transition: opacity 0.2s ease;
}

#nav-left a:hover {
    opacity: 0.75;
}

#nav-left a.active {
    border-bottom: 3px solid white;
    font-weight: 700;
}

#nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

#ip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: white;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#ip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.1);
}

.copy-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#ip:hover .copy-icon {
    opacity: 1;
}

#discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    background-color: rgb(88, 101, 242);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgb(88, 101, 242);
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#discord:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.top{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: 30px 0 50px;
}

.top p:first-child{
    color: #ffd43b;
    font-weight: 600;
    margin: 0 0 4px;
}

.top h1{
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px;
}

.top p:last-child{
    font-weight: 400;
    opacity: 0.8;
    max-width: 480px;
}


.listing{
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.role-section{
    margin-bottom: 55px;
}

.listing h1{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 24px;
}

.owner{ --accent: #ffd43b; }
.manager{ --accent: #51cf66; }
.developer{ --accent: #339af0; }
.admin{ --accent: #ff6b6b; }
.mod{ --accent: #ff922b; }
.helper{ --accent: #da77f2; }


.card-cointainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
    width: 100%;
}


.main-card{
    display: flex;
    align-items: center;
    gap: 26px;
    width: 360px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 34px;
}

.owner .main-card{
    width: 640px;
}

.staff-avatar{
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 10px;
    background-color: var(--accent);
    overflow: hidden;
}

.owner .staff-avatar{
    width: 160px;
    height: 160px;
}

.staff-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
    font-size: 16px;
    min-width: 0;
}

.staff-info p{
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-info p span{
    opacity: 0.6;
    font-weight: 500;
    margin-right: 4px;
}


@media (max-width: 720px){
    .main-card,
    .owner .main-card{
        width: 100%;
        max-width: 400px;
    }

    .top h1{
        font-size: 36px;
    }
}
/* ---------- footer ---------- */

footer {
    padding: 26px 10px;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}
