/* import font */
@import url('https://fonts.googleapis.com/css2?family=Nata+Sans:wght@100..900&display=swap');


/* -------------------------------------------
    MAIN - server.html
---------------------------------------------- */

* {
    background-color: black;
}

.server-status {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-family: "Nata Sans", sans-serif;
    font-weight: 900;
    color: #edf0f1;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.status-row {
    font-family: "Nata Sans", sans-serif;
    font-weight: 700;
    color: #edf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: green;
    border-radius: 50%;
    margin-right: 8px;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    flex: 1 1 calc(50% - 20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.info-box h2 {
    background-color: rgba(0,0,0,0);
    font-family: "Nata Sans", sans-serif;
    font-weight: 900;
    color: #edf0f1;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-box p{
    background-color: rgba(0,0,0,0);
    font-family: "Nata Sans", sans-serif;
    font-weight: 600;
    color: #edf0f1;
    background-color: rgba(0,0,0,0);
}

.info-box small{
    background-color: rgba(0,0,0,0);
    font-family: "Nata Sans", sans-serif;
    font-weight: 600;
    color: #edf0f1;
    background-color: rgba(0,0,0,0);
}

.btn-join-server, .btn-join-discord {
    display: inline-block;       /* makes width adjust to content */
    padding: 10px 20px;          /* keeps them neat */
    margin: 8px auto;            /* centers them */
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s ease;
}


.btn-join-server {
    background-color: #28a745;
    color: white;
}
.btn-join-server:hover {
    background-color: #218838;
}

.btn-join-discord {
    background-color: #5865F2;
    color: white;
}
.btn-join-discord:hover {
    background-color: #4752c4;
}

.staff-list {
    background-color: rgba(0,0,0,0);
    margin-top: 40px;
}

.staff-list h2{
    font-family: "Nata Sans", sans-serif;
    font-weight: 900;
    color: #edf0f1;
}

.staff-grid {
    background-color: rgba(0,0,0,0);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
}

.staff-card {
    background-color: rgba(0,0,0,0);
    font-family: "Nata Sans", sans-serif;
    font-weight: 900;
    color: #edf0f1;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px;
    align-items: center;
}

.staff-icon {
    background-color: rgba(0,0,0,0);
    flex: 0 0 20%;
    font-size: 2rem;
    text-align: center;
}

.staff-info {
    background-color: rgba(0,0,0,0);
    flex: 1;
}

.staff-name {
    background-color: rgba(0,0,0,0);
    font-size: 1.1rem;
    font-weight: bold;
}

.staff-rank {
    background-color: rgba(0,0,0,0);
    font-family: "Nata Sans", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ccc;
}


.status-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* Pulsing animation for online status */
.status-dot.online {
    background-color: green;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.7);
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 255, 0, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 16px rgba(0, 255, 0, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 255, 0, 0.7);
    }
}

/* Offline status (gray, no animation) */
.status-dot.offline {
    background-color: gray;
    box-shadow: none;
    animation: none;
}
