:root {

    --background: #0b0710;
    --background-alt: #100917;

    --card: #171020;
    --card-light: #1d1428;

    --pink: #ff48c4;
    --pink-light: #ff83da;

    --purple: #a64cff;
    --purple-light: #c17aff;

    --white: #faf7ff;

    --text: #d8cfde;
    --muted: #988ba1;

    --border: rgba(205, 127, 255, 0.16);

    --container: 1180px;
}



/* =========================================
   RESET
========================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 95px;
}


body {

    min-height: 100vh;

    overflow-x: hidden;

    background:

        radial-gradient(
            circle at 15% 15%,
            rgba(255, 72, 196, 0.07),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 20%,
            rgba(166, 76, 255, 0.08),
            transparent 32%
        ),

        var(--background);

    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


body.modal-open {

    overflow: hidden;
}


a {

    color: inherit;
    text-decoration: none;
}


button {

    font: inherit;
}


img {

    display: block;

    max-width: 100%;
}


.container {

    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin:
        0 auto;
}



/* =========================================
   HEADER
========================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(9, 5, 14, 0.92);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);

    backdrop-filter:
        blur(18px);
}


.header-inner {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.logo {

    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}


.logo-icon {

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--purple)
        );

    box-shadow:
        0 0 25px
        rgba(255, 72, 196, 0.18);

    font-size: 20px;
}


.logo-text strong {

    display: block;

    font-size: 18px;

    line-height: 1;
}


.logo-text span {

    display: block;

    margin-top: 5px;

    color: var(--pink-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.8px;
}


.nav {

    display: flex;

    align-items: center;

    gap: 22px;

    color: #b9adbf;

    font-size: 12px;

    font-weight: 700;
}


.nav a {

    transition:
        color 0.2s ease;
}


.nav a:hover {

    color: white;
}


.discord-button {

    flex-shrink: 0;

    padding:
        9px 15px;

    border-radius: 9px;

    border:
        1px solid
        rgba(181, 103, 255, 0.27);

    background:
        rgba(166, 76, 255, 0.10);

    color: #debaff;

    font-size: 12px;

    font-weight: 800;

    transition:
        0.2s ease;
}


.discord-button:hover {

    transform:
        translateY(-1px);

    background:
        rgba(166, 76, 255, 0.17);
}



/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;

    overflow: hidden;
}


.hero-background {

    position: absolute;

    inset: 0;

    background:
        url("assets/banner.png")
        center / cover
        no-repeat;

    opacity: 0.38;

    transform:
        scale(1.02);
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(8, 4, 13, 0.98) 0%,
            rgba(8, 4, 13, 0.84) 45%,
            rgba(8, 4, 13, 0.48) 100%
        ),

        linear-gradient(
            0deg,
            var(--background) 0%,
            transparent 55%
        );
}


.hero-content {

    position: relative;

    z-index: 2;

    padding:
        90px 0;
}


.hero-badge {

    width: fit-content;

    padding:
        7px 11px;

    margin-bottom: 20px;

    border-radius: 6px;

    border:
        1px solid
        rgba(203, 114, 255, 0.23);

    background:
        rgba(166, 76, 255, 0.10);

    color: #ddaaff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.hero h1 {

    max-width: 780px;

    font-size:
        clamp(
            52px,
            7vw,
            86px
        );

    line-height: 0.95;

    letter-spacing: -4px;
}


.hero h1 span {

    display: block;

    margin-top: 8px;

    background:
        linear-gradient(
            90deg,
            var(--pink-light),
            var(--purple-light)
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.hero-description {

    max-width: 650px;

    margin-top: 24px;

    color: #ddd3e3;

    font-size: 15px;
}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


.button {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 19px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 900;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.button:hover {

    transform:
        translateY(-2px);
}


.button-main {

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--purple)
        );

    box-shadow:
        0 5px 0
        #652884;
}


.button-secondary {

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    background:
        rgba(13, 8, 18, 0.78);
}


.hero-info {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;
}


.hero-info > div {

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        10px 13px;

    border-radius: 8px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    background:
        rgba(15, 9, 21, 0.72);
}


.hero-info > div > span {

    font-size: 18px;
}


.hero-info p {

    color: var(--muted);

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}


.hero-info strong {

    display: block;

    margin-top: 1px;

    color: white;

    font-size: 10px;

    text-transform: none;

    letter-spacing: 0;
}



/* =========================================
   PAGE LAYOUT
========================================= */

.page-layout {

    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 48px;

    align-items: start;

    padding:
        75px 0
        110px;
}



/* =========================================
   SIDEBAR
========================================= */

.sidebar {

    position: sticky;

    top: 95px;

    display: grid;

    gap: 3px;

    max-height:
        calc(100vh - 120px);

    overflow-y: auto;

    padding: 16px;

    border-radius: 12px;

    border:
        1px solid
        var(--border);

    background:
        rgba(23, 16, 32, 0.86);

    scrollbar-width: thin;
}


.sidebar-title {

    margin:
        2px 9px
        10px;

    color: #806f89;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.4px;
}


