@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #5c66f6);

}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
}


body {
    font-family: 'Rubik', sans-serif;
    color: #252627;
    overflow-x: hidden;
}

/* canvas background */

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


/* ---------------- SECTION BASE ---------------- */

/* section {
    padding: 120px 10vw;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {

    font-family: 'Space Grotesk';
    font-size: 54px;
    margin-bottom: 10px;

}

.section-header p {
    opacity: .6;
} */


/* ---------------- CTA ---------------- */

.cta {
    text-align: center;
}

.cta h2 {

    font-family: 'Space Grotesk';
    font-size: 56px;
    margin-bottom: 30px;

    background: linear-gradient(90deg, #7c8cff, #4de3ff);
    -webkit-background-clip: text;
    color: transparent;

}



/* ---------------- STATS ---------------- */

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
}

.stat h3 {
    font-size: 90px;
    color: #252627;
    /* background: linear-gradient(90deg, #7c8cff, #4de3ff); */
    -webkit-background-clip: text;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat p {
    opacity: .7;
    font-size: 20px;
}


/* section {
    position: relative;
}

section::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -60px;

    width: 300px;
    height: 1px;

    background: linear-gradient(90deg, transparent, #7c8cff, transparent);

    transform: translateX(-50%);

    opacity: .2;

} */

.cursor-glow {
    display: block;
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #7c8cff55, transparent 70%);
    pointer-events: none;
    z-index: 9999;
}

/* LOADER */

.loader {
    position: fixed;
    inset: 0;
    background: #04050a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

/* START SCREEN */

.loader-start {
    text-align: center;
    cursor: pointer;
}

.loader-title {
    font-family: 'Space Grotesk';
    font-size: 48px;
    letter-spacing: 2px;

    background: linear-gradient(90deg, #7c8cff, #4de3ff);
    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.tap-text {
    margin-top: 10px;
    color: whitesmoke;
    opacity: 0.6;
    font-size: 20px;
}

/* PROGRESS */

.loader-progress {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-text {
    color: whitesmoke;
    font-size: 14px;
    opacity: 0.7;
}

/* BAR */

.progress-bar {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #7c8cff, #4de3ff);
}

.loader {
    cursor: pointer;
}

.locked-content {
    position: relative;
    overflow: hidden;
}

/* FADE EFFECT */
.locked-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px;

    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            /* FULL BLOCK */
            rgba(255, 255, 255, 1) 40%,
            /* still fully hidden */
            rgba(255, 255, 255, 0.98) 60%,
            rgba(255, 255, 255, 0.9) 75%,
            rgba(255, 255, 255, 0.6) 85%,
            rgba(255, 255, 255, 0.2) 95%,
            transparent 100%);

    pointer-events: none;
}

/* LOCK OVERLAY */
.lock-overlay {
    position: absolute;
    bottom: -10;
    width: 100%;
    height: 100%;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 120px;

    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            /* FULL WHITE BLOCK */
            rgba(255, 255, 255, 1) 50%,
            /* hides everything */
            rgba(255, 255, 255, 0.95) 65%,
            rgba(255, 255, 255, 0.7) 80%,
            rgba(255, 255, 255, 0.3) 90%,
            transparent 100%);
}

.lock-box {
    text-align: center;
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.lock-box h2 {
    margin-bottom: 10px;
}

.lock-box button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    border-radius: 6px;
}