body {
    margin: 0;
    background-color: #0d0d0d;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

.title h1 {
    margin-top: 40px;
    font-size: 3em;
}

.title h2 {
    color: #19e7e5;
    margin-top: 20px;
    font-size: 1.5em;
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
    padding: 0 10px;
}

.cards h1 {
    margin-top: 5px;
    font-size: 1.5em;
    color: #f8f8f8;
}

.card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    margin-bottom: 20px;
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.links a {
    display: block;
    margin: 5px 0;
    color: #4da6ff;
    text-decoration: none;
}

.progress-bar {
    margin-top: 15px;
    width: 80%;
    height: 8px;
    background-color: #333;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

#gmod-loading-bar {
    margin: 40px auto;
    width: 80%;
    max-width: 600px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
}

#gmod-loading-bar #loading {
    width: 0%;
    height: 20px;
    background-color: #4da6ff;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

.staff-section {
    margin: 40px auto;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 600px;
}

.staff-title {
    margin-top: 5px;
    font-size: 2em;
}

.staff-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 20px;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.staff-container.hidden {
    opacity: 0;
}

.staff-member {
    background-color: #1a1a1a;
    padding: 15px;
    width: 100px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.staff-member img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.staff-member .name {
    margin-top: 5px;
    font-size: 14px;
}

.staff-member .rank {
    font-size: 12px;
    color: #bbb;
}

.card .links {
    margin-top: 15px;
}

.card .link-box {
    margin-bottom: 10px;
    text-align: left;
}

.card .link-box a {
    font-size: 16px;
    font-weight: bold;
    color: #4da6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card .link-box a:hover {
    color: #19e7e5;
}

.card .link-box p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #bbb;
    word-break: break-word;
}

#communityLogoTop {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .staff-section {
        max-width: 90%;
    }

    .staff-member {
        width: 80px;
    }

    .title h1 {
        font-size: 2em;
    }

    .title h2 {
        font-size: 1.2em;
    }
}