.sidebar a {

    padding:
        8px 10px;

    border-radius: 7px;

    color: #aea0b7;

    font-size: 10px;

    font-weight: 700;

    transition:
        0.2s ease;
}


.sidebar a:hover {

    color: white;

    background:
        rgba(166, 76, 255, 0.10);
}



/* =========================================
   GENERAL CONTENT
========================================= */

.content {

    min-width: 0;
}


.wiki-section {

    padding:
        44px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}


.wiki-section:first-child {

    padding-top: 0;
}


.section-label {

    display: block;

    margin-bottom: 8px;

    color: var(--pink-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.wiki-section h2,
.install-step h2 {

    font-size:
        clamp(
            28px,
            4vw,
            41px
        );

    line-height: 1.08;

    letter-spacing: -1px;
}


.section-description {

    max-width: 780px;

    margin-top: 13px;

    color: var(--text);

    font-size: 13px;
}



/* =========================================
   IMPORTANT
========================================= */

.important-box {

    display: flex;

    gap: 14px;

    margin-top: 22px;

    padding: 17px;

    border-radius: 10px;

    border:
        1px solid
        rgba(255, 72, 196, 0.17);

    background:
        rgba(255, 72, 196, 0.05);
}


.important-icon {

    font-size: 22px;
}


.important-box strong {

    font-size: 13px;
}


.important-box p {

    margin-top: 3px;

    color: var(--text);

    font-size: 11px;
}



/* =========================================
   REQUIREMENTS
========================================= */

.requirements-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin-top: 24px;
}


.requirement {

    display: flex;

    gap: 13px;

    padding: 17px;

    border-radius: 10px;

    border:
        1px solid
        var(--border);

    background:
        var(--card);
}


.requirement > span {

    font-size: 22px;
}


.requirement h3 {

    font-size: 13px;
}


.requirement p {

    margin-top: 3px;

    color: var(--text);

    font-size: 10px;
}



/* =========================================
   INSTALL INTRO
========================================= */

.install-intro {

    padding-bottom: 28px;
}



/* =========================================
   INSTALL STEP
========================================= */

.install-step {

    padding:
        35px;

    margin:
        20px 0;

    border-radius: 15px;

    border:
        1px solid
        var(--border);

    background:

        radial-gradient(
            circle at top right,
            rgba(166, 76, 255, 0.07),
            transparent 30%
        ),

        var(--card);
}


.step-header {

    display: flex;

    align-items: center;

    gap: 15px;
}


.step-number {

    width: 53px;
    height: 53px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 72, 196, 0.16),
            rgba(166, 76, 255, 0.19)
        );

    border:
        1px solid
        rgba(208, 122, 255, 0.18);

    color: #e2aeff;

    font-size: 12px;

    font-weight: 900;
}


.step-label {

    display: block;

    margin-bottom: 3px;

    color: var(--pink-light);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.3px;
}


.install-step h2 {

    font-size:
        clamp(
            22px,
            3vw,
            30px
        );
}


.step-description {

    max-width: 800px;

    margin-top: 18px;

    color: var(--text);

    font-size: 12px;
}


.step-description strong {

    color: white;
}


.step-links {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}


.step-links a,
.inline-button {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    min-height: 38px;

    padding:
        0 13px;

    border-radius: 7px;

    border:
        1px solid
        rgba(193, 103, 255, 0.23);

    background:
        rgba(166, 76, 255, 0.09);

    color: #dfb8ff;

    font-size: 10px;

    font-weight: 800;
}


.inline-button {

    margin-top: 15px;
}



/* =========================================
   SCREENSHOTS
========================================= */

.screenshot {

    position: relative;

    width: 100%;

    display: block;

    overflow: hidden;

    margin-top: 22px;

    padding: 0;

    border-radius: 11px;

    border:
        1px solid
        rgba(209, 133, 255, 0.18);

    background:
        #08060a;

    cursor: zoom-in;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.screenshot:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(225, 147, 255, 0.38);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.25);
}


.screenshot img {

    width: 100%;

    max-height: 650px;

    object-fit: contain;

    background: #08060a;
}


.screenshot-small img {

    max-height: 520px;
}


.zoom-hint {

    position: absolute;

    right: 12px;
    bottom: 12px;

    padding:
        7px 10px;

    border-radius: 7px;

    background:
        rgba(8, 5, 12, 0.88);

    color: #e8dded;

    font-size: 9px;

    font-weight: 800;

    backdrop-filter:
        blur(8px);

    opacity: 0;

    transform:
        translateY(4px);

    transition:
        0.2s ease;
}


.screenshot:hover .zoom-hint {

    opacity: 1;

    transform:
        translateY(0);
}



/* =========================================
   FOLDER LIST
========================================= */

.folder-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}


.folder-list span {

    padding:
        8px 12px;

    border-radius: 7px;

    background:
        rgba(166, 76, 255, 0.09);

    border:
        1px solid
        rgba(195, 111, 255, 0.17);

    color: #ddc7e7;

    font-size: 10px;

    font-weight: 700;
}


