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

:root {
    --primary-500: #8B5CF6;
    --primary-600: #7C3AED;
    --primary-100: #EDE9FE;
    --secondary-500: #F59E0B;
    --secondary-600: #D97706;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(to bottom, var(--primary-100) 0%, white 100%);
    min-height: 100vh;
    transition: background 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7C3AED;
}
/* Magic animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.5); }
}

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

.sparkle {
    position: relative;
    overflow: hidden;
}

.sparkle::after {
    content: "✨";
    position: absolute;
    pointer-events: none;
    animation: sparkle 1.5s ease-out infinite;
    opacity: 0;
}

/* Button effects */
.btn-magic {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-magic:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-magic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-magic:hover::before {
    left: 100%;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card:hover {
    transform: translateY(-5px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* Responsive adjustments */
@media (max-width: 640px) {
    .text-hero {
        font-size: 2.5rem;
    }
}