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

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background: #1a1a2e !important;
    position: relative;
}

/* Crayon doodles background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Stars */
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 85% 15%, rgba(255, 105, 180, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 25% 70%, rgba(135, 206, 250, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 70% 80%, rgba(144, 238, 144, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 50% 40%, rgba(255, 165, 0, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 90% 60%, rgba(238, 130, 238, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 15% 85%, rgba(255, 255, 102, 0.3) 0%, transparent 2%),
        
        /* Squiggly lines */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 150px,
            rgba(255, 105, 180, 0.15) 150px,
            rgba(255, 105, 180, 0.15) 153px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 200px,
            rgba(135, 206, 250, 0.15) 200px,
            rgba(135, 206, 250, 0.15) 203px
        ),
        repeating-linear-gradient(
            30deg,
            transparent,
            transparent 180px,
            rgba(144, 238, 144, 0.15) 180px,
            rgba(144, 238, 144, 0.15) 183px
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Crayon doodle decorations */
.min-h-screen {
    position: relative;
}

.min-h-screen::before {
    content: '⭐ ✨ 🌟 ⚡ 💫 ★ ✦ ◆ ● ■ ▲ ◀ ▶ ☀ ☁ ❤ 💜 💙 💚 💛 🎨 🖍️ ✏️ 🎭 🌈';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 24px;
    opacity: 0.15;
    word-wrap: break-word;
    overflow: hidden;
    line-height: 80px;
    letter-spacing: 60px;
    color: #fff;
    pointer-events: none;
    z-index: 0;
    animation: float 60s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* All content above doodles */
.min-h-screen > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
}

.crayon-text {
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4);
}

.crayon-progress {
    background: linear-gradient(90deg, 
        #ff6b6b 0%, 
        #4ecdc4 25%, 
        #45b7d1 50%, 
        #f9ca24 75%, 
        #6c5ce7 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
        opacity: 0;
    }
}

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

::-webkit-scrollbar-track {
    background: #2a2a3e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a855f7, #ec4899);
    border-radius: 6px;
    border: 2px solid #2a2a3e;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9333ea, #db2777);
}

/* Loading animation for images */
img {
    transition: all 0.3s ease;
}

/* Cute button hover effects */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

/* Dark theme card styling */
.bg-white {
    background: #2a2a3e !important;
    color: #e0e0e0 !important;
}

.text-gray-700,
.text-gray-600,
.text-gray-500,
.text-gray-800 {
    color: #d0d0d0 !important;
}

.border-gray-200 {
    border-color: #3a3a4e !important;
}

.border-purple-200 {
    border-color: #6b46c1 !important;
}

.bg-purple-50 {
    background: #3a2a5e !important;
}

.bg-purple-100 {
    background: #4a3a6e !important;
}

.bg-gray-100 {
    background: #3a3a4e !important;
}

.bg-gray-200 {
    background: #4a4a5e !important;
}

.bg-gray-50 {
    background: #35354e !important;
}

input, textarea {
    background: #35354e !important;
    color: #e0e0e0 !important;
    border-color: #5a5a6e !important;
}

input::placeholder,
textarea::placeholder {
    color: #9090a0 !important;
}

input:focus,
textarea:focus {
    border-color: #a855f7 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .crayon-text {
        font-size: 2.5rem;
    }
}