/* Maybelline Lipgloss Animation Styles */

.lipgloss-container {
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 50px 0;
}

.products-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-end;
    justify-content: center;
}

/* FLACONE CHIUSO */
.bottle-closed {
    position: relative;
    width: 140px;
    height: 400px;
}

.bottle-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

.geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffb3c9 0%, #ff8fab 100%);
    border-radius: 8px;
    overflow: hidden;
}

.zigzag {
    position: absolute;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.15) 48%, rgba(255, 255, 255, 0.15) 52%, transparent 52%);
}

.zigzag:nth-child(1) { top: 0; }
.zigzag:nth-child(2) { top: 50px; }
.zigzag:nth-child(3) { top: 100px; }
.zigzag:nth-child(4) { top: 150px; }
.zigzag:nth-child(5) { top: 200px; }
.zigzag:nth-child(6) { top: 250px; }

.bottle-label {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #ff8fab;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bottle-bottom-label {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    font-size: 10px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-transform: uppercase;
}

.bottle-cap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 140px;
}

.cap-top {
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 60px 60px 15px 15px;
    box-shadow: 
        inset -3px -3px 10px rgba(0, 0, 0, 0.5),
        inset 3px 3px 10px rgba(255, 255, 255, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.3);
}

.cap-neck {
    width: 90px;
    height: 35px;
    margin: 0 auto;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 10px;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.cap-ring {
    width: 100%;
    height: 25px;
    background: #1a1a1a;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* FLACONE APERTO */
.bottle-open {
    position: relative;
    width: 140px;
    height: 500px;
}

.open-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

.open-neck {
    position: absolute;
    bottom: 280px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 80px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 5px;
    box-shadow: inset 0 -2px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.neck-opening {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background: radial-gradient(circle, #000 0%, #1a1a1a 100%);
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.applicator {
    position: absolute;
    bottom: 280px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 200px;
    z-index: 3;
}

.wand {
    width: 6px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.applicator-tip {
    width: 20px;
    height: 60px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ff8fab 0%, #ff6b9d 100%);
    border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
    box-shadow: 
        inset -2px -2px 8px rgba(0, 0, 0, 0.2),
        inset 2px 2px 8px rgba(255, 255, 255, 0.3),
        0 5px 15px rgba(255, 107, 157, 0.4);
    position: relative;
    overflow: hidden;
}

.tip-texture {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 2px,
        transparent 4px
    );
}

.tip-shine {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(2px);
}

.open-cap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 140px;
    z-index: 4;
}

.particles {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ff8fab 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .products-wrapper {
        gap: 2rem;
        transform: scale(0.8);
    }
    
    .lipgloss-container {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .products-wrapper {
        gap: 1rem;
        transform: scale(0.6);
    }
}