/* =========================================================
   SYNIXLINK
   Global Design System
   ========================================================= */

:root {

    /* -----------------------------------------------------
       COLORS
    ----------------------------------------------------- */

    --bg-main: #020914;
    --bg-secondary: #031326;
    --bg-card: rgba(3, 18, 38, 0.78);
    --bg-card-solid: #06182e;

    --cyan: #00eaff;
    --cyan-bright: #19f5ff;
    --blue: #168cff;
    --blue-deep: #0754d9;

    --purple: #8a3ffc;
    --purple-bright: #a855f7;

    --green: #00e6a8;
    --green-bright: #16f7b5;

    --white: #ffffff;
    --text-primary: #f4f8ff;
    --text-secondary: #a9bdd8;
    --text-muted: #68809e;

    --border: rgba(0, 180, 255, 0.28);
    --border-bright: rgba(0, 226, 255, 0.65);

    /* -----------------------------------------------------
       GRADIENTS
       ----------------------------------------------------- */

    --gradient-primary:
        linear-gradient(
            110deg,
            #08dff5 0%,
            #087cff 52%,
            #873cff 100%
        );

    --gradient-text:
        linear-gradient(
            100deg,
            #00f5ff 0%,
            #168cff 45%,
            #9a3cff 100%
        );

    --gradient-glow:
        linear-gradient(
            135deg,
            rgba(0, 234, 255, 0.35),
            rgba(83, 65, 255, 0.15),
            rgba(164, 58, 255, 0.3)
        );

    /* -----------------------------------------------------
       SHADOWS
       ----------------------------------------------------- */

    --shadow-cyan:
        0 0 35px rgba(0, 234, 255, 0.18);

    --shadow-purple:
        0 0 35px rgba(138, 63, 252, 0.18);

    --shadow-card:
        0 20px 60px rgba(0, 0, 0, 0.38);

    /* -----------------------------------------------------
       RADIUS
       ----------------------------------------------------- */

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 20px;
    --radius-xl: 28px;

    /* -----------------------------------------------------
       LAYOUT
       ----------------------------------------------------- */

    --container-width: 1360px;

    /* -----------------------------------------------------
       TRANSITIONS
       ----------------------------------------------------- */

    --transition-fast: 0.18s ease;
    --transition-normal: 0.28s ease;
    --transition-slow: 0.45s ease;

}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


body {

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 108, 190, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(76, 48, 255, 0.08),
            transparent 28%
        ),
        var(--bg-main);

    color: var(--text-primary);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body::selection {
    background: rgba(0, 234, 255, 0.35);
    color: #fff;
}


img {
    display: block;
    max-width: 100%;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

.page-background {

    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -1;

}


.page-background::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 225, 255, 0.035) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(93, 77, 255, 0.04) 1px,
            transparent 1px
        );

    background-size:
        90px 90px,
        130px 130px;

    opacity: 0.65;

}


.background-glow {

    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.18;

}


.background-glow-1 {

    width: 420px;
    height: 420px;

    top: 5%;
    left: -180px;

    background: var(--cyan);

}


.background-glow-2 {

    width: 520px;
    height: 520px;

    top: 20%;
    right: -260px;

    background: var(--purple);

}


.background-glow-3 {

    width: 360px;
    height: 360px;

    top: 65%;
    left: 35%;

    background: var(--blue);

}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {

    position: relative;

    width: 100%;

    border-bottom:
        1px solid
        rgba(0, 190, 255, 0.22);

    background:
        rgba(1, 9, 20, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 100;

}


.navbar-inner {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;

}


.brand-logo {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    overflow: hidden;

    border:
        1px solid
        rgba(0, 232, 255, 0.75);

    box-shadow:
        0 0 18px
        rgba(0, 234, 255, 0.25);

    background:
        rgba(0, 35, 65, 0.8);

}


.brand-logo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.brand-name {

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 0.04em;

    color: #dffbff;

}


.brand-subtitle {

    margin-top: 5px;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 0.02em;

    color: var(--text-secondary);

}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {

    min-height: 46px;

    padding:
        0 22px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal),
        background var(--transition-normal);

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-primary {

    color: #fff;

    background:
        var(--gradient-primary);

    box-shadow:
        0 8px 28px
        rgba(0, 143, 255, 0.25);

}


.btn-primary:hover {

    box-shadow:
        0 12px 38px
        rgba(0, 194, 255, 0.38);

}


.btn-outline {

    color: var(--text-primary);

    background:
        rgba(2, 18, 37, 0.45);

    border:
        1px solid
        rgba(0, 203, 255, 0.7);

}


.btn-outline:hover {

    border-color:
        var(--cyan);

    background:
        rgba(0, 194, 255, 0.08);

    box-shadow:
        var(--shadow-cyan);

}


.btn-small {

    min-height: 40px;

    padding:
        0 17px;

    font-size: 12px;

}


.btn-arrow {

    font-size: 17px;

    line-height: 1;

}


.discord-icon {

    width: 19px;
    height: 19px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

}


.discord-icon img {

    width: 100%;
    height: 100%;

    object-fit: contain;

}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.section-label {

    display: inline-block;

    color: var(--cyan);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.14em;

}


/* =========================================================
   COMMON CARD
   ========================================================= */

.card {

    background:
        linear-gradient(
            135deg,
            rgba(4, 26, 52, 0.86),
            rgba(2, 13, 29, 0.86)
        );

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    box-shadow:
        var(--shadow-card);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

}


/* =========================================================
   GLOW BORDER
   ========================================================= */

.glow-border {

    position: relative;

}


.glow-border::before {

    content: "";

    position: absolute;

    inset: -1px;

    border-radius: inherit;

    padding: 1px;

    background:
        linear-gradient(
            120deg,
            rgba(0, 238, 255, 0.8),
            rgba(0, 100, 255, 0.25),
            rgba(153, 55, 255, 0.7)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:
        xor;

    mask-composite:
        exclude;

    pointer-events: none;

}


/* =========================================================
   UTILITY
   ========================================================= */

.text-gradient {

    background:
        var(--gradient-text);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

}


.text-cyan {
    color: var(--cyan);
}


.text-muted {
    color: var(--text-muted);
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 8px;

}


::-webkit-scrollbar-track {

    background:
        #020812;

}


::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            180deg,
            var(--cyan),
            var(--purple)
        );

    border-radius:
        999px;

}


::-webkit-scrollbar-thumb:hover {

    background:
        linear-gradient(
            180deg,
            var(--cyan-bright),
            var(--purple-bright)
        );

}


/* =========================================================
   RESPONSIVE FOUNDATION
   ========================================================= */

@media (max-width: 1100px) {

    .container {

        width:
            min(
                calc(100% - 36px),
                var(--container-width)
            );

    }

}


@media (max-width: 768px) {

    .container {

        width:
            calc(100% - 28px);

    }


    .navbar-inner {

        min-height: 64px;

    }


    .brand-logo {

        width: 40px;
        height: 40px;

    }


    .brand-name {

        font-size: 17px;

    }


    .nav-links {

        display: none;

    }


    .navbar-actions .discord-link {

        display: none;

    }


    .btn {

        min-height: 44px;

        padding:
            0 18px;

    }

}


@media (max-width: 480px) {

    .container {

        width:
            calc(100% - 22px);

    }


    .navbar-actions .btn {

        padding:
            0 13px;

    }


    .navbar-actions .btn .discord-icon {

        display: none;

    }

}
