*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}
 
#app {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    transition: background-color 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

#inner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.4;
    background-repeat: repeat;
    background-size: 200px 200px;
}

#ghost-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-14%);
    pointer-events: none;
    user-select: none;
    z-index: 2;
    font-family: 'Anton', sans-serif;
    font-size: clamp(90px, 28vw, 380px);
    font-weight: 900;
    color: white;
    opacity: 1;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

#brand {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    z-index: 60;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    opacity: 0.9;
    letter-spacing: 0.18em;
}

.carousel-item {
    position: absolute;
    aspect-ratio: 0.6 / 1;
    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1),
        filter 650ms cubic-bezier(0.4, 0, 0.2, 1),
        opacity 650ms cubic-bezier(0.4, 0, 0.2, 1),
        left 650ms cubic-bezier(0.4, 0, 0.2, 1),
        height 650ms cubic-bezier(0.4, 0, 0.2, 1),
        bottom 650ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, filter, opacity;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

#bottom-left {
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    z-index: 60;
    max-width: 320px;
}

#product-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

#product-desc {
    font-size: 0.8rem;
    color: white;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: none;
}

#nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: transparent;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 150ms, background-color 150ms;
}

.nav-btn:hover {
    transform: scale(1.08);
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-btn svg {
    width: 26px;
    height: 26px;
    stroke: white;
    stroke-width: 2.25;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#discover {
    position: absolute;
    bottom: 1.5rem;
    right: 1rem;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Anton', sans-serif;
    font-size: clamp(20px, 4vw, 56px);
    font-weight: 400;
    color: white;
    opacity: 0.95;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 200ms;
}

#discover:hover {
    opacity: 1;
}

#discover svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white;
    stroke-width: 2.25;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 640px) {
    #brand {
        left: 2rem;
    }

    #bottom-left {
        bottom: 5rem;
        left: 6rem;
    }

    #product-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }

    #product-desc {
        display: block;
    }

    .nav-btn {
        width: 4rem;
        height: 4rem;
    }

    #discover {
        bottom: 5rem;
        right: 2.5rem;
    }

    #discover svg {
        width: 2rem;
        height: 2rem;
    }
}