/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #08090b;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --bg: #08090b;
    --bg-secondary: #0d0f12;
    --card: #111419;

    --border: rgba(255, 255, 255, 0.08);

    --text: #ffffff;
    --text-secondary: #9da3ad;

    --accent: #ffffff;
    --accent-dark: #d9d9d9;

    --max-width: 1180px;
}


/* =========================
   GENERAL
========================= */

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: auto;
}

.section-header {
    max-width: 680px;
    margin-bottom: 60px;
}

.section-label {
    display: block;

    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #777d87;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;

    margin-bottom: 20px;

    letter-spacing: -1.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}
.server-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.server-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background: rgba(8, 9, 11, 0.75);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.nav-content {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 1px;
}

.logo strong {
    color: #8f949d;
}

.logo-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #ffffff;
    color: #08090b;

    font-size: 15px;
    font-weight: 800;
}
.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}   

.nav-links {
    display: flex;
    gap: 35px;

    color: #90959e;

    font-size: 13px;
    font-weight: 500;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-button {
    padding: 10px 18px;

    border: 1px solid var(--border);
    border-radius: 8px;

    font-size: 13px;

    transition: 0.2s ease;
}

.nav-button:hover {
    background: #ffffff;
    color: #08090b;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(255,255,255,0.07),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(255,255,255,0.035),
            transparent 35%
        );
}

.hero-content {
    position: relative;

    padding-top: 80px;

    max-width: 1180px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    border: 1px solid var(--border);
    border-radius: 100px;

    color: #fffafa;

    font-size: 12px;

    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    background: #cb1b1b;

    border-radius: 50%;

    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(52px, 8vw, 94px);

    line-height: 0.98;

    letter-spacing: -4px;
}

.hero h1 span {
    color: #777d86;
}

.hero p {
    max-width: 620px;

    margin-top: 30px;

    color: #9da3ad;

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 38px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.button-primary {
    background: #ffffff;
    color: #08090b;
}

.button-primary:hover {
    background: #dcdcdc;

    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid var(--border);

    color: #ffffff;
}

.button-secondary:hover {
    background: #ffffff;
    color: #08090b;
}

.hero-scroll {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: #5f646d;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero-scroll span {
    width: 20px;
    height: 1px;

    background: #5f646d;
}


/* =========================
   SERVER
========================= */

.server-section {
    padding: 130px 0;

    background: var(--bg-secondary);
}

.server-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 14px;
}

.server-info {
    display: flex;
    align-items: center;

    gap: 18px;
}

.server-icon {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    background: #ffffff;

    color: #08090b;

    border-radius: 12px;

    font-size: 22px;
    font-weight: 800;
}

.small-label {
    color: #656b74;

    font-size: 10px;
    letter-spacing: 2px;
}

.server-info h3 {
    font-size: 18px;

    margin: 2px 0 7px;
}

.server-ip {
    color: #8f959e;

    font-family: monospace;

    font-size: 13px;
}

.server-ip button {
    margin-left: 7px;

    background: none;

    border: none;

    color: #777d86;

    cursor: pointer;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-status strong {
    display: block;

    font-size: 13px;
}

.server-status span:not(.status-dot) {
    display: block;

    color: #6f747c;

    font-size: 11px;
}


/* =========================
   FEATURES
========================= */

.features-section {
    padding: 140px 0;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.feature-card {
    min-height: 270px;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 12px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255,255,255,0.18);
}

.feature-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 9px;

    margin-bottom: 45px;

    color: #ffffff;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}

.feature-card p {
    color: #777d86;

    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 0 0 140px;
}

.cta-card {
    padding: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background: linear-gradient(
        120deg,
        #111419,
        #0c0e11
    );

    border: 1px solid var(--border);

    border-radius: 16px;
}

.cta-card h2 {
    font-size: clamp(30px, 4vw, 48px);

    letter-spacing: -1.5px;

    line-height: 1;
}

.cta-card p {
    max-width: 520px;

    margin-top: 15px;

    color: #777d86;

    font-size: 14px;
}


/* =========================
   RULES
========================= */

.rules-section {
    padding: 130px 0;

    background: var(--bg-secondary);
}

.rules-grid {
    border-top: 1px solid var(--border);
}

.rule {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 20px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}

.rule > span {
    color: #555b64;

    font-family: monospace;
    font-size: 12px;
}

.rule h3 {
    margin-bottom: 5px;

    font-size: 17px;
}

.rule p {
    color: #777d86;

    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 70px 0 25px;

    background: #07080a;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    padding-bottom: 60px;
}

.footer-content p {
    margin-top: 15px;

    color: #60656e;

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;

    color: #777d86;

    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #4d525a;

    font-size: 10px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .server-card {
        gap: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, var(--max-width));
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .cta-card {
        padding: 35px 25px;
    }

    .footer-content {
        flex-direction: column;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}