:root {
    --bg: #050705;
    --panel: #0a0d0b;
    --panel-hover: #0d110e;
    --border: rgba(255,255,255,.075);

    --white: #f4f7f4;
    --muted: #777d78;
    --dark-muted: #4c524d;

    --green: #48ef8d;
    --green-soft: rgba(72,239,141,.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

button,
a {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}


/* BACKGROUND */

.background {
    position: fixed;
    inset: 0;
    z-index: -5;
    overflow: hidden;
    pointer-events: none;
}

.grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.017) 1px, transparent 1px);

    background-size: 64px 64px;

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0,0,0,.5) 45%,
        transparent 85%
    );
}

.noise {
    position: absolute;
    inset: 0;
    opacity: .025;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: .08;
}

.glow-1 {
    width: 650px;
    height: 650px;
    background: var(--green);
    top: -500px;
    left: 25%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #276eff;
    right: -400px;
    top: 35%;
}


/* NAVBAR */

.navbar {
    width: min(1180px, calc(100% - 40px));
    height: 76px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.logo-box {
    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--green);
    color: #041008;

    font-size: 13px;
    font-weight: 900;

    box-shadow: 0 0 25px rgba(72,239,141,.12);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--muted);
    font-size: 11px;

    transition: color .2s;
}

nav a:hover {
    color: white;
}

.login {
    padding: 10px 16px;

    background: rgba(255,255,255,.035);

    border: 1px solid var(--border);
    border-radius: 8px;

    color: white;

    font-size: 11px;
    font-weight: 600;

    transition: .25s;
}

.login span {
    margin-left: 7px;
    color: var(--dark-muted);
}

.login:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}


/* HERO */

.hero {
    width: min(920px, calc(100% - 40px));

    margin: 125px auto 105px;

    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 10px;

    border: 1px solid var(--border);
    border-radius: 100px;

    background: rgba(255,255,255,.025);

    color: var(--muted);

    font-size: 9px;
}

.pulse {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);
    box-shadow: 0 0 13px var(--green);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.arrow {
    color: #555;
}

.hero h1 {
    margin-top: 31px;

    font-size: clamp(62px, 9vw, 108px);

    line-height: .87;

    letter-spacing: -7px;

    font-weight: 800;
}

.hero h1 span {
    color: #606661;
}

.hero > p {
    max-width: 555px;

    margin: 31px auto 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-top: 32px;
}

.primary,
.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 18px;

    border-radius: 9px;

    font-size: 11px;
    font-weight: 700;

    transition: .25s;
}

.primary {
    background: var(--green);
    color: #041008;

    box-shadow: 0 12px 40px rgba(72,239,141,.08);
}

.primary span {
    margin-left: 12px;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 50px rgba(72,239,141,.2);
}

.secondary {
    background: rgba(255,255,255,.025);

    border: 1px solid var(--border);

    color: #aaa;
}

.secondary:hover {
    color: white;
    background: rgba(255,255,255,.06);
}

.economy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    margin-top: 38px;
}

.economy-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.economy-item strong {
    font-size: 14px;
}

.economy-item small {
    color: var(--dark-muted);
    font-size: 9px;
}

.economy-item.result strong {
    color: var(--green);
}

.economy-arrow {
    color: #393d39;
    font-size: 12px;
}


/* QUICK INFO */

