body {
    font-family: 'Quicksand', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.bg-magic-gradient {
    background: linear-gradient(135deg, #f3e8ff 0%, #dbeafe 100%);
    background-attachment: fixed;
}

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

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

.luna-logo-svg {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="45" fill="%23fef08a" /><path d="M50 5 C 20 5, 5 35, 5 50 C 5 75, 25 95, 50 95 C 65 95, 75 90, 85 80 C 65 90, 40 80, 40 50 C 40 25, 60 10, 80 5 C 70 5, 60 5, 50 5 Z" fill="%239333ea" /><circle cx="35" cy="40" r="3" fill="white" /><circle cx="35" cy="40" r="1.5" fill="black" /><path d="M30 55 Q 35 60 40 55" stroke="white" stroke-width="2" fill="none" stroke-linecap="round" /><rect x="25" y="65" width="20" height="25" rx="2" fill="%23d8b4fe" /><path d="M35 65 L 35 90" stroke="%239333ea" stroke-width="1" /></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf2ff;
}
::-webkit-scrollbar-thumb {
    background: #d8b4fe;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9333ea;
}

canvas#doodle-canvas {
    touch-action: none;
    background: #fff;
    width: 100%;
    height: 100%;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #9333ea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.page-section {
    min-height: calc(100vh - 80px);
}
