/* Sticker System Styles */

/* Header Progress Bar */
.sticker-bar-container {
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.sticker-bar-container:active {
    transform: scale(0.95);
}

.sticker-bar-container.pulse {
    animation: pulse 0.3s;
}

.sticker-icon-small {
    font-size: 1.2rem;
    margin-right: 8px;
}

.progress-track {
    width: 100px;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Striped animation for progress */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    background-size: 20px 20px;
    animation: moveStripes 1s linear infinite;
}

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

/* Sticker Book */
.sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
}

.sticker-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    justify-content: center;
    transition: transform 0.2s;
    border: 2px solid #f0f0f0;
}

.sticker-item:hover {
    transform: translateY(-5px) rotate(2deg);
    border-color: #FFD700;
}

.sticker-icon {
    font-size: 3rem;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.sticker-name {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    font-family: 'Comic Neue', cursive;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.5rem;
    color: #888;
    margin-top: 50px;
}