.quick-info {
    width: min(1180px, calc(100% - 40px));

    margin: auto;

    display: grid;
    grid-template-columns: repeat(3,1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.info-card {
    min-height: 165px;

    padding: 29px;

    border-right: 1px solid var(--border);

    transition: background .3s;
}

.info-card:last-child {
    border-right: 0;
}

.info-card:hover,
.info-card.active {
    background: rgba(72,239,141,.025);
}

.info-card > span {
    color: var(--dark-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.6px;
}

.info-card strong {
    display: block;

    margin-top: 14px;

    font-size: 34px;
    letter-spacing: -2px;
}

.info-card strong small {
    color: var(--muted);

    font-size: 12px;
}

.info-card p {
    max-width: 240px;

    margin-top: 6px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.5;
}


/* SECTION */

.section {
    width: min(1180px, calc(100% - 40px));

    margin: 165px auto 0;
}

.heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
}

.label {
    color: var(--green);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
}

.heading h2 {
    margin-top: 12px;

    font-size: 44px;

    letter-spacing: -2.5px;
}

.heading > p {
    max-width: 350px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.7;
}


/* EARN GRID */

.earn-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 10px;

    margin-top: 48px;
}

.earn-card {
    position: relative;

    min-height: 300px;

    padding: 24px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.018),
            transparent 60%
        ),
        var(--panel);

    border: 1px solid var(--border);
    border-radius: 14px;

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.earn-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255,255,255,.15);

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(72,239,141,.055),
            transparent 35%
        ),
        var(--panel-hover);
}

.earn-card.main-card {
    min-height: 340px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(72,239,141,.1),
            transparent 35%
        ),
        var(--panel);
}

.earn-card.casino {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(116,78,255,.09),
            transparent 35%
        ),
        var(--panel);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header > span {
    color: #3e443f;

    font-size: 9px;
    font-weight: 700;
}

.icon {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--green);

    font-size: 12px;

    transition: .3s;
}

.earn-card:hover .icon {
    background: var(--green);
    color: #041008;

    transform: rotate(8deg);
}

.card-visual {
    position: absolute;

    width: 140px;
    height: 140px;

    top: 85px;
    right: 20px;

    opacity: .45;
}

.visual-circle {
    position: absolute;

    width: 90px;
    height: 90px;

    right: 10px;
    top: 15px;

    border: 1px solid rgba(72,239,141,.2);

    border-radius: 50%;
}

.visual-line {
    position: absolute;

    width: 120px;
    height: 1px;

    top: 60px;
    right: 0;

    background: rgba(72,239,141,.15);

    transform: rotate(-30deg);
}

.visual-dot {
    position: absolute;

    width: 8px;
    height: 8px;

    right: 48px;
    top: 46px;

    background: var(--green);

    border-radius: 50%;

    box-shadow: 0 0 20px var(--green);
}

.card-text {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 68px;
}

