* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: white;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5vh 1.5vw;
    position: relative;
    z-index: 5;
}

a, button, [onclick], .carousel-arrow, .buy-now-image, .brand-link, .container{
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 113.4 113.4"><rect x="64.8" y="64.8" width="16.2" height="16.2"/><rect x="48.6" y="48.6" width="16.2" height="16.2"/><rect x="32.4" y="64.8" width="16.2" height="16.2"/><rect x="64.8" y="32.4" width="16.2" height="16.2"/><rect x="32.4" y="32.4" width="16.2" height="16.2"/><polygon points="16.2 113.4 32.4 113.4 48.6 113.4 48.6 97.2 32.4 97.2 16.2 97.2 16.2 81 16.2 64.8 16.2 48.6 16.2 32.4 16.2 16.2 32.4 16.2 48.6 16.2 48.6 0 32.4 0 16.2 0 0 0 0 16.2 0 32.4 0 48.6 0 64.8 0 81 0 97.2 0 113.4 16.2 113.4"/><polygon points="97.2 0 81 0 64.8 0 64.8 16.2 81 16.2 97.2 16.2 97.2 32.4 97.2 48.6 97.2 64.8 97.2 81 97.2 97.2 81 97.2 64.8 97.2 64.8 113.4 81 113.4 97.2 113.4 113.4 113.4 113.4 97.2 113.4 81 113.4 64.8 113.4 48.6 113.4 32.4 113.4 16.2 113.4 0 97.2 0"/></svg>') 16 16, auto !important;
}

.animated-earrings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    pointer-events: none;
    z-index: -100;
    overflow: visible;
}

.earring {
    position: fixed;
    height: 100px;
    width: 100px;
    background-image: url('assets/Animated1 Medium.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.main-title {
    font-size: clamp(4rem, 15vw, 10rem);
    color: #f40000;
    font-family: 'American Pop One', cursive;
    font-weight: 300;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0.5vh;
    text-align: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    position: relative;
    padding-top: 0;
}

.brand-link-container {
    margin-bottom: 1.5vh;
    margin-top: 0.2vh;
}

.brand-text {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.brand-link {
    color: black;
    text-decoration: underline;
    font-weight: 400;
}

.brand-link:hover {
    color: #f40000;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3vh;
    margin-top: 0.5vh;
    z-index: 10;
}

.carousel-wrapper {
    width: clamp(320px, 50vw, 400px);
    height: clamp(200px, 30vh, 250px);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-arrow {
    background: black;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.carousel-arrow:hover {
    background: #f40000;
}

.carousel-arrow:active {
    background: #f40000;
}

.product-details {
    text-align: center;
    margin: 0 0 4vh 0;
    z-index: 10;
    position: relative;
}

.product-details p {
    margin: 2px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: black;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.collaboration {
    font-weight: bold;
    font-size: 1rem;
}

.buy-now-container {
    position: fixed;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buy-now-image-wrapper {
    position: relative;
    display: inline-block;
}

.buy-now-image {
    width: clamp(300px, 25vw, 300px);
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); */
}

.buy-now-image:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

.buy-now-image:active {
    transform: translateY(-2px);
}

.price-display {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 0.5vh;
}

.location-info {
    display: none;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 5rem;
        letter-spacing: 2px;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .buy-now-image {
        width: 220px;
    }
    
    .buy-now-container {
        bottom: 18px;
    }
    
    .carousel-wrapper {
        width: 320px;
        height: 200px;
    }
    
    .carousel-container {
        margin-bottom: 25px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin: 0 6px;
    }
    
    .price-display {
        font-size: 1.4rem;
    }
    
    .earring {
        width: 60px;
        height: 78px;
    }
    
    .product-details p {
        font-size: 0.8rem;
        margin: 3px 0;
    }
    
    .product-details {
        margin: 0 0 35px 0;
    }
    
    .collaboration {
        font-size: 0.9rem;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 2px 10px;
        height: 100vh;
        overflow: hidden;
    }
    
    .main-title {
        font-size: 4.5rem;
        letter-spacing: 0px;
        margin-top: 15px;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-feature-settings: "liga" 1;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .brand-link-container {
        margin-bottom: 20px;
    }
    
    .buy-now-image {
        width: 220px;
    }
    
    .buy-now-container {
        bottom: 15px;
    }
    
    .carousel-wrapper {
        width: 300px;
        height: 220px;
    }
    
    .carousel-container {
        margin-bottom: 5px;
        margin-top: 10px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin: 0 -60px;
    }
    
    .earring {
        width: 40px;
        height: 52px;
    }
    
    .price-display {
        font-size: 1.2rem;
    }
    
    .product-details p {
        font-size: 0.7rem;
        margin: 2px 0;
    }
    
    .product-details {
        margin: 0 0 25px 0;
        margin-top: -25px;
    }
    
    .collaboration {
        font-size: 0.8rem;
    }
    
    .location-info {
        bottom: 10px;
        left: 10px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}