/* =========================================================
   MU ONLINE
   MINIMAL STYLE
   ========================================================= */

:root {
    --bg: #090909;
    --text: #f2f2f2;
    --muted: #777;
    --line: #1d1d1d;
    --accent: #c8ff45;

    --max-width: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;
}

.header-content {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: baseline;

    gap: 7px;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.logo span {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: 0.18em;
}


/* NAV */

.navigation {
    display: flex;
    align-items: center;

    gap: 32px;
}

.navigation a {
    color: var(--muted);

    font-size: 12px;

    transition: color .2s ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--text);
}


/* ACCOUNT */

.account-button {
    padding: 8px 14px;

    border: 1px solid var(--line);

    color: var(--muted);

    font-size: 11px;

    transition:
        border-color .2s ease,
        color .2s ease;
}

.account-button:hover {
    border-color: #333;

    color: var(--text);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;
}


/* subtle light */

.hero::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    top: 50%;
    left: 60%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.035),
            transparent 70%
        );

    pointer-events: none;
}


/* HERO CONTENT */

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 70px;
}


/* STATUS */

.server-status {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 28px;

    color: var(--muted);

    font-size: 10px;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.status-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--accent);
}


/* TITLE */

.hero h1 {
    max-width: 850px;

    font-size:
        clamp(
            70px,
            11vw,
            145px
        );

    font-weight: 500;

    line-height: .84;

    letter-spacing: -.08em;
}

.hero h1 span {
    display: block;

    color: #555;

    font-weight: 400;
}


/* DESCRIPTION */

.hero-info > p {
    max-width: 400px;

    margin-top: 32px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;

    gap: 10px;

    margin-top: 28px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 42px;

    padding: 0 18px;

    font-size: 11px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--text);

    color: #090909;
}

.button-primary:hover {
    background: var(--accent);
}

.button-secondary {
    border: 1px solid var(--line);

    color: var(--muted);
}

.button-secondary:hover {
    border-color: #333;

    color: var(--text);
}


/* =========================================================
   SERVER STATS
   ========================================================= */

.server-stats {
    max-width: 700px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 90px;

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 18px 20px;

    border-right: 1px solid var(--line);
}

.stat:first-child {
    padding-left: 0;
}

.stat:last-child {
    border-right: none;
}

.stat span {
    display: block;

    margin-bottom: 3px;

    color: #555;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .1em;
}

.stat strong {
    font-size: 12px;

    font-weight: 500;
}

.stat:first-child strong {
    color: var(--accent);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 180px 0;

    border-top: 1px solid var(--line);
}

.section-label {
    display: block;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: .18em;
}

.intro h2 {
    max-width: 720px;

    font-size:
        clamp(
            42px,
            6vw,
            72px
        );

    font-weight: 500;

    line-height: 1;

    letter-spacing: -.06em;
}

.intro h2 span {
    color: #4c4c4c;
}

.intro p {
    max-width: 480px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
    padding: 120px 0 180px;

    border-top: 1px solid var(--line);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size:
        clamp(
            38px,
            5vw,
            60px
        );

    font-weight: 500;

    letter-spacing: -.05em;
}


/* GRID */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--line);
}

.feature {
    min-height: 300px;

    position: relative;

    padding: 28px;

    border-right: 1px solid var(--line);

    transition: background .2s ease;
}

.feature:first-child {
    padding-left: 0;
}

.feature:last-child {
    border-right: none;
}

.feature:hover {
    background: #0c0c0c;
}

.feature-number {
    color: #444;

    font-size: 10px;
}

.feature h3 {
    margin-top: 70px;

    font-size: 22px;

    font-weight: 500;

    letter-spacing: -.03em;
}

.feature p {
    max-width: 260px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}

.feature a {
    position: absolute;

    bottom: 28px;
    left: 28px;

    color: #666;

    font-size: 10px;

    transition: color .2s ease;
}

.feature:first-child a {
    left: 0;
}

.feature a:hover {
    color: var(--accent);
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 180px 0;

    border-top: 1px solid var(--line);

    text-align: center;
}

.cta h2 {
    margin-bottom: 30px;

    font-size:
        clamp(
            48px,
            8vw,
            100px
        );

    font-weight: 500;

    line-height: .9;

    letter-spacing: -.07em;
}

.cta h2 span {
    color: #4c4c4c;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    border-top: 1px solid var(--line);
}

.footer-content {
    min-height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.footer p {
    color: #444;

    font-size: 9px;

    letter-spacing: .08em;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: calc(100% - 32px);
    }

    .header-content {
        height: 75px;
    }

    .navigation {
        display: none;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 20vw;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .server-stats {
        grid-template-columns:
            repeat(2, 1fr);

        margin-top: 60px;
    }

    .stat {
        border-bottom: 1px solid var(--line);
    }

    .stat:first-child {
        padding-left: 20px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-bottom: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: 260px;

        border-right: none;

        border-bottom: 1px solid var(--line);
    }

    .feature:first-child {
        padding-left: 28px;
    }

    .feature:first-child a {
        left: 28px;
    }

    .feature:last-child {
        border-bottom: none;
    }

    .intro,
    .features,
    .cta {
        padding: 110px 0;
    }

    .footer-content {
        min-height: 110px;

        flex-direction: column;

        justify-content: center;

        gap: 12px;

        text-align: center;
    }
}