/* Sticker Blink Animation and Loader Styles */

/* Loader Container */
#sticker-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0f1419); /* Matches website background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

#sticker-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Sticker Container */
.sticker-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticker-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: stickerBlink 0.6s ease-in-out infinite;
}

@keyframes stickerBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.95); }
}

/* Three Blinking Dots Loader */
.dots-loader {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dotBlink 1s infinite both;
}

.dot:nth-child(1) {
    background-color: #800000; /* Maroon Red */
    animation-delay: -0.2s;
}

.dot:nth-child(2) {
    background-color: #ff0000; /* Red */
    animation-delay: -0.1s;
}

.dot:nth-child(3) {
    background-color: #ffff00; /* Yellow */
}

@keyframes dotBlink {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* Tab Click Animation Overlay */
#tab-blink-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0f1419); /* Same as website background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

#tab-blink-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-sticker {
    width: 250px;
    height: 250px;
    object-fit: contain;
    animation: stickerBlink 0.6s ease-in-out forwards;
}
