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

.font-bangers {
    font-family: 'Bangers', cursive;
    letter-spacing: 2px;
}

.font-comic {
    font-family: 'Comic Neue', cursive;
}

.wobble-text {
    animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.wiggle {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.05); }
    50% { transform: rotate(5deg) scale(1.1); }
    75% { transform: rotate(-3deg) scale(1.05); }
}

.quote-card {
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
    transform-origin: center;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotate(0deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confetti-particle {
    animation: confettiFall 3s ease-out forwards;
    border-radius: 2px;
}

@keyframes confettiFall {
    0% {
        top: -10%;
        opacity: 1;
        transform: rotate(0deg) translateX(0);
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: rotate(720deg) translateX(100px);
    }
}

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

.animate-float-delayed {
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Paper texture effect */
.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.01) 2px,
            rgba(0,0,0,0.01) 4px
        );
    pointer-events: none;
    border-radius: inherit;
}

/* Button hover glow */
button:not(:disabled):hover {
    box-shadow: 0 0 30px rgba(255,150,50,0.5);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .quote-card {
        transform: rotate(0deg) !important;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #ffeaa7;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#ff7675, #fdcb6e);
    border-radius: 6px;
}

/* Selection color */
::selection {
    background: #ff7675;
    color: white;
}