/* RESET */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}

/* BODY */

body {
    background-color: #000;
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background:

        linear-gradient(rgba(0, 0, 0, 0.82),

            rgba(0, 0, 0, 0.94)),

        url("./assets/bg.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    font-family: "Inter", sans-serif;

    color: #f5f5f5;

    letter-spacing: -0.3px;
}

.showcase::after {

    content: "";

    position: absolute;

    width: 700px;

    height: 700px;

    border-radius: 50%;

    background:

        radial-gradient(circle,

            rgba(255, 255, 255, 0.025) transparent 70%);

    right: -120px;

    top: 56%;

    transform: translateY(-50%);

    filter: blur(140px);

    z-index: 0;

}

body::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(circle at 70% 50%,

            rgba(255, 255, 255, 0.04),

            transparent 45%);

    animation:

        ambientMove 12s ease-in-out infinite;

    z-index: 0;

    pointer-events: none;

}

body::after {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        url("https://grainy-gradients.vercel.app/noise.svg");

    opacity: 0.035;

    mix-blend-mode: soft-light;

    pointer-events: none;

}

@keyframes ambientMove {

    0% {

        transform: translateX(0px);

    }

    50% {

        transform: translateX(-30px);

    }

    100% {

        transform: translateX(0px);

    }

}

/* MAIN CONTAINER */

.container {

    position: absolute;

    left: 120px;

    top: 56%;

    transform: translateY(-50%);

    max-width: 560px;

    z-index: 10;
}

/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 52px;
}

.brand-logo {

    width: 52px;

    height: 52px;

    object-fit: contain;

    opacity: 0.95;
}

.brand-wordmark {

    width: 180px;

    object-fit: contain;

    opacity: 0.95;
}

/* TAGLINE */

.tagline {

    font-size: 28px;

    font-weight: 500;

    line-height: 1.4;

    margin-bottom: 22px;

    color: #f2f2f2;
}

/* MAIN TITLE */

.launching {

    font-size: 72px;

    font-weight: 700;

    line-height: 0.95;

    margin-bottom: 42px;

    color: white;

    letter-spacing: -3px;
}

/* ACTIONS */

.actions {

    display: flex;

    align-items: center;

    gap: 28px;
}

/* BUTTON */

.waitlist-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    background: transparent;

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.22);

    padding: 16px 30px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

    transition: all 0.3s ease;

    backdrop-filter: blur(4px);
}

.waitlist-btn:hover {

    background: white;

    color: black;

    border-color: white;
}

/* INSTAGRAM */

.instagram {

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    text-decoration: none;

    color: rgba(255, 255, 255, 0.55);

    transition: 0.3s ease;
}

.instagram:hover {

    color: white;
}

/* SHOWCASE */

.showcase {

    position: absolute;

    right: 0;

    top: 0;

    width: 62%;

    height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    pointer-events: none;

    padding-right: 40px;
}

/* CINEMATIC GLOW */

.showcase::before {

    content: "";

    position: absolute;

    width: 540px;

    height: 540px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, 0.07),
            transparent 72%);

    filter: blur(50px);

    right: 10%;

    top: 56%;

    transform: translateY(-50%);

    z-index: 0;
}

/* POLO TRACK */

.polo-track {

    position: relative;

    width: 100%;

    height: 100%;
}

/* POLO */

.polo {

    position: absolute;

    top: 56%;

    left: 50%;

    width: 780px;

    max-width: 680px;

    max-height: 78vh;

    object-fit: contain;

    opacity: 0;

    transform:
        translate(-50%, -50%) scale(0.88) rotate(-6deg);

    filter: blur(12px);

    transition:
        transform 1.2s cubic-bezier(.19, 1, .22, 1),
        opacity 1s ease,
        filter 1s ease;
}

.polo::after {

    content: "";

    position: absolute;

    width: 60%;

    height: 40px;

    background: rgba(0, 0, 0, 0.55);

    filter: blur(30px);

    bottom: -20px;

    left: 20%;

    border-radius: 50%;

}

/* ACTIVE */

.polo.active {

    opacity: 1;

    filter: blur(0px);

    z-index: 5;

    animation:
        floatPolo 5s ease-in-out infinite;

    transform:
        translate(-28%, -52%) scale(1.48) rotate(-5deg);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.65)) brightness(1.03);
}

/* FLOAT */

