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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #08080b;
    color: #f5f5f7;
    font-family: Inter, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;

    background: rgba(8,8,11,.72);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 7px;

    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.logo span {
    color: white;
}

.logo b {
    color: #9b7cff;
}

.nav nav {
    display: flex;
    gap: 28px;
}

.nav nav a {
    color: #aaaab5;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.nav nav a:hover {
    color: white;
}

.nav-button {
    padding: 11px 17px;
    border: 1px solid rgba(155,124,255,.45);
    border-radius: 8px;

    color: #c9bbff;
    font-size: 12px;
    font-weight: 700;
}

.hero {
    min-height: 760px;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 70% 40%, rgba(119,77,255,.18), transparent 35%),
        radial-gradient(circle at 20% 70%, rgba(255,70,130,.08), transparent 35%),
        #08080b;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

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

    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;

    right: 5%;
    top: 20%;

    background: #7c55ff;
    filter: blur(180px);
    opacity: .13;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-label {
    color: #9b7cff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0;

    font-size: clamp(64px, 11vw, 150px);
    line-height: .83;
    letter-spacing: -.075em;
    font-weight: 900;
}

.hero h1 span {
    color: #9b7cff;
}

.hero p {
    max-width: 600px;
    margin: 38px 0;

    color: #a4a4af;
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;

    transition: .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: #9b7cff;
    color: #08080b;
}

.button.secondary {
    border: 1px solid rgba(255,255,255,.12);
    color: white;
}

.stats {
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #0c0c10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.stat {
    padding: 28px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.06);
}

.stat:last-child {
    border-right: 0;
}

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

.stat span {
    display: block;
    margin-top: 5px;

    color: #73737d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.section {
    padding: 110px 0;
}

.dark-section {
    background: #0b0b0f;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 45px;
}

.section-heading > span {
    color: #8f8f9a;
    font-size: 12px;
    font-weight: 800;
}

.section-heading small {
    color: #9b7cff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(32px,5vw,54px);
    letter-spacing: -.05em;
}

.servers-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.server-card,
.news-card,
.rule-card,
.top-player {
    border: 1px solid rgba(255,255,255,.08);
    background: #101014;
    border-radius: 12px;
}

.server-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.server-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -80px;
    background: #805cff;
    filter: blur(80px);
    opacity: .12;
}

.server-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.server-name {
    font-size: 22px;
    font-weight: 800;
}

.status {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.status.online {
    color: #71e6a1;
}

.status.offline {
    color: #777782;
}

.players {
    margin: 30px 0;

    font-size: 38px;
    font-weight: 900;
}

.players small {
    color: #70707a;
    font-size: 14px;
}

.server-description {
    color: #878792;
    line-height: 1.6;
    min-height: 50px;
}

.server-address {
    margin-top: 22px;
    color: #aaaab4;
    font-family: monospace;
    font-size: 13px;
}

.server-actions {
    margin-top: 25px;
}

.small-button {
    display: inline-flex;
    padding: 10px 15px;

    border: 1px solid rgba(155,124,255,.35);
    border-radius: 6px;

    color: #c5b8ff;
    font-size: 11px;
    font-weight: 800;
}

.rules-list {
    display: grid;
    gap: 12px;
}

.rule-card {
    padding: 22px 25px;
}

.rule-card h3 {
    margin: 0 0 9px;
    font-size: 17px;
}

.rule-card p {
    margin: 0;
    color: #9696a1;
    line-height: 1.65;
    white-space: pre-wrap;
}

.news-card {
    padding: 26px;
}

.news-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.news-card p {
    color: #9696a1;
    line-height: 1.65;
    white-space: pre-wrap;
}

.news-date {
    color: #9b7cff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.top-list {
    display: grid;
    gap: 10px;
}

.top-player {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;

    padding: 18px 22px;
}

.top-number {
    color: #9b7cff;
    font-size: 20px;
    font-weight: 900;
}

.top-name {
    font-weight: 700;
}

.top-value {
    color: #8d8d98;
    font-size: 13px;
}

.empty {
    width: 100%;
    padding: 45px;

    border: 1px dashed rgba(255,255,255,.1);
    border-radius: 10px;

    color: #666670;
    text-align: center;
}

footer {
    border-top: 1px solid rgba(255,255,255,.06);
    background: #070709;
}

.footer {
    min-height: 180px;
    padding: 45px 0;

    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer p {
    color: #696972;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 20px;
}

.footer-links a {
    color: #777781;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.05);

    color: #4d4d55;
    text-align: center;
    font-size: 10px;
}

@media (max-width: 760px) {

    .nav {
        height: 65px;
    }

    .nav nav {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 70px;
    }

    .hero p {
        font-size: 14px;
    }

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

    .stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .servers-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .footer {
        flex-direction: column;
    }

    .server-top {
        align-items: flex-start;
        flex-direction: column;
    }
}
