/* Homoerotix - Emoji Styling */
/* Gay sex toys webshop emoji styles */

/* Base emoji styling - Black and white */
.emoji-icon {
    font-size: 1.5em;
    margin: 0 5px;
    filter: grayscale(100%) contrast(200%) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.emoji-icon:hover {
    transform: scale(1.2);
    filter: grayscale(100%) contrast(300%) drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.emoji-icon:active {
    transform: scale(0.9);
}

/* Large emoji for headers - Black and white */
.emoji-large {
    font-size: 3em;
    display: block;
    text-align: center;
    margin: 20px 0;
    filter: grayscale(100%) contrast(200%) drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.emoji-large:hover {
    transform: scale(1.1);
    filter: grayscale(100%) contrast(300%) drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

.emoji-large:active {
    transform: scale(0.95);
}

/* Emoji buttons - Black and white */
.emoji-button {
    background: linear-gradient(45deg, #333, #666);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) contrast(200%);
}

.emoji-button:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    filter: grayscale(100%) contrast(300%);
}

.emoji-button:active {
    transform: scale(0.95);
}

/* Category emojis - Black and white */
.category-emoji {
    font-size: 2em;
    margin-right: 15px;
    filter: grayscale(100%) contrast(200%) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.category-emoji:hover {
    transform: scale(1.1);
    filter: grayscale(100%) contrast(300%) drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.category-emoji:active {
    transform: scale(0.9);
}

/* Product emojis - Black and white */
.product-emoji {
    font-size: 1.2em;
    margin-right: 8px;
    opacity: 0.8;
    filter: grayscale(100%) contrast(200%);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.product-emoji:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: grayscale(100%) contrast(300%);
}

.product-emoji:active {
    transform: scale(0.9);
}

/* Navigation emojis - Black and white */
.nav-emoji {
    font-size: 1.1em;
    margin-right: 8px;
    filter: grayscale(100%) contrast(200%);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.nav-emoji:hover {
    transform: scale(1.1);
    filter: grayscale(100%) contrast(300%);
}

.nav-emoji:active {
    transform: scale(0.9);
}

/* Cart emojis - Black and white */
.cart-emoji {
    font-size: 1.3em;
    margin-right: 10px;
    animation: bounce 2s infinite;
    filter: grayscale(100%) contrast(200%);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.cart-emoji:hover {
    transform: scale(1.1);
    filter: grayscale(100%) contrast(300%);
}

.cart-emoji:active {
    transform: scale(0.9);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Gay pride emoji styling */
.pride-emoji {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5em;
    font-weight: bold;
}

/* Emoji grid for product categories */
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.emoji-grid-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.emoji-grid-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.emoji-grid-item .emoji-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
}

/* Responsive emoji sizing */
@media (max-width: 768px) {
    .emoji-icon {
        font-size: 1.2em;
    }
    
    .emoji-large {
        font-size: 2.5em;
    }
    
    .emoji-button {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .category-emoji {
        font-size: 1.5em;
    }
}

/* Dark mode emoji styling */
@media (prefers-color-scheme: dark) {
    .emoji-icon {
        filter: drop-shadow(0 2px 4px rgba(255,255,255,0.3));
    }
    
    .emoji-large {
        filter: drop-shadow(0 4px 8px rgba(255,255,255,0.4));
    }
}

/* Special effects for specific emojis */
.emoji-fire {
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0% { opacity: 1; }
    100% { opacity: 0.8; }
}

.emoji-heart {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.emoji-rainbow {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Splash animation for emoji clicks - Water drop effect */
@keyframes splash {
    0% {
        transform: scale(0.7) rotate(0deg);
        filter: grayscale(100%) contrast(200%) drop-shadow(0 0 0 rgba(0,0,0,0));
    }
    10% {
        transform: scale(1.5) rotate(5deg);
        filter: grayscale(100%) contrast(500%) drop-shadow(0 0 30px rgba(0,0,0,1));
    }
    20% {
        transform: scale(1.2) rotate(-3deg);
        filter: grayscale(100%) contrast(600%) drop-shadow(0 0 40px rgba(0,0,0,0.8));
    }
    30% {
        transform: scale(1.6) rotate(2deg);
        filter: grayscale(100%) contrast(700%) drop-shadow(0 0 50px rgba(0,0,0,0.6));
    }
    40% {
        transform: scale(1.1) rotate(-1deg);
        filter: grayscale(100%) contrast(500%) drop-shadow(0 0 35px rgba(0,0,0,0.4));
    }
    50% {
        transform: scale(1.3) rotate(1deg);
        filter: grayscale(100%) contrast(400%) drop-shadow(0 0 25px rgba(0,0,0,0.3));
    }
    60% {
        transform: scale(1.0) rotate(0deg);
        filter: grayscale(100%) contrast(300%) drop-shadow(0 0 20px rgba(0,0,0,0.2));
    }
    70% {
        transform: scale(1.1) rotate(0deg);
        filter: grayscale(100%) contrast(250%) drop-shadow(0 0 15px rgba(0,0,0,0.1));
    }
    80% {
        transform: scale(0.95) rotate(0deg);
        filter: grayscale(100%) contrast(220%) drop-shadow(0 0 10px rgba(0,0,0,0.1));
    }
    90% {
        transform: scale(1.05) rotate(0deg);
        filter: grayscale(100%) contrast(210%) drop-shadow(0 0 8px rgba(0,0,0,0.1));
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: grayscale(100%) contrast(200%) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
}

/* Splash effect class for JavaScript trigger */
.emoji-splash {
    animation: splash 0.8s ease-out !important;
    position: relative;
    z-index: 1000;
}

/* Water drops effect for splash */
.emoji-splash::before {
    content: '💧';
    position: absolute;
    top: -25px;
    left: 40%;
    font-size: 1.5em;
    transform: translateX(-50%);
    animation: drop1 0.8s ease-out;
    pointer-events: none;
    z-index: 1001;
    filter: grayscale(100%) contrast(300%);
}

.emoji-splash::after {
    content: '💧';
    position: absolute;
    top: -20px;
    left: 70%;
    font-size: 1.0em;
    transform: translateX(-50%);
    animation: drop2 0.8s ease-out 0.15s;
    pointer-events: none;
    z-index: 1001;
    filter: grayscale(100%) contrast(300%);
}

/* Additional drops using box-shadow */
.emoji-splash {
    box-shadow: 
        0 0 0 0 rgba(0,0,0,0.3),
        0 0 0 0 rgba(0,0,0,0.2),
        0 0 0 0 rgba(0,0,0,0.1);
    animation: splash 0.8s ease-out, drops 0.8s ease-out !important;
}

@keyframes drops {
    0% {
        box-shadow: 
            0 0 0 0 rgba(0,0,0,0.3),
            0 0 0 0 rgba(0,0,0,0.2),
            0 0 0 0 rgba(0,0,0,0.1);
    }
    25% {
        box-shadow: 
            0 -10px 0 5px rgba(0,0,0,0.2),
            0 -15px 0 3px rgba(0,0,0,0.15),
            0 -20px 0 2px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 
            0 -20px 0 8px rgba(0,0,0,0.15),
            0 -25px 0 5px rgba(0,0,0,0.1),
            0 -30px 0 3px rgba(0,0,0,0.05);
    }
    75% {
        box-shadow: 
            0 -30px 0 10px rgba(0,0,0,0.1),
            0 -35px 0 6px rgba(0,0,0,0.05),
            0 -40px 0 4px rgba(0,0,0,0.02);
    }
    100% {
        box-shadow: 
            0 -40px 0 12px rgba(0,0,0,0.05),
            0 -45px 0 8px rgba(0,0,0,0.02),
            0 -50px 0 5px rgba(0,0,0,0.01);
    }
}

@keyframes drop1 {
    0% {
        top: -25px;
        opacity: 1;
        transform: translateX(-50%) scale(0.3);
    }
    20% {
        top: 10px;
        opacity: 0.9;
        transform: translateX(-50%) scale(1.2);
    }
    40% {
        top: 30px;
        opacity: 0.8;
        transform: translateX(-50%) scale(1.0);
    }
    60% {
        top: 50px;
        opacity: 0.6;
        transform: translateX(-50%) scale(0.8);
    }
    80% {
        top: 70px;
        opacity: 0.4;
        transform: translateX(-50%) scale(0.5);
    }
    100% {
        top: 90px;
        opacity: 0;
        transform: translateX(-50%) scale(0.2);
    }
}

@keyframes drop2 {
    0% {
        top: -20px;
        opacity: 1;
        transform: translateX(-50%) scale(0.2);
    }
    15% {
        top: 5px;
        opacity: 0.95;
        transform: translateX(-50%) scale(0.8);
    }
    30% {
        top: 25px;
        opacity: 0.85;
        transform: translateX(-50%) scale(0.9);
    }
    50% {
        top: 45px;
        opacity: 0.7;
        transform: translateX(-50%) scale(0.6);
    }
    70% {
        top: 65px;
        opacity: 0.5;
        transform: translateX(-50%) scale(0.4);
    }
    100% {
        top: 85px;
        opacity: 0;
        transform: translateX(-50%) scale(0.1);
    }
}



