/* Custom styles that complement Tailwind */

body {
    font-family: 'Lora', Georgia, serif;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
    font-family: 'Lora', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(45, 15, 40, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Smooth section transitions */
section {
    scroll-margin-top: 80px;
}

/* Comic-style halftone animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 1s; }
.stat-card:nth-child(4) { animation-delay: 1.5s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stat-card { animation: none; }
    html { scroll-behavior: auto; }
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #4a1942;
}
