/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #07080b;
    color: #f1f1f3;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --bg: #07080b;

    --bg-light: #0c0e13;

    --card: #101218;

    --border:
        rgba(255,255,255,0.08);

    --text: #f1f1f3;

    --muted: #777b87;

    --accent: #765cff;

    --accent-light: #9585ff;

    --max-width: 1240px;

}


/* =========================================================
   GLOBAL
========================================================= */

.container {

    width: min(
        calc(100% - 60px),
        var(--max-width)
    );

    margin: auto;

}

.section {

    padding: 120px 0;

}

.section-kicker {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--accent-light);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;

}

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;

}

.section-heading h2,
.center-heading h2 {

    font-size: clamp(
        32px,
        5vw,
        58px
    );

    line-height: 0.95;

    letter-spacing: -3px;

}

.section-heading h2 span,
.center-heading h2 span {

    color: var(--accent);

}

.section-heading > p {

    max-width: 350px;

    color: var(--muted);

    font-size: 13px;

}

.center-heading {

    max-width: 700px;

    margin: 0 auto 60px;

    text-align: center;

}

.center-heading p {

    max-width: 500px;

    margin: 25px auto 0;

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    z-index: 1000;

    top: 0;

    left: 0;

    width: 100%;

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);

    background:
        rgba(7,8,11,0.72);

    backdrop-filter: blur(18px);

}

.nav-container {

    width: min(
        calc(100% - 60px),
        var(--max-width)
    );

    height: 76px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.brand {

    display: inline-block;

    font-size: 19px;

    font-weight: 950;

    letter-spacing: -1px;

}

.brand-main {

    color: white;

}

.brand-accent {

    color: var(--accent);

}

.desktop-nav {

    display: flex;

    align-items: center;

    gap: 34px;

    margin-left: auto;

}

.desktop-nav a {

    color: #8c8f99;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    transition: 0.25s;

}

.desktop-nav a:hover {

    color: white;

}

.nav-account {

    display: flex;

    align-items: center;

    gap: 10px;

}

.nav-login,
.nav-dashboard,
.nav-register {

    padding: 11px 17px;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

}

.nav-login,
.nav-dashboard {

    color: #aaaeba;

}

.nav-login:hover,
.nav-dashboard:hover {

    color: white;

}

.nav-register {

    background: var(--accent);

    color: white;

    transition: 0.25s;

}

.nav-register:hover {

    background: var(--accent-light);

    transform: translateY(-1px);

}

.mobile-menu-button {

    display: none;

    width: 38px;

    height: 38px;

    border: 1px solid var(--border);

    background: transparent;

}

.mobile-menu-button span {

    display: block;

    width: 18px;

    height: 1px;

    margin: 4px auto;

    background: white;

}

.mobile-menu {

    display: none;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 850px;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.hero-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 75% 35%,
            rgba(118,92,255,0.25),
            transparent 35%
        ),

        radial-gradient(
            circle at 20% 80%,
            rgba(80,60,180,0.12),
            transparent 30%
        ),

        linear-gradient(
            120deg,
            #090a0e,
            #10101a 55%,
            #090a0e
        );

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(7,8,11,0.98) 0%,
            rgba(7,8,11,0.75) 48%,
            rgba(7,8,11,0.15) 100%
        );

}

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.18;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.05) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.05) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 60px),
        var(--max-width)
    );

    margin: auto;

    padding-top: 70px;

}

.hero-tag {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color: #9a9daa;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2.5px;

}

.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #6ee7a1;

    box-shadow:
        0 0 15px
        rgba(110,231,161,0.7);

}

.hero h1 {

    max-width: 850px;

    font-size: clamp(
        58px,
        9vw,
        115px
    );

    line-height: 0.83;

    letter-spacing: -7px;

    font-weight: 950;

}

.hero h1 span {

    color: var(--accent);

}

.hero-description {

    max-width: 550px;

    margin-top: 35px;

    color: #898d98;

    font-size: 14px;

    line-height: 1.8;

}

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 35px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-height: 50px;

    padding: 0 22px;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.3px;

    transition: 0.25s;

}

.btn-primary {

    background: var(--accent);

    color: white;

}

.btn-primary:hover {

    background: var(--accent-light);

    transform: translateY(-2px);

    box-shadow:
        0 15px 40px
        rgba(118,92,255,0.25);

}

.btn-secondary {

    border:
        1px solid
        rgba(255,255,255,0.12);

    color: #d7d8dd;

    background:
        rgba(255,255,255,0.025);

}

