:root {
    --pink: #FFD1DC;
    --mint: #B2F2BB;
    --lavender: #E0BBE4;
    --text: #4A4A4A;
    --boing: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    font-family: 'Fredoka', sans-serif;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23FFD1DC'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") 6 6, auto;
    box-sizing: border-box;
}

body {
    background-color: var(--pink);
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.floating-item {
    position: absolute;
    opacity: 0.2;
    pointer-events: none;
    z-index: -5;
}

.sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 10000;
}

.sparkle svg {
    filter: drop-shadow(0 0 2px #fff);
    fill: #fff;
}

/* Buttons */
.chunky-btn {
    box-shadow: 0 6px 0 rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.3s var(--boing);
}

.chunky-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 0 rgba(0,0,0,0.1);
}

.chunky-btn:active {
    transform: translateY(4px) scale(0.98);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

/* Products */
.product-card {
    transition: all 0.4s var(--boing);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Inputs */
.parent-input {
    width: 100%;
    padding: 1rem;
    border-radius: 1.5rem;
    border: 3px solid #f0f0f0;
    background: #ffffff;
    outline: none;
    transition: all 0.2s;
}

.parent-input:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 4px rgba(178, 242, 187, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pink);
}

::-webkit-scrollbar-thumb {
    background: var(--lavender);
    border-radius: 10px;
    border: 2px solid var(--pink);
}

/* Canvas/Stickers */
#sticker-canvas {
    background-size: cover;
    background-position: center;
    touch-action: none;
}

.placed-sticker {
    position: absolute;
    cursor: move;
    z-index: 10;
    max-width: 80px;
    max-height: 80px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.active-flag {
    border-color: var(--lavender) !important;
    box-shadow: 0 0 12px rgba(224, 187, 228, 0.6);
    transform: scale(1.2);
}

/* Model Viewer */
model-viewer {
    --poster-color: transparent;
    --progress-bar-color: var(--lavender);
    background: radial-gradient(circle, #fff 0%, #f7f7f7 100%);
}

@media (max-width: 768px) {
    .animate-float {
        animation: none;
    }
}
