Spaces:
Running
Running
File size: 2,017 Bytes
9e01f6f 8931ac0 9e01f6f 8931ac0 9e01f6f 8931ac0 9e01f6f 8931ac0 9e01f6f 8931ac0 9e01f6f 8931ac0 9e01f6f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | /* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body {
font-family: 'Inter', sans-serif;
}
/* Custom animations */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
@keyframes pulse-glow {
0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.3); }
50% { box-shadow: 0 0 40px rgba(255, 0, 255, 0.6); }
}
.feature-card {
animation: float 6s ease-in-out infinite;
}
.feature-card:nth-child(2) {
animation-delay: 2s;
}
.feature-card:nth-child(3) {
animation-delay: 4s;
}
/* Interactive elements */
.interactive-card {
transition: all 0.3s ease;
cursor: pointer;
}
.interactive-card:hover {
transform: scale(1.05);
animation: pulse-glow 2s infinite;
}
/* Kanji stroke animation */
.kanji-path {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: draw 3s ease-in-out infinite;
}
@keyframes draw {
to {
stroke-dashoffset: 0;
}
}
/* Loading animation */
.loading-dots {
display: inline-block;
}
.loading-dots::after {
content: '...';
animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
0%, 20% { color: rgba(0,0,0,0); }
40% { color: rgba(0,0,0,1); }
60% { color: rgba(0,0,0,1); }
80%, 100% { color: rgba(0,0,0,0); }
}
/* Scroll animations */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
/* Progress bar animation */
.progress-fill {
transition: width 1s ease-in-out;
}
/* Particle animation for correct answers */
@keyframes celebrate {
0% { transform: scale(0); opacity: 1; }
50% { opacity: 1; }
100% { transform: scale(1); opacity: 0; }
}
.particle {
position: absolute;
width: 8px;
height: 8px;
background: #ec4899;
border-radius: 50%;
animation: celebrate 1s ease-out forwards;
} |