.btn-secondary:hover {

    border-color:
        rgba(255,255,255,0.25);

    background:
        rgba(255,255,255,0.06);

}

.hero-stats {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 65px;

}

.hero-stat {

    display: flex;

    flex-direction: column;

}

.hero-stat strong {

    font-size: 15px;

}

.hero-stat span {

    margin-top: 3px;

    color: #656873;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

}

.hero-stat-line {

    width: 1px;

    height: 25px;

    background: rgba(255,255,255,0.12);

}

.hero-scroll {

    position: absolute;

    z-index: 3;

    bottom: 35px;

    left: 50%;

    display: flex;

    align-items: center;

    gap: 15px;

    transform: translateX(-50%);

    color: #555862;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;

}

.scroll-line {

    width: 50px;

    height: 1px;

    background: #555862;

}


/* =========================================================
   GAMES
========================================================= */

.games-section {

    background: var(--bg);

}

.game-grid {

    display: grid;

    grid-template-columns:
        1.2fr 1fr 1fr;

    gap: 14px;

}

.game-card {

    position: relative;

    min-height: 420px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    background:
        linear-gradient(
            145deg,
            #171923,
            #0c0d12
        );

    transition: 0.4s;

}

.game-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(118,92,255,0.25),
            transparent 30%
        );

    transition: 0.4s;

}

.game-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(118,92,255,0.35);

}

.game-card:hover::before {

    transform: scale(1.15);

}

.game-card-large {

    min-height: 520px;

}

.game-card-two::before {

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,255,255,0.12),
            transparent 30%
        );

}

.game-card-three::before {

    background:
        radial-gradient(
            circle at 75% 70%,
            rgba(90,130,255,0.16),
            transparent 35%
        );

}

.game-number {

    position: absolute;

    top: 25px;

    right: 25px;

    color: #444750;

    font-size: 10px;

    font-weight: 900;

}

.game-card-content {

    position: absolute;

    z-index: 2;

    right: 30px;

    bottom: 30px;

    left: 30px;

}

.game-card-content > span {

    color: var(--accent-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;

}

.game-card-content h3 {

    margin-top: 8px;

    font-size: 30px;

    letter-spacing: -1.5px;

}

.game-card-content p {

    max-width: 340px;

    margin-top: 10px;

    color: #777b87;

    font-size: 11px;

    line-height: 1.7;

}

.game-card-content a {

    display: inline-block;

    margin-top: 20px;

    color: #ddd;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

}

.game-card-content a:hover {

    color: var(--accent-light);

}


/* =========================================================
   SERVERS
========================================================= */

.servers-section {

    background: #0a0b0f;

}

.server-list {

    border-top:
        1px solid
        var(--border);

}

.server-row {

    display: grid;

    grid-template-columns:
        60px
        1.4fr
        1fr
        170px
        80px;

    align-items: center;

    gap: 25px;

    min-height: 100px;

    border-bottom:
        1px solid
        var(--border);

    transition: 0.25s;

}

.server-row:hover {

    background:
        rgba(255,255,255,0.025);

}

.server-game {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #171922;

    color: var(--accent-light);

    font-size: 10px;

    font-weight: 900;

}

.server-info {

    display: flex;

    flex-direction: column;

}

.server-info strong {

    font-size: 13px;

}

.server-info span {

    margin-top: 4px;

    color: #646873;

    font-size: 9px;

}

.server-map {

    color: #888b95;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

}

.player-count {

    font-size: 11px;

}

.player-count span {

    color: #555963;

}

.player-bar {

    width: 100%;

    height: 2px;

    margin-top: 7px;

    background: #24262e;

}

.player-bar span {

    display: block;

    height: 100%;

    background: var(--accent);

}

.join-button {

    height: 34px;

    border:
        1px solid
        rgba(255,255,255,0.1);

    background: transparent;

    color: #aeb0b8;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1px;

    transition: 0.25s;

}

.join-button:hover {

    background: var(--accent);

    border-color: var(--accent);

    color: white;

}

.text-link {

    color: #858894;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

}

.text-link:hover {

    color: white;

}


/* =========================================================
   FEATURES
========================================================= */

.features-section {

    background: var(--bg);

}

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        var(--border);

    border-left:
        1px solid
        var(--border);

}

.feature-card {

    position: relative;

    min-height: 300px;

    padding: 30px;

    border-right:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);

    transition: 0.3s;

}

.feature-card:hover {

    background:
        rgba(118,92,255,0.04);

}

.feature-icon {

    color: #4c4f5a;

    font-size: 10px;

    font-weight: 900;

}

