/* Custom styles for Kanji Muse */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #FAF9F6 0%, #F5F5DC 100%);
    min-height: 100vh;
}

.kanji-display {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mnemonic-text {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    line-height: 1.8;
    font-size: 1.125rem;
}

.reading-text {
    font-family: 'Noto Sans JP', sans-serif;
}

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

.slide-up {
    animation: slideUp 0.4s ease-out;
}

.scale-hover {
    transition: transform 0.2s ease-in-out;
}

.scale-hover:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.card-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.card-shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 12px rgba(0, 0, 0, 0.08);
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Mobile responsiveness */
@media (max-width: 640px) {
    .kanji-display {
        font-size: 5rem;
    }
    
    .mnemonic-text {
        font-size: 1rem;
    }
}