@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: -10px;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4ECDC4;
}

/* Paper texture background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, #000 2px, #000 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, #000 2px, #000 4px);
    pointer-events: none;
    z-index: -1;
}

/* Hover effects */
button:not(:disabled) {
    cursor: pointer;
    transition: all 0.2s ease;
}

button:not(:disabled):active {
    transform: scale(0.95);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Crayon decorations */
.crayon-decoration {
    position: absolute;
    width: 8px;
    height: 60px;
    border-radius: 4px;
    opacity: 0.1;
    transform: rotate(15deg);
}