:root {
    --background: #070a0f;
    --background-soft: #0b1018;

    --panel: #0f1620;
    --panel-hover: #141e2a;

    --border: #1d2937;
    --border-hover: #304156;

    --text: #f5f7fa;
    --text-soft: #98a5b6;
    --text-dark: #667386;

    --green: #66ff91;
    --green-hover: #8affaa;
    --green-soft: rgba(102, 255, 145, 0.08);

    --blue: #6aa7ff;
    --blue-hover: #8bbbff;
    --blue-soft: rgba(77, 127, 255, 0.10);

    --max-width: 1200px;
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--background);

    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
}


/* TOPBAR */

.topbar {
    position: sticky;
    top: 0;

    z-index: 1000;

    height: 72px;

    background:
        rgba(7, 10, 15, 0.94);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(14px);
}

.topbar-container {
    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    color: #ffffff;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: -1px;

    text-decoration: none;
}

.logo span {
    color: var(--green);
}


/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;

    gap: 4px;
}

.navigation a {
    padding: 10px 13px;

    color: var(--text-soft);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 7px;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.navigation a:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.06);
}

.navigation .active {
    color: white;
}

.navigation a.privacy-button {
    color: #a9bbca;
}

.navigation a.privacy-button:hover {
    color: var(--green);

    background:
        rgba(102, 255, 145, 0.08);
}

.navigation a.staff-button {
    margin-left: 10px !important;

    padding-left: 18px !important;
    padding-right: 18px !important;

    color: #07101f !important;

    background: var(--blue) !important;

    border:
        1px solid
        rgba(142, 190, 255, 0.65) !important;

    box-shadow:
        0 0 16px rgba(106, 167, 255, 0.38) !important;

    font-weight: 800 !important;
}

.navigation a.staff-button:hover,
.navigation a.staff-button.active {
    color: #07101f !important;

    background: var(--blue-hover) !important;

    border-color: var(--blue-hover) !important;

    box-shadow:
        0 0 24px rgba(106, 167, 255, 0.56) !important;
}

.navigation .account-button {
    margin-left: 4px;

    padding-left: 18px;
    padding-right: 18px;

    color: #07110a;

    background: var(--green);

    font-weight: 800;
}

.navigation .account-button:hover {
    color: #07110a;

    background: var(--green-hover);
}

.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 26px;

    cursor: pointer;
}


/* HERO */

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #0c121d 0%,
            #080c13 65%,
            #070a0f 100%
        );

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.hero-glow-one {
    width: 650px;
    height: 650px;

    right: -230px;
    top: -330px;

    background:
        rgba(102, 255, 145, 0.08);

    filter: blur(30px);
}

.hero-glow-two {
    width: 550px;
    height: 550px;

    left: -300px;
    bottom: -320px;

    background:
        rgba(71, 117, 255, 0.09);

    filter: blur(30px);
}

.hero-content {
    position: relative;

    z-index: 2;

    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;

    margin-bottom: 24px;

    padding: 7px 12px;

    color: var(--green);

    background: var(--green-soft);

    border:
        1px solid
        rgba(102, 255, 145, 0.20);

    border-radius: 6px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.hero h1 {
    max-width: 900px;

    margin-bottom: 28px;

    font-size:
        clamp(
            48px,
            7vw,
            84px
        );

    line-height: 0.98;

    letter-spacing: -4px;
}

.hero h1 span {
    color: #dce5ef;
}

.hero-description {
    max-width: 650px;

    margin-bottom: 35px;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* BUTTONS */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 21px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #061009;

    background: var(--green);
}

.button-primary:hover {
    background: var(--green-hover);
}

.button-secondary {
    color: white;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid
        rgba(255, 255, 255, 0.10);
}

.button-secondary:hover {
    background:
        rgba(255, 255, 255, 0.09);
}


/* CONTENT */

.content-section {
    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding: 105px 0;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 48px;
}

.section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.section-heading h2,
.security h2 {
    margin-bottom: 17px;

    font-size:
        clamp(
            32px,
            5vw,
            48px
        );

    line-height: 1.08;

    letter-spacing: -2px;
}

.section-heading p,
.security p {
    color: var(--text-soft);

    font-size: 16px;

    line-height: 1.7;
}


/* FEATURES */

.features {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.feature-card {
    min-height: 225px;

    padding: 26px;

    background: var(--panel);

    border:
        1px solid var(--border);

    border-radius: 10px;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    background: var(--panel-hover);

    border-color:
        rgba(102, 255, 145, 0.25);
}

.feature-icon {
    width: 44px;
    height: 44px;

    margin-bottom: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    background: var(--green-soft);

    border:
        1px solid
        rgba(102, 255, 145, 0.15);

    border-radius: 7px;

    font-size: 19px;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}

.feature-card p {
    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.65;
}


/* COMMUNITY */

.community {
    padding: 105px 0;

    background: #090e15;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.community-container {
    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    margin: 0 auto;
}

.social-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.social-card {
    min-height: 100px;

    padding: 20px;

    display: flex;
    align-items: center;

    color: white;

    text-decoration: none;

    background: var(--panel);

    border:
        1px solid var(--border);

    border-radius: 10px;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.social-card:hover {
    transform: translateY(-3px);

    background: var(--panel-hover);

    border-color: var(--border-hover);
}

social-icon {
    width: 50px;
    height: 50px;
}

.social-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    margin-right: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 9px;

    font-size: 19px;
    font-weight: 800;
}

.social-content {
    flex: 1;
}

.social-content h3 {
    margin-bottom: 4px;

    font-size: 16px;
}

.social-content p {
    color: var(--text-soft);

    font-size: 13px;
}

.arrow {
    color: #68778a;

    font-size: 20px;

    transition:
        color 0.15s ease,
        transform 0.15s ease;
}

.social-card:hover .arrow {
    color: var(--green);

    transform: translateX(3px);
}


/* PAGE LINKS */

.page-links {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}

.page-card {
    min-height: 190px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: white;

    text-decoration: none;

    background: var(--panel);

    border:
        1px solid var(--border);

    border-radius: 10px;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.page-card:hover {
    transform: translateY(-4px);

    background: var(--panel-hover);

    border-color:
        rgba(102, 255, 145, 0.25);
}

.page-card h3 {
    margin-bottom: 10px;

    font-size: 21px;
}

.page-card p {
    max-width: 470px;

    color: var(--text-soft);

    line-height: 1.6;
}

.page-card span {
    margin-top: 25px;

    color: var(--green);

    font-size: 13px;
    font-weight: 800;
}


/* STAFF */

.staff-panel-info {
    margin-bottom: 28px;

    padding: 28px;

    background: var(--panel);

    border:
        1px solid
        rgba(102, 255, 145, 0.18);

    border-radius: 10px;
}

.staff-panel-info h3 {
    margin-bottom: 8px;

    font-size: 24px;
}

.staff-panel-info p {
    color: var(--text-soft);
}


/* SECURITY */

.security {
    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    margin:
        0 auto 100px;

    padding: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    background:
        linear-gradient(
            135deg,
            rgba(102, 255, 145, 0.075),
            rgba(70, 116, 255, 0.055)
        );

    border:
        1px solid
        rgba(102, 255, 145, 0.15);

    border-radius: 12px;
}

.security-text {
    max-width: 730px;
}


/* FOOTER */

.footer {
    background: #05070b;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.footer-container {
    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding: 65px 0;

    display: grid;

    grid-template-columns:
        1fr 2fr;

    gap: 70px;
}

.footer-brand p {
    margin-top: 15px;

    color: var(--text-dark);

    font-size: 14px;
}

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.footer-links h4 {
    margin-bottom: 16px;

    color: white;

    font-size: 13px;
}

.footer-links a {
    display: block;

    width: fit-content;

    margin-bottom: 9px;

    color: var(--text-dark);

    text-decoration: none;

    font-size: 13px;

    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    width:
        min(
            var(--max-width),
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding: 22px 0;

    color: #596475;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);

    font-size: 12px;
}


/* TABLET */

@media (max-width: 900px) {

    .features {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .security {
        align-items: flex-start;

        flex-direction: column;
    }
}


/* MOBILE */

@media (max-width: 760px) {

    .mobile-menu-button {
        display: block;
    }

    .navigation {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        padding: 15px 20px 22px;

        flex-direction: column;
        align-items: stretch;

        background: #080c12;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.07);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 13px;
    }

    .navigation a.staff-button,
    .navigation .account-button {
        margin:
            5px 0 0 !important;
    }

    .hero {
        position: relative;

        min-height: 650px;

        display: flex;
        align-items: center;

        overflow: hidden;

        background:
            linear-gradient(
                90deg,
                rgba(7, 10, 15, 0.92) 0%,
                rgba(7, 10, 15, 0.68) 50%,
                rgba(7, 10, 15, 0.82) 100%
            ),
            linear-gradient(
                180deg,
                rgba(7, 10, 15, 0.15) 0%,
                rgba(7, 10, 15, 0.45) 60%,
                #070a0f 100%
            ),
            url("/images/MainMenu_Star.png");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.06);
    }
}


/* SMALL MOBILE */

@media (max-width: 500px) {

    .topbar-container,
    .hero-content,
    .content-section,
    .community-container,
    .security,
    .footer-container,
    .footer-bottom {
        width:
            calc(100% - 28px);
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .content-section,
    .community {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .security {
        padding: 28px;
    }

    .footer-links {
        gap: 35px 20px;
    }
}