@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Gellix';
    src: url('../fonts/Gellix.ttf') format('truetype');
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree';
    background: #fff;
}

/* HEADER */

.topbar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5vh 0;
    background: #000000;
}

.topbar img {
    width: 12vw;
    min-width: 8rem;
}

/* HERO */

.canvas {
    position: relative;
    min-height: 80vh;
    background: #010101;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.canvas::before {
    content: "";
    position: absolute;
    width: 50vw;
    height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("../images/backdrop.avif") center center / contain no-repeat;
    opacity: .95;
}

.veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .7));
}

.frame {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: 0 auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.lead {
    width: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lead h1 {
    font-size: clamp(2rem, 4vw, 5rem);
    line-height: 1.05;
    margin-bottom: 2vh;
    text-align: center;
    font-family: 'Gellix';
}

.lead p {
    font-size: clamp(1rem, 1.5vw, 1.45rem);
    line-height: 1.2;
    margin-bottom: 4vh;
    max-width: 90%;
    text-align: center;
    font-family: 'Figtree';
}

.launch {
    text-align: center;
    margin-top: 3rem;
}

.trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 56px;
    background: #39f5a3;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* STATS */

.strip {
    width: 100%;
    background: #000;
    position: relative;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 0;
}

.pill {
    width: 1100px;
    max-width: 95%;
    height: 86px;
    background: #eed7d71f;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    overflow: hidden;
}

/* Green glow */
.pill::before {
    content: "";
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 180px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 255, 170, .45) 0%,
        rgba(0, 255, 170, .2) 45%,
        transparent 75%
    );
    pointer-events: none;
}

.cell {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.cell span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.faces {
    display: flex;
    align-items: center;
}

.faces img,
.emblem,
.seal {
    width: 42px;
    height: 42px;
}

.faces img {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1fffb8;
}

.emblem {
    object-fit: cover;
    border-radius: 50%;
}

.seal {
    object-fit: contain;
    border-radius: 50%;
}

/* FOOTER LINKS */

.legal {
    width: 100%;
    background: #000000;
    padding: 1rem 5vw;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.holder {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.terms {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.terms a {
    color: #39f5a3;
    text-decoration: none;
    font-weight: 600;
    padding: .65rem 1rem;
    border: 1px solid rgba(57, 245, 163, .25);
    border-radius: 999px;
    transition: .3s ease;
}

.terms a:hover {
    background: rgba(57, 245, 163, .1);
}

/* TABLET */

@media (max-width: 992px) {
    .frame {
        flex-direction: column;
        justify-content: center;
        padding: 5vh 0;
    }

    .lead {
        width: 100%;
        text-align: center;
    }

    .lead p {
        max-width: 100%;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .strip {
        min-height: auto;
        padding: 30px 0;
    }

    .cell span {
        font-size: 16px;
    }

    .topbar img {
        width: 35vw;
    }

    .canvas {
        min-height: 65vh;
        padding: 0;
    }

    .canvas::before {
        width: 90vw;
        height: 60vh;
        top: 46%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .lead h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .lead p {
        font-size: 1rem;
    }

    .pill {
        height: auto;
        border-radius: 24px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 24px 20px;
    }

    .holder {
        flex-direction: column;
        align-items: flex-start;
    }

    .terms {
        width: 100%;
    }

    .terms a {
        flex: 1 1 calc(50% - .5rem);
        text-align: center;
    }
}