.feature-card h3 {

    margin-top: 60px;

    font-size: 14px;

    letter-spacing: -0.2px;

}

.feature-card p {

    margin-top: 15px;

    color: #696d78;

    font-size: 11px;

    line-height: 1.8;

}

.feature-arrow {

    position: absolute;

    right: 30px;

    bottom: 30px;

    color: var(--accent);

}

.feature-link {

    display: inline-block;

    margin-top: 20px;

    color: var(--accent-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1px;

}


/* =========================================================
   COMMUNITY
========================================================= */

.community-section {

    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.community-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 50% 50%,
            rgba(118,92,255,0.27),
            transparent 32%
        ),

        linear-gradient(
            135deg,
            #0e0d17,
            #08090c
        );

}

.community-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,8,11,0.8),
            rgba(7,8,11,0.2),
            rgba(7,8,11,0.8)
        );

}

.community-content {

    position: relative;

    z-index: 2;

    text-align: center;

}

.community-content h2 {

    font-size: clamp(
        45px,
        8vw,
        90px
    );

    line-height: 0.9;

    letter-spacing: -5px;

}

.community-content h2 span {

    color: var(--accent);

}

.community-content p {

    max-width: 500px;

    margin: 30px auto 0;

    color: #7b7f8b;

    font-size: 13px;

}

.community-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 35px;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding: 70px 0 25px;

    background: #050609;

    border-top:
        1px solid
        var(--border);

}

.footer-top {

    display: flex;

    justify-content: space-between;

    gap: 60px;

    padding-bottom: 60px;

}

.footer-brand p {

    max-width: 250px;

    margin-top: 15px;

    color: #5f626c;

    font-size: 11px;

}

.footer-links {

    display: flex;

    gap: 100px;

}

.footer-links > div {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.footer-links span {

    margin-bottom: 7px;

    color: #555963;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;

}

.footer-links a {

    color: #858894;

    font-size: 10px;

}

.footer-links a:hover {

    color: white;

}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    padding-top: 25px;

    border-top:
        1px solid
        var(--border);

    color: #4d505a;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .desktop-nav {

        display: none;

    }

    .mobile-menu-button {

        display: block;

    }

    .nav-account {

        margin-left: auto;

    }

    .game-grid {

        grid-template-columns:
            1fr 1fr;

    }

    .game-card-large {

        grid-column: span 2;

    }

    .feature-grid {

        grid-template-columns:
            1fr 1fr;

    }

    .server-row {

        grid-template-columns:
            55px
            1fr
            130px
            80px;

    }

    .server-map {

        display: none;

    }

    .mobile-menu {

        position: absolute;

        top: 76px;

        left: 0;

        width: 100%;

        padding: 20px 30px 25px;

        flex-direction: column;

        gap: 4px;

        background:
            rgba(7,8,11,0.97);

        border-bottom:
            1px solid
            var(--border);

    }

    .mobile-menu.active {

        display: flex;

    }

    .mobile-menu a {

        padding: 15px 5px;

        color: #858894;

        font-size: 10px;

        font-weight: 900;

        letter-spacing: 1px;

        border-bottom:
            1px solid
            rgba(255,255,255,0.04);

    }

}

@media (max-width: 700px) {

    .container,
    .nav-container,
    .hero-content {

        width: min(
            calc(100% - 36px),
            var(--max-width)
        );

    }

    .section {

        padding: 85px 0;

    }

    .hero {

        min-height: 750px;

    }

    .hero h1 {

        letter-spacing: -4px;

    }

    .hero-description {

        font-size: 12px;

    }

    .hero-stats {

        gap: 15px;

    }

    .hero-stat-line {

        height: 20px;

    }

    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }

    .game-grid {

        grid-template-columns: 1fr;

    }

    .game-card-large {

        grid-column: auto;

    }

    .game-card,
    .game-card-large {

        min-height: 380px;

    }

    .server-row {

        grid-template-columns:
            48px
            1fr
            70px;

        gap: 15px;

    }

    .server-players {

        display: none;

    }

    .feature-grid {

        grid-template-columns: 1fr;

    }

    .footer-top {

        flex-direction: column;

    }

    .footer-links {

        gap: 45px;

        flex-wrap: wrap;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 10px;

    }

}

@media (max-width: 500px) {

    .nav-account {

        display: none;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-buttons .btn {

        width: 100%;

    }

    .hero-stats {

        flex-wrap: wrap;

    }

    .hero-scroll {

        display: none;

    }

    .community-buttons {

        flex-direction: column;

    }

    .community-buttons .btn {

        width: 100%;

    }

}