* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(60, 120, 255, 0.08),
            transparent 35%
        ),
        #080b11;

    color: #ffffff;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    min-height: 100vh;
}

body::before {
    content: "";

    position: fixed;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 40px 40px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

    pointer-events: none;
}

.server-page {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;
}

.server-card {
    position: relative;

    width: 100%;
    max-width: 680px;

    overflow: hidden;

    background:
        rgba(15, 19, 28, 0.88);

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 24px;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.45),

        inset 0 1px 0
        rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(20px);
}

.server-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    background:
        rgba(45, 190, 110, 0.18);

    filter: blur(80px);

    pointer-events: none;
}

.server-content {
    position: relative;

    padding: 60px;
}

.server-status {
    display: flex;

    align-items: center;

    gap: 9px;

    width: fit-content;

    padding: 7px 12px;

    border-radius: 999px;

    background:
        rgba(45, 190, 110, 0.08);

    border:
        1px solid
        rgba(45, 190, 110, 0.15);

    color: #72e6a0;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #43d17d;

    box-shadow:
        0 0 8px
        rgba(67, 209, 125, 0.9);

    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

h1 {
    margin: 30px 0 4px;

    font-size:
        clamp(56px, 12vw, 96px);

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 800;
}

.server-role {
    margin: 0;

    color: #858d9d;

    font-size: 17px;
}

.server-info {
    display: grid;

    gap: 14px;

    margin-top: 50px;
}

.info-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 20px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid
        rgba(255, 255, 255, 0.05);

    border-radius: 14px;
}

.info-label {
    color: #626b7b;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.info-value {
    color: #e7eaf0;

    font-size: 14px;

    font-weight: 600;

    text-align: right;
}


.uptime,
.ping {
    font-family: monospace;

    font-variant-numeric: tabular-nums;
}

.uptime {
    color: #72e6a0;
}

.ping {
    color: #72e6a0;
}

.ping.good {
    color: #72e6a0;
}

.ping.medium {
    color: #f0c674;
}

.ping.high {
    color: #e89b6b;
}

.ping.poor {
    color: #e66b6b;
}

.timezone-offset {
    margin-left: 8px;

    color: #626b7b;

    font-family: monospace;

    font-size: 12px;
}

.server-footer {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 45px;

    color: #4f5868;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.footer-separator {
    color: #303745;
}

@media (max-width: 600px) {

    .server-page {
        padding: 15px;
    }

    .server-card {
        border-radius: 18px;
    }

    .server-content {
        padding: 35px 25px;
    }

    h1 {
        font-size: 64px;

        letter-spacing: -3px;
    }

    .info-item {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .info-value {
        text-align: left;
    }

}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}