@keyframes floatPolo {

    0% {

        transform:
            translate(-35%, -52%) scale(1.35) rotate(-4deg) translateY(0px);
    }

    50% {

        transform:
            translate(-35%, -52%) scale(1.35) rotate(-4deg) translateY(-12px);
    }

    100% {

        transform:
            translate(-35%, -52%) scale(1.35) rotate(-4deg) translateY(0px);
    }
}

/* PREV */

.polo.prev {

    opacity: 0.08;

    transform:
        translate(-95%, -50%) scale(0.72) rotate(-14deg);
}

/* NEXT */

.polo.next {

    opacity: 0.08;

    transform:
        translate(-5%, -50%) scale(0.72) rotate(14deg);
}

/* SCROLL INDICATOR */

.scroll-indicator {

    position: absolute;

    right: 90px;

    bottom: 70px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    z-index: 20;

    opacity: 0.42;

}

.scroll-indicator span {

    font-size: 10px;

    letter-spacing: 5px;

    text-transform: uppercase;

}

.scroll-line {

    width: 1px;

    height: 70px;

    background:

        linear-gradient(transparent,

            rgba(255, 255, 255, 0.65),

            transparent);

    animation:

        scrollLine 2s ease infinite;

}

@keyframes scrollLine {

    0% {

        transform: translateY(-8px);

        opacity: 0.2;

    }

    50% {

        transform: translateY(8px);

        opacity: 1;

    }

    100% {

        transform: translateY(-8px);

        opacity: 0.2;

    }

}

/* POPUP */

.popup {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(10px);

    justify-content: center;

    align-items: center;

    z-index: 1000;
}

/* POPUP CONTENT */

.popup-content {

    width: 92%;

    max-width: 460px;

    background: #0a0a0a;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    padding: 56px;

    position: relative;

    animation: popupFade 0.25s ease;
}

.popup-content h2 {

    font-size: 42px;

    line-height: 1;

    font-weight: 700;

    margin-bottom: 42px;

    color: white;

    letter-spacing: -2px;
}

/* FORM */

.popup-content form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* INPUTS */

.popup-content input,
.popup-content select {

    width: 100%;

    background: transparent;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    color: white;

    padding: 22px 24px;

    font-size: 18px;

    transition: 0.3s ease;
}

.popup-content input::placeholder {

    color: rgba(255, 255, 255, 0.28);
}

.popup-content input:focus,
.popup-content select:focus {

    outline: none;

    border-color:
        rgba(255, 255, 255, 0.35);
}

/* BUTTON */

.popup-content button {

    margin-top: 14px;

    height: 64px;

    background: white;

    color: black;

    border: none;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    cursor: pointer;

    transition: 0.3s ease;
}

.popup-content button:hover {

    opacity: 0.9;
}

/* CLOSE */

.close-popup {

    position: absolute;

    right: 24px;

    top: 18px;

    font-size: 42px;

    font-weight: 300;

    color: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: 0.3s ease;
}

.close-popup:hover {

    color: white;
}

/* SUCCESS */

.success-content {

    text-align: center;
}

.success-content h2 {

    font-size: 46px;

    margin-bottom: 22px;
}

.success-content p {

    color: rgba(255, 255, 255, 0.65);

    line-height: 1.7;

    font-size: 18px;

    margin-bottom: 36px;
}

/* POPUP ANIMATION */

@keyframes popupFade {

    from {

        opacity: 0;

        transform: translateY(10px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 768px) {

    .container {

        left: 32px;

        right: 32px;

        top: auto;

        bottom: 70px;

        transform: none;
    }

    .brand {

        gap: 12px;

        margin-bottom: 38px;
    }

    .brand-logo {

        width: 42px;

        height: 42px;
    }

    .brand-wordmark {

        width: 140px;
    }

    .tagline {

        font-size: 20px;

        margin-bottom: 18px;
    }

    .launching {

        font-size: 48px;

        margin-bottom: 18px;
    }

    .actions {

        gap: 18px;

        flex-wrap: wrap;
    }

    .showcase {

        width: 100%;

        opacity: 0.16;

        padding-right: 0;
    }

    .showcase::before {

        width: 320px;

        height: 320px;
    }

    .polo {

        width: 420px;

        max-width: 420px;
    }

    .scroll-indicator {

        display: none;
    }

    .popup-content {

        padding: 34px 24px;
    }

    .popup-content h2 {

        font-size: 34px;

        margin-bottom: 28px;
    }

    .popup-content input,
    .popup-content select {

        padding: 18px;

        font-size: 16px;
    }

    .popup-content button {

        height: 58px;
    }
}