* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(
            circle at top,
            #202938 0%,
            #0d1117 45%,
            #080b10 100%
        );
    color: #ffffff;
    min-height: 100vh;
}


header {
    border-bottom: 1px solid #293241;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(12px);
}


.header-content {
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


h1 {
    margin: 0;
    font-size: 32px;
}


header p {
    margin: 6px 0 0;
    color: #8f9aaa;
}


.status {
    margin-left: auto;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
}


.status.online {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}


.status.offline {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}


main {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}


.server-card {
    padding: 30px;

    border: 1px solid #293241;
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 41, 55, 0.9),
            rgba(13, 17, 23, 0.95)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35);
}


.server-info {
    display: flex;
    align-items: center;
    gap: 20px;
}


.server-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151c27;
    border-radius: 16px;
    overflow: hidden;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.server-info h2 {
    margin: 0;
    font-size: 27px;
}


.server-info p {
    margin: 6px 0 0;
    color: #9ca3af;
}


.stats {
    margin-top: 30px;

    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.stat {
    padding: 18px;

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

    border: 1px solid #293241;

    border-radius: 14px;

    display: flex;
    gap: 15px;
    align-items: center;
}


.stat-icon {
    font-size: 25px;
}


.stat strong {
    display: block;
    font-size: 20px;
}


.stat span:last-child {
    color: #8f9aaa;
    font-size: 13px;
}


.buttons {
    margin-top: 25px;

    display: flex;
    gap: 12px;
}


.button {
    padding: 12px 20px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;
}


.button.primary {
    background: #4ade80;
    color: #07100a;
}


.button.secondary {
    background: #202938;
    color: white;

    border: 1px solid #374151;
}


.section {
    margin-top: 45px;
}


.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}


.section-title h2 {
    margin: 0;
}


.section-title p {
    color: #8f9aaa;
    margin: 5px 0 0;
}


.see-all {
    color: #4ade80;
    text-decoration: none;
}


.mods-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}


.mod-card {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 15px;

    border-radius: 14px;

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

    border: 1px solid #293241;
}


.mod-icon {
    width: 45px;
    height: 45px;

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

    border-radius: 10px;

    background: #151c27;

    font-size: 22px;
}


.mod-info {
    flex: 1;
}


.mod-info h3 {
    margin: 0;

    font-size: 15px;
}


.mod-info p {
    margin: 5px 0 0;

    color: #8f9aaa;

    font-size: 13px;
}


.mod-link {
    color: #4ade80;

    text-decoration: none;

    font-size: 20px;
}


.map-placeholder {
    min-height: 300px;

    border: 1px dashed #374151;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(31,41,55,0.7),
            rgba(13,17,23,0.8)
        );

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 30px;
}


.map-icon {
    font-size: 55px;
}


.map-placeholder h3 {
    margin: 15px 0 5px;
}


.map-placeholder p {
    color: #8f9aaa;

    max-width: 500px;
}


.loading {
    color: #8f9aaa;
}


footer {
    text-align: center;

    padding: 40px 20px;

    border-top: 1px solid #293241;

    color: #6b7280;

    font-size: 13px;
}


@media (max-width: 700px) {

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }


    .stats {
        grid-template-columns: 1fr;
    }


    .mods-grid {
        grid-template-columns: 1fr;
    }


    .buttons {
        flex-direction: column;
    }


    .button {
        text-align: center;
    }

}
