* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    background: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars::before,
.stars::after {
    content: '✨';
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    animation: twinkle 3s infinite;
}

.stars::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.stars::after {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Header */
.header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.header h1 {
    color: white;
    font-size: 2.5em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.player-select {
    margin-bottom: 20px;
}

.player-select label {
    color: white;
    font-size: 1.2em;
    margin-right: 10px;
    font-weight: 600;
}

.player-select select {
    padding: 10px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    background: white;
    color: #764ba2;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

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

.progress-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    color: white;
    font-size: 1.1em;
}

.progress-info strong {
    font-weight: 700;
}

.progress-bar {
    height: 30px;
    background: rgba(255,255,255,0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Navigation */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.nav-btn {
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    background: white;
    color: #764ba2;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.nav-btn.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    transform: scale(1.05);
}

.nav-btn i {
    margin-right: 8px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.5s;
}

.page.active {
    display: block;
}

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

.page h2 {
    text-align: center;
    color: white;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.game-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.game-icon {
    font-size: 4em;
    margin-bottom: 15px;
    animation: float 3s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-card h3 {
    color: #764ba2;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.game-card p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.play-btn {
    padding: 12px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Game Container */
.game-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.game-container.hidden {
    display: none;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.back-btn {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 20px;
    background: #e5e7eb;
    color: #374151;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #d1d5db;
    transform: translateX(-5px);
}

.game-score {
    display: flex;
    gap: 20px;
    font-size: 1.2em;
    color: #764ba2;
    font-weight: 600;
}

#game-area {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

/* Flashcards */
.flashcard-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.control-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    background: white;
    color: #764ba2;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.control-btn:hover {
    transform: scale(1.05);
    background: #fbbf24;
    color: white;
}

#card-counter {
    color: white;
    font-size: 1.3em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.flashcard-container {
    perspective: 1000px;
    margin-bottom: 30px;
}

.flashcard {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 0 auto;
    cursor: pointer;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    padding: 40px;
}

.flashcard-front {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.flashcard-back {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: rotateY(180deg);
}

.word-display {
    font-size: 5em;
    color: white;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.tap-hint {
    color: white;
    font-size: 1.2em;
    opacity: 0.9;
}

.word-sentence {
    font-size: 2em;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.speak-btn {
    padding: 15px 30px;
    font-size: 1.3em;
    border: none;
    border-radius: 25px;
    background: white;
    color: #10b981;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.speak-btn:hover {
    transform: scale(1.1);
}

.flashcard-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 25px;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.know-btn {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
}

.practice-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.shuffle-btn {
    background: white;
    color: #764ba2;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Word List */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    background: white;
    color: #764ba2;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

.filter-btn.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.word-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #764ba2;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
}

.word-item:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.word-item.mastered {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
}

.word-item.mastered::after {
    content: '✅';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8em;
}

.word-item.practicing {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.word-item.practicing::after {
    content: '📚';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8em;
}

/* Achievements */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 3em;
    font-weight: 700;
    color: #764ba2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    color: #666;
}

.badges-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.badges-section h3 {
    color: #764ba2;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
    transition: all 0.3s;
}

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

.badge-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.badge-name {
    font-size: 1.2em;
    font-weight: 600;
}

.badge.locked {
    background: #e5e7eb;
    color: #9ca3af;
    opacity: 0.5;
}

.reset-section {
    text-align: center;
}

.reset-btn {
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    background: #ef4444;
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.reset-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: popIn 0.5s;
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content h2 {
    color: #764ba2;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.5em;
    color: #666;
    margin-bottom: 20px;
}

.star-reward {
    font-size: 3em;
    margin: 20px 0;
    animation: spin 1s;
}

@keyframes spin {
    from { transform: rotate(0deg) scale(0); }
    to { transform: rotate(360deg) scale(1); }
}

.modal-btn {
    padding: 15px 40px;
    font-size: 1.3em;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.modal-btn:hover {
    transform: scale(1.1);
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Pronunciation Practice */
.practice-settings {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.practice-settings label {
    color: #764ba2;
    font-size: 1.2em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.practice-settings #sensitivity-label {
    color: #f59e0b;
    font-weight: 700;
}

.practice-settings input[type="range"] {
    cursor: pointer;
}

.section-select-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.section-select-container h3 {
    color: #764ba2;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.section-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.section-btn {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Fredoka', cursive;
}

.section-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.section-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #764ba2;
}

.section-btn.active .section-icon,
.section-btn.active .section-name,
.section-btn.active .section-range {
    color: white;
}

.section-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.section-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #764ba2;
    margin-bottom: 5px;
}

.section-range {
    font-size: 1em;
    color: #666;
}

.practice-container {
    max-width: 700px;
    margin: 0 auto;
}

.practice-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.word-counter {
    text-align: center;
    color: #764ba2;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.practice-word {
    text-align: center;
    font-size: 5em;
    font-weight: 700;
    color: #764ba2;
    margin: 30px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hear-word-btn {
    display: block;
    margin: 0 auto 30px;
    padding: 15px 30px;
    font-size: 1.3em;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

.microphone-area {
    text-align: center;
    margin: 30px 0;
}

.mic-btn {
    padding: 30px 50px;
    font-size: 1.5em;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

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

.mic-btn i {
    font-size: 1.5em;
}

.mic-btn.listening {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 15px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(239, 68, 68, 0.8), 0 0 40px rgba(239, 68, 68, 0.6); }
}

.mic-btn.success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.mic-btn.error {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.mic-status {
    margin-top: 15px;
    font-size: 1.2em;
    color: #666;
    font-weight: 600;
}

.help-me-btn {
    display: block;
    margin: 20px auto 0;
    padding: 12px 30px;
    font-size: 1.2em;
    border: 2px dashed #764ba2;
    border-radius: 20px;
    background: white;
    color: #764ba2;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.help-me-btn:hover {
    background: #764ba2;
    color: white;
    transform: scale(1.05);
}

.pronunciation-feedback {
    margin: 30px 0;
    min-height: 100px;
}

.feedback-box {
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.feedback-box.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 3px solid #10b981;
}

.feedback-box.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 3px solid #ef4444;
}

.feedback-box.coaching {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
}

.feedback-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feedback-box h3 {
    color: #374151;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.feedback-box p {
    color: #4b5563;
    font-size: 1.1em;
    margin: 10px 0;
}

.confidence {
    font-weight: 600;
    color: #10b981;
}

.coaching-tip {
    background: #f3f4f6;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    min-height: 50px;
}

.tip-content {
    font-size: 1.1em;
    color: #374151;
    line-height: 1.6;
}

.tip-content.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 15px;
    border-radius: 10px;
}

.tip-content.coaching {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px;
    border-radius: 10px;
}

.hear-again-btn {
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 1.1em;
    border: none;
    border-radius: 20px;
    background: #764ba2;
    color: white;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.practice-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.nav-practice-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    border: none;
    border-radius: 20px;
    background: white;
    color: #764ba2;
    border: 2px solid #764ba2;
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-practice-btn:hover:not(:disabled) {
    background: #764ba2;
    color: white;
    transform: scale(1.05);
}

.nav-practice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.practice-progress {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.practice-progress h4 {
    color: #764ba2;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}

.section-progress-bar {
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.section-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 15px;
}

.section-stats {
    text-align: center;
    font-size: 1.2em;
    color: #374151;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .word-display {
        font-size: 3.5em;
    }
    
    .practice-word {
        font-size: 3.5em;
    }
    
    .flashcard {
        height: 350px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        gap: 5px;
    }
    
    .nav-btn {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .section-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mic-btn {
        padding: 20px 30px;
        font-size: 1.2em;
    }
}