.card-text > span {
    color: var(--dark-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.card-text h3 {
    margin-top: 9px;

    font-size: 18px;

    letter-spacing: -.5px;
}

.card-text p {
    max-width: 285px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.7;
}

.card-footer {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 23px;

    display: flex;
    justify-content: space-between;

    color: #424842;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.card-footer b {
    color: #747a75;

    font-size: 12px;
}


/* HOW */

.how {
    margin-top: 175px;
}

.steps {
    margin-top: 50px;

    border-top: 1px solid var(--border);
}

.step {
    display: grid;
    grid-template-columns: 65px 1fr 30px;

    gap: 28px;

    padding: 31px 0;

    border-bottom: 1px solid var(--border);

    transition: padding .3s;
}

.step:hover {
    padding-left: 8px;
}

.step-number {
    color: var(--green);

    font-size: 10px;
    font-weight: 700;
}

.step-content > span {
    color: var(--dark-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.6px;
}

.step-content h3 {
    margin-top: 9px;

    font-size: 19px;
}

.step-content p {
    max-width: 520px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.7;
}

.step-arrow {
    color: #454b46;

    font-size: 14px;
}


/* STREAK */

.streak-section {
    width: min(1180px, calc(100% - 40px));

    margin: 175px auto 0;

    display: grid;
    grid-template-columns: .8fr 1.2fr;

    align-items: center;

    gap: 80px;
}

.streak-copy h2 {
    margin-top: 15px;

    font-size: 56px;
    line-height: .9;

    letter-spacing: -4px;
}

.streak-copy h2 span {
    color: #606660;
}

.streak-copy p {
    max-width: 390px;

    margin: 22px 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.7;
}

.streak-card {
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(72,239,141,.07),
            transparent 38%
        ),
        var(--panel);
}

.streak-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.streak-card-top span {
    display: block;

    color: var(--dark-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.6px;
}

.streak-card-top strong {
    display: block;

    margin-top: 5px;

    font-size: 17px;
}

.max {
    padding: 6px 9px;

    border: 1px solid rgba(72,239,141,.16);

    border-radius: 6px;

    background: rgba(72,239,141,.06);

    color: var(--green);

    font-size: 8px;
    font-weight: 700;
}

.streak-track {
    position: relative;

    display: grid;
    grid-template-columns: repeat(7,1fr);

    gap: 7px;

    margin-top: 32px;
}

.track-line {
    position: absolute;

    top: 17px;
    left: 17px;
    right: 17px;

    height: 1px;

    background: #252a26;
}

.streak-node {
    position: relative;

    min-height: 92px;

    display: flex;
    flex-direction: column;

    padding: 11px 8px;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: #0d100e;

    z-index: 1;
}

.streak-node b {
    width: 13px;
    height: 13px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #242a25;

    color: #777d78;

    font-size: 7px;
}

.streak-node span {
    margin-top: auto;

    color: #777d78;

    font-size: 9px;
}

.streak-node.final {
    background: rgba(72,239,141,.075);
    border-color: rgba(72,239,141,.25);
}

.streak-node.final b {
    background: var(--green);
    color: #031108;
}

.streak-node.final span {
    color: var(--green);
    font-weight: 700;
}


/* FINAL */

.final {
    width: min(900px, calc(100% - 40px));

    position: relative;

    margin: 190px auto;

    padding: 100px 20px;

    text-align: center;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    overflow: hidden;
}

.final-glow {
    position: absolute;

    width: 400px;
    height: 180px;

    left: 50%;
    top: 50%;

    transform: translate(-50%,-50%);

    background: var(--green);

    filter: blur(130px);

    opacity: .055;
}

.final h2 {
    position: relative;

    margin-top: 16px;

    font-size: clamp(50px,7vw,78px);

    line-height: .9;

    letter-spacing: -5px;
}

.final p {
    position: relative;

    margin: 22px 0 27px;

    color: var(--muted);

    font-size: 11px;
}


/* FOOTER */

footer {
    width: min(1180px, calc(100% - 40px));

    margin: auto;
    padding: 27px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 12px;
}

.footer-left .logo-box {
    width: 25px;
    height: 25px;

    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a,
.copyright {
    color: #4f554f;

    font-size: 9px;

    transition: .2s;
}

.footer-links a:hover {
    color: white;
}


/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .65s ease,
        transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* MOBILE */

@media (max-width: 850px) {

    nav {
        display: none;
    }

    .hero {
        margin-top: 90px;
    }

    .hero h1 {
        letter-spacing: -5px;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .info-card {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .info-card:last-child {
        border-bottom: 0;
    }

    .heading {
        display: block;
    }

    .heading > p {
        margin-top: 18px;
    }

    .earn-grid {
        grid-template-columns: 1fr;
    }

    .earn-card,
    .earn-card.main-card {
        min-height: 290px;
    }

    .streak-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .streak-copy h2 {
        font-size: 50px;
    }

    .streak-track {
        grid-template-columns: repeat(4,1fr);
    }

    .track-line {
        display: none;
    }

    .final {
        padding: 75px 20px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 500px) {

    .navbar {
        width: calc(100% - 28px);
    }

    .hero {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -4px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary,
    .secondary {
        width: 100%;
    }

    .section,
    .streak-section {
        width: calc(100% - 28px);
    }

    .section {
        margin-top: 120px;
    }

    .step {
        grid-template-columns: 45px 1fr 20px;
        gap: 15px;
    }

    .streak-track {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-links {
        gap: 14px;
    }
}