.warning-box {

    margin-top: 14px;

    padding: 13px;

    border-radius: 8px;

    border:
        1px solid
        rgba(255, 180, 80, 0.18);

    background:
        rgba(255, 172, 66, 0.05);

    color: #dfcdb8;

    font-size: 10px;
}



/* =========================================
   SUCCESS
========================================= */

.success-box {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 20px;

    padding: 16px;

    border-radius: 10px;

    border:
        1px solid
        rgba(82, 224, 138, 0.16);

    background:
        rgba(58, 190, 111, 0.05);
}


.success-box > span {

    font-size: 22px;
}


.success-box strong {

    font-size: 13px;
}


.success-box p {

    margin-top: 2px;

    color: var(--text);

    font-size: 10px;
}



/* =========================================
   SERVER
========================================= */

.server-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 22px;

    padding: 19px;

    border-radius: 11px;

    border:
        1px solid
        var(--border);

    background:
        var(--card);
}


.server-left {

    display: flex;

    align-items: center;

    gap: 13px;
}


.server-icon {

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        rgba(166, 76, 255, 0.10);

    font-size: 21px;
}


.server-left span {

    display: block;

    color: var(--muted);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1px;
}


.server-left strong {

    display: block;

    margin-top: 2px;

    font-size: 15px;
}


.copy-button {

    min-height: 40px;

    padding:
        0 14px;

    border: 0;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            var(--pink),
            var(--purple)
        );

    color: white;

    cursor: pointer;

    font-size: 10px;

    font-weight: 900;
}


.copy-message {

    display: none;

    margin-top: 10px;

    color: #93efb5;

    font-size: 10px;

    font-weight: 800;
}


.copy-message.visible {

    display: block;
}



/* =========================================
   HELP
========================================= */

.help-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin-top: 24px;
}


.help-card {

    padding: 17px;

    border-radius: 10px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    background:
        var(--card);
}


.help-card h3 {

    font-size: 13px;
}


.help-card p {

    margin-top: 4px;

    color: var(--text);

    font-size: 10px;
}


.help-discord {

    border-color:
        rgba(166, 76, 255, 0.22);
}


.help-discord a {

    display: inline-block;

    margin-top: 9px;

    color: var(--pink-light);

    font-size: 10px;

    font-weight: 800;
}



/* =========================================
   FOOTER
========================================= */

.footer {

    padding:
        36px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);

    background:
        #08050b;
}


.footer-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer strong {

    font-size: 14px;
}


.footer p {

    margin-top: 3px;

    color: #827588;

    font-size: 9px;
}


.footer a {

    color: #cba5ee;

    font-size: 10px;

    font-weight: 800;
}



/* =========================================
   IMAGE MODAL
========================================= */

.image-modal {

    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 35px;

    background:
        rgba(0, 0, 0, 0.91);

    backdrop-filter:
        blur(8px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.2s ease;
}


.image-modal.open {

    opacity: 1;

    pointer-events: auto;
}


.image-modal img {

    max-width: 95vw;

    max-height: 90vh;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.55);
}


.modal-close {

    position: fixed;

    top: 20px;
    right: 22px;

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    background:
        rgba(20, 14, 25, 0.84);

    color: white;

    cursor: pointer;

    font-size: 16px;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .nav {

        display: none;
    }


    .page-layout {

        grid-template-columns:
            1fr;

        gap: 22px;
    }


    .sidebar {

        position: static;

        max-height: none;

        grid-template-columns:
            repeat(3, 1fr);
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .container {

        width:
            calc(100% - 28px);
    }


    .header-inner {

        min-height: 65px;
    }


    .logo-icon {

        width: 38px;
        height: 38px;
    }


    .logo-text strong {

        font-size: 15px;
    }


    .discord-button {

        padding:
            8px 10px;

        font-size: 10px;
    }


    .hero {

        min-height: 520px;
    }


    .hero-content {

        padding:
            70px 0;
    }


    .hero h1 {

        font-size:
            clamp(
                45px,
                14vw,
                64px
            );

        letter-spacing: -2px;
    }


    .hero-description {

        font-size: 13px;
    }


    .hero-buttons {

        flex-direction: column;
    }


    .button {

        width: 100%;
    }


    .hero-info {

        display: grid;

        grid-template-columns:
            1fr;
    }


    .page-layout {

        padding:
            50px 0
            75px;
    }


    .sidebar {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .requirements-grid {

        grid-template-columns:
            1fr;
    }


    .install-step {

        padding: 22px;
    }


    .step-header {

        align-items: flex-start;
    }


    .step-number {

        width: 45px;
        height: 45px;
    }


    .zoom-hint {

        display: none;
    }


    .server-card {

        flex-direction: column;

        align-items: stretch;
    }


    .copy-button {

        width: 100%;
    }


    .help-grid {

        grid-template-columns:
            1fr;
    }


    .footer-inner {

        flex-direction: column;

        text-align: center;
    }


    .image-modal {

        padding: 12px;
    }


    .modal-close {

        top: 12px;
        right: 12px;
    }

}



/* =========================================
   VERY SMALL
========================================= */

@media (max-width: 430px) {

    .sidebar {

        grid-template-columns:
            1fr;
    }


    .hero-info > div {

        width: 100%;
    }

}