html {
    scrollbar-color: #a855f7 #100827;
    scrollbar-width: thin;
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: #100827;
}

html::-webkit-scrollbar-thumb {
    border: 2px solid #100827;
    border-radius: 999px;
    background: linear-gradient(180deg, #a855f7, #3b82f6);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c084fc, #60a5fa);
}

html.custom-scrollbar {
    scrollbar-width: none;
}

html.custom-scrollbar::-webkit-scrollbar {
    display: none;
}

body {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
    margin: 0;
    flex-direction: column;
    background-color: #06001d;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
}


.scrollPage {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.scrpage2 {
    display: flex;
}

.buttonCont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    margin-top: 30px;
}

.buttonCont button,
.buttonCont a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.buttonCont button > span,
.buttonCont a > span {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: #08031a;
    background: linear-gradient(0deg, #c4c4c4, #ffffff);
    border: 1px solid rgb(248, 248, 248);
    border-radius: 10px;
    transition: filter 180ms ease;
}

.buttonCont button:hover,
.buttonCont a:hover {
    cursor: pointer;
}

.buttonCont button:hover > span,
.buttonCont a:hover > span {
    filter: brightness(1.15);
}

.buttonCont .is-jumping {
    animation: buttonHoverJump 0.5s ease;
}

@keyframes buttonHoverJump {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

.buttonCont .enchancedBtn {
    padding: 0;
    background: none;
    border: 0;
}

.buttonCont .enchancedBtn > span {
    background: linear-gradient(0deg, #5f1cc9, #b144f0);
    border: 1px solid rgb(101, 30, 235);
    color: white;
}

body::before,
body::after {
    position: fixed;
    z-index: -1;
    width: 24rem;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    content: "";
    pointer-events: none;
    transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
    transition: transform 180ms ease-out;
}

body::before {
    top: -9rem;
    left: -8rem;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

body::after {
    right: -8rem;
    bottom: -9rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.background-particles {
    position: fixed;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scrollbar {
    --scrollbar-velocity: 0;
    position: fixed;
    z-index: 5;
    top: 0.75rem;
    right: 0.25rem;
    bottom: 0.75rem;
    width: 1.25rem;
    cursor: pointer;
    touch-action: none;
}

.scrollbar[hidden] {
    display: none;
}

.scrollbar__thumb {
    position: absolute;
    top: 0;
    left: 0.4375rem;
    width: 0.375rem;
    min-height: 2.75rem;
    box-sizing: border-box;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 999px;
    background: linear-gradient(180deg, #c084fc, #8b5cf6 48%, #60a5fa);
    box-shadow:
        0 0 var(--thumb-glow, 8px) rgb(168 85 247 / 65%),
        0 0 var(--thumb-halo, 14px) rgb(59 130 246 / 28%),
        inset 0 0 5px rgb(255 255 255 / 40%);
    transform: translate3d(0, var(--thumb-y, 0px), 0);
    transition: background 180ms ease, box-shadow 180ms ease;
    pointer-events: none;
}

.scrollbar:hover .scrollbar__thumb,
.scrollbar:focus-visible .scrollbar__thumb,
.scrollbar.is-dragging .scrollbar__thumb {
    filter: brightness(1.15);
}

.scrollbar:focus-visible {
    outline: none;
}

.scrollbar:focus-visible .scrollbar__thumb {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.scrollbar.is-dragging .scrollbar__thumb {
    background: linear-gradient(180deg, #e9d5ff, #a78bfa 48%, #93c5fd);
}

.top-nav {
    position: fixed;
    z-index: 10;
    top: 1.5rem;
    left: 50%;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgb(216 165 255 / 18%);
    border-radius: 999px;
    background: rgb(16 8 39 / 72%);
    box-shadow: 0 8px 32px rgb(0 0 0 / 22%);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
    isolation: isolate;
}

.top-nav::before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: var(--active-pill-width, 0);
    height: var(--active-pill-height, 0);
    border-radius: 999px;
    background: rgb(168 85 247 / 38%);
    box-shadow: inset 0 0 0 1px rgb(216 165 255 / 28%), 0 0 16px rgb(168 85 247 / 22%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: translate3d(var(--active-pill-x, 0), var(--active-pill-y, 0), 0);
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
        width 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
        height 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 120ms ease;
}

.top-nav[data-pill-ready]::before {
    opacity: 1;
}

#route-content {
    display: contents;
}

.top-nav a {
    position: relative;
    z-index: 1;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    color: #c7cfdf;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 180ms ease;
}

.top-nav a:hover {
    color: #fff;
    transform: scale(1.05) translateY(-2px);
}

.top-nav a[aria-current="page"] {
    color: #fff;
}

.top-nav a:focus-visible {
    outline: 2px solid #d8a5ff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .top-nav::before {
        transition: none;
    }
}

.logo {
    height: 2.5rem;
    width: auto;
    border-radius: 999px;
    object-fit: cover;
    position: fixed;
    left: 20px;
    top: 20px;
}

h1 {
    font-size: 4rem;
    color: #c7cfdf;
    margin-bottom: 1rem;
    text-align: center;
}

.heading-word {
    display: inline-block;
    animation: heading-word-in 2500ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

#home > .heading-word:nth-of-type(2) {
    animation-delay: 100ms;
}

#home > .heading-word:nth-of-type(3) {
    animation-delay: 200ms;
}

#home > .heading-word:nth-of-type(4) {
    animation-delay: 300ms;
}

#home > .heading-word:nth-of-type(5) {
    animation-delay: 400ms;
}

#home > .heading-word:nth-of-type(6) {
    animation-delay: 500ms;
}

@keyframes heading-word-in {
    from {
        opacity: 0;
        transform: translateY(0.7em);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.supercharged {
    position: relative;
    isolation: isolate;
    color: transparent;
    -webkit-text-stroke: 1.5px #d8a5ff;
}

.supercharged::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    color: transparent;
    content: attr(data-text);
    -webkit-text-stroke: 5px #8308f7;
    filter: blur(5px);
    opacity: 1;
    pointer-events: none;
}

.supercharged::after {
    position: absolute;
    inset: 0;
    color: transparent;
    content: attr(data-text);
    -webkit-text-stroke: 2px #fff;
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #c084fc);
    -webkit-mask-image: linear-gradient(110deg, transparent 43%, #000 49%, #000 51%, transparent 57%);
    mask-image: linear-gradient(110deg, transparent 43%, #000 49%, #000 51%, transparent 57%);
    -webkit-mask-size: 250% 100%;
    mask-size: 250% 100%;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    animation: outline-shine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes outline-shine {
    0%,
    36% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }

    100% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

.italic-serif {
    font-family: 'Space Grotesk', serif;
    font-weight: 800; 
    color: #e7e8ff;
}

p {
    color: #dadada;
    font-size: 1.25rem;
}

@media (max-width: 480px) {
    .top-nav {
        top: 1rem;
        width: calc(100% - 2rem);
        justify-content: center;
        gap: 0.15rem;
    }

    .top-nav a {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .buttonCont .is-jumping {
        animation: none;
    }

    body::before,
    body::after {
        transition: none;
    }

    .supercharged::after {
        animation: none;
    }

    .top-nav a {
        transition: none;
    }

    .heading-word {
        animation: none;
    }

    .scrollbar__thumb {
        transition: none;
    }
}