*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    touch-action: manipulation;
}

#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(60px, 22vw, 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.25rem;
    left: 1.25rem;
    z-index: 60;
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    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.25rem;
    left: 1.25rem;
    z-index: 60;
    max-width: min(320px, 85vw);
}

#product-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: clamp(0.85rem, 3vw, 1.375rem);
    color: white;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

#product-desc {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: white;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: none;
}

#nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    width: clamp(2.5rem, 8vw, 4rem);
    height: clamp(2.5rem, 8vw, 4rem);
    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: clamp(20px, 5vw, 28px);
    height: clamp(20px, 5vw, 28px);
    stroke: white;
    stroke-width: 2.25;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#discover {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Anton', sans-serif;
    font-size: clamp(18px, 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: clamp(1.1rem, 3vw, 2rem);
    height: clamp(1.1rem, 3vw, 2rem);
    stroke: white;
    stroke-width: 2.25;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tablet & Large Screen Adjustments */
@media (min-width: 768px) {
    #brand {
        top: 2rem;
        left: 2rem;
    }

    #bottom-left {
        bottom: 3.5rem;
        left: 3.5rem;
    }

    #product-desc {
        display: block;
    }

    #discover {
        bottom: 3.5rem;
        right: 2.5rem;
    }
}

@media (min-width: 1024px) {
    #bottom-left {
        bottom: 5rem;
        left: 6rem;
    }

    #discover {
        bottom: 5rem;
        right: 3rem;
    }
}