/* Mëso Gjermanisht - Simple & Clean Theme */

/* ===== CSS Variables ===== */
:root {
    /* Soft, calm base colors */
    --bg-primary: #fafbfc;
    --bg-secondary: #ffffff;
    --bg-accent: #f4f6f8;
    --text-primary: #2d3748;
    --text-secondary: #5a6778;
    --text-muted: #8492a6;
    --border-light: #e8ecf0;
    --border-medium: #d1d9e0;

    /* Calm accent color - soft teal */
    --accent: #4a9d9a;
    --accent-light: #e8f4f3;
    --accent-dark: #3d8583;

    /* Level colors - softer versions */
    --a1-color: #5bb98c;
    --a1-light: #e8f5ee;
    --a2-color: #e5a84b;
    --a2-light: #fdf6e8;
    --b1-color: #8b7ec8;
    --b1-light: #f0eef8;

    /* Theme colors (will be overridden per page) */
    --theme-color: var(--accent);
    --theme-light: var(--accent-light);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Simple shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: 0.2s ease;
}

/* Theme variations */
body[data-theme="a1"] {
    --theme-color: var(--a1-color);
    --theme-light: var(--a1-light);
}

body[data-theme="a2"] {
    --theme-color: var(--a2-color);
    --theme-light: var(--a2-light);
}

body[data-theme="b1"] {
    --theme-color: var(--b1-color);
    --theme-light: var(--b1-light);
}

body[data-theme="dictionary"] {
    --theme-color: #c27ba0;
    --theme-light: #faf0f5;
}

body[data-theme="games"] {
    --theme-color: #6b8cce;
    --theme-light: #eef2fa;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Remove animated background */
.bg-animation {
    display: none;
}

/* ===== Header ===== */
.header {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Main Navigation ===== */
.main-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.main-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.main-nav-btn .nav-icon {
    font-size: 1.25rem;
}

.main-nav-btn .nav-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-nav-btn:hover {
    background: var(--bg-accent);
}

.main-nav-btn:hover .nav-text {
    color: var(--text-secondary);
}

.main-nav-btn.active {
    background: var(--theme-light);
}

.main-nav-btn.active .nav-text {
    color: var(--theme-color);
    font-weight: 600;
}

/* ===== Main Content ===== */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.page-content {
    display: none;
}

.page-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ===== Dashboard ===== */
.dashboard {
    display: grid;
    gap: var(--space-md);
}

.dashboard-welcome {
    padding: var(--space-xl);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
}

.dashboard-welcome h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.dashboard-welcome p {
    color: var(--text-secondary);
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.card-header .card-icon {
    font-size: 1.25rem;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Daily Word Card */
.daily-word-content {
    text-align: center;
    padding: var(--space-md) 0;
}

.daily-word-de {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: var(--space-xs);
}

.daily-word-sq {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.daily-word-example {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-accent);
    border-radius: var(--radius-sm);
}

.daily-word-btn {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.daily-word-btn:hover {
    background: var(--theme-light);
    border-color: var(--theme-color);
    color: var(--theme-color);
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--bg-accent);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.quick-action-btn .qa-icon {
    font-size: 1.25rem;
}

.quick-action-btn .qa-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.quick-action-btn:hover {
    background: var(--theme-light);
    border-color: var(--theme-color);
}

/* Progress Card */
.progress-levels {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.progress-level {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.progress-level-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.level-badge.a1 { background: var(--a1-color); }
.level-badge.a2 { background: var(--a2-color); }
.level-badge.b1 { background: var(--b1-color); }

.progress-level-header .level-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.progress-bar-mini {
    height: 6px;
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-mini .progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.progress-level[data-level="a1"] .progress-fill { background: var(--a1-color); }
.progress-level[data-level="a2"] .progress-fill { background: var(--a2-color); }
.progress-level[data-level="b1"] .progress-fill { background: var(--b1-color); }

/* Featured Games */
.featured-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.featured-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--bg-accent);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.featured-game .fg-icon {
    font-size: 1.5rem;
}

.featured-game .fg-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.featured-game:hover {
    background: var(--theme-light);
    border-color: var(--theme-color);
}

/* ===== Level Selector ===== */
.level-selector {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.level-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.level-btn .level-icon {
    font-size: 1.25rem;
}

.level-btn .level-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.level-btn .level-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.level-btn .level-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.level-btn:hover {
    border-color: var(--border-medium);
    background: var(--bg-accent);
}

.level-btn[data-level="a1"]:hover { border-color: var(--a1-color); }
.level-btn[data-level="a2"]:hover { border-color: var(--a2-color); }
.level-btn[data-level="b1"]:hover { border-color: var(--b1-color); }

.level-btn.active {
    color: white;
    border-color: transparent;
}

.level-btn[data-level="a1"].active { background: var(--a1-color); }
.level-btn[data-level="a2"].active { background: var(--a2-color); }
.level-btn[data-level="b1"].active { background: var(--b1-color); }

.level-btn.active .level-name,
.level-btn.active .level-desc {
    color: white;
}

/* ===== Content Tabs ===== */
.content-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    padding: var(--space-xs);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
}

.content-tab {
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.content-tab:hover {
    color: var(--text-primary);
}

.content-tab.active {
    background: var(--bg-secondary);
    color: var(--theme-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Learning Content */
.learning-content {
    animation: fadeIn 0.3s ease;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.section-header {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--theme-color);
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.section-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Topic Cards Grid */
.topic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.topic-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.topic-card:hover {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.topic-card .topic-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.topic-card .topic-info {
    flex: 1;
    min-width: 0;
}

.topic-card .topic-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.topic-card .topic-german {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}

.topic-card .topic-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: var(--space-xs);
}

.topic-card .topic-arrow {
    font-size: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition);
}

.topic-card:hover .topic-arrow {
    color: var(--theme-color);
    transform: translateX(4px);
}

/* ===== Games Section ===== */
.games-header,
.dictionary-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.games-header h2,
.dictionary-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.games-header p,
.dictionary-header p {
    color: var(--text-secondary);
}

/* Game Level Selector */
.game-level-selector {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.game-level-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.game-level-btn:hover {
    border-color: var(--border-medium);
}

.game-level-btn.active {
    background: var(--theme-color);
    color: white;
    border-color: transparent;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.game-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.game-card:hover {
    border-color: var(--theme-color);
    box-shadow: var(--shadow-md);
}

.game-card .game-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.game-card .game-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.game-card .game-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Game Container */
.game-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
}

.game-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.game-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.game-close-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--bg-accent);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.game-close-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

/* ===== Dictionary ===== */
.dictionary-search {
    margin-bottom: var(--space-lg);
}

.search-container {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-secondary);
}

.search-input:focus {
    outline: none;
    border-color: var(--theme-color);
}

.search-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.search-btn:hover {
    opacity: 0.9;
}

.dictionary-results {
    max-width: 600px;
    margin: 0 auto;
}

.dict-entry {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
}

.dict-word-de {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-color);
}

.dict-word-sq {
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.dict-example {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

/* ===== Vocabulary ===== */
.vocabulary-category {
    margin-bottom: var(--space-xl);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.category-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.word-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-sm);
}

.word-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    cursor: pointer;
    transition: var(--transition);
}

.word-card:hover {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.word-card .word-de {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.word-card .word-sq {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.word-card .word-pronunciation {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-xs);
}

.word-card .word-example {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

/* ===== Grammar ===== */
.grammar-topic {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.grammar-topic h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.grammar-topic p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.grammar-topic table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
}

.grammar-topic th,
.grammar-topic td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border: 1px solid var(--border-light);
}

.grammar-topic th {
    background: var(--bg-accent);
    font-weight: 600;
    color: var(--text-primary);
}

.grammar-topic td {
    background: var(--bg-secondary);
}

.conjugation-box {
    background: var(--theme-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.conjugation-box h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: var(--space-sm);
}

.tip-box {
    background: #fef9e7;
    border: 1px solid #f5d77a;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.tip-box::before {
    content: '💡 ';
}

/* ===== Examples ===== */
.example-category {
    margin-bottom: var(--space-xl);
}

.example-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.dialogue-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.dialogue-line {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

.dialogue-line:last-child {
    border-bottom: none;
}

.dialogue-line .speaker {
    font-weight: 600;
    color: var(--theme-color);
}

.dialogue-line .text-de {
    color: var(--text-primary);
}

.dialogue-line .text-sq {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.explanation-box {
    background: var(--theme-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-sm);
}

.explanation-box h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: var(--space-xs);
}

/* ===== Quiz ===== */
.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.quiz-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--theme-color);
    transition: width 0.3s ease;
}

.quiz-progress-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.quiz-question {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.quiz-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quiz-option {
    padding: var(--space-md);
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.95rem;
    text-align: left;
    color: var(--text-primary);
}

.quiz-option:hover {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.quiz-option.selected {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.quiz-option.correct {
    border-color: var(--a1-color);
    background: var(--a1-light);
}

.quiz-option.incorrect {
    border-color: #e57373;
    background: #ffebee;
}

.quiz-explanation {
    background: var(--theme-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-md);
}

.quiz-next-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.quiz-next-btn:hover {
    opacity: 0.9;
}

.quiz-results {
    text-align: center;
    padding: var(--space-2xl);
}

.quiz-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.quiz-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: var(--space-md);
}

.quiz-restart-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

/* ===== Quiz Feedback ===== */
.quiz-feedback {
    padding: 0;
    margin: var(--space-md) 0;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quiz-feedback.show {
    padding: var(--space-md) var(--space-lg);
    opacity: 1;
    max-height: 100px;
}

.quiz-feedback.correct {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    color: #2e7d32;
}

.quiz-feedback.wrong {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    color: #c62828;
}

/* ===== Enhanced Quiz Options ===== */
.quiz-option {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--theme-color);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.quiz-option:hover:not(.disabled) {
    border-color: var(--theme-color);
    background: var(--theme-light);
    transform: translateX(4px);
}

.quiz-option:hover:not(.disabled)::before {
    transform: scaleY(1);
}

.quiz-option.disabled {
    cursor: default;
    opacity: 0.8;
}

.quiz-option.correct {
    border-color: #4caf50 !important;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
    animation: correctPulse 0.5s ease;
}

.quiz-option.correct::before {
    background: #4caf50;
    transform: scaleY(1);
}

.quiz-option.wrong {
    border-color: #f44336 !important;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%) !important;
    animation: wrongShake 0.4s ease;
}

.quiz-option.wrong::before {
    background: #f44336;
    transform: scaleY(1);
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes wrongShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* ===== Enhanced Quiz Container ===== */
.quiz-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--border-light);
}

.quiz-score, .quiz-progress {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.95rem;
}

.score-label, .progress-label {
    color: var(--text-muted);
}

.score-value, .progress-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--theme-color);
}

.score-total, .progress-total {
    color: var(--text-muted);
}

.quiz-question-container {
    margin-bottom: var(--space-lg);
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--theme-color);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quiz-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.quiz-btn {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.quiz-btn.restart-btn {
    background: linear-gradient(135deg, #607d8b 0%, #455a64 100%);
}

/* ===== Enhanced Results ===== */
.quiz-results {
    text-align: center;
    padding: var(--space-2xl);
    animation: fadeInUp 0.5s ease;
}

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

.results-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-light) 0%, var(--bg-accent) 100%);
    border: 4px solid var(--theme-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: var(--space-lg) auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.results-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--theme-color);
    line-height: 1;
}

.results-percent {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.results-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-md);
}

/* ===== Enhanced Game Cards ===== */
.game-card-large {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card-large::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, var(--theme-light) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.game-card-large:hover {
    border-color: var(--theme-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.game-card-large:hover::before {
    width: 100%;
}

.game-card-icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

.game-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.game-card-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.game-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.game-card-arrow {
    font-size: 1.5rem;
    color: var(--theme-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-card-large:hover .game-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.games-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

/* ===== Game Play Area ===== */
.game-play-area {
    padding: var(--space-md);
}

.back-to-games-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: var(--space-lg);
    font-family: inherit;
}

.back-to-games-btn:hover {
    background: var(--theme-light);
    border-color: var(--theme-color);
    color: var(--theme-color);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: var(--space-md);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--bg-accent);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.modal-breadcrumb {
    padding: var(--space-md) var(--space-lg);
    padding-right: 48px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.modal-content {
    padding: var(--space-lg);
}

/* Modal Content Styles */
.modal-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.modal-header-icon {
    font-size: 2rem;
}

.modal-header-text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-header-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.modal-word-card {
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.modal-word-card .german {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: var(--space-xs);
}

.modal-word-card .albanian {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.modal-word-card .pronunciation {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.modal-word-card .example {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

.modal-word-card .usage-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.grammar-deep-section {
    margin-bottom: var(--space-lg);
}

.grammar-deep-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.grammar-deep-section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.grammar-rule-box {
    background: var(--theme-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.grammar-rule-box h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: var(--space-sm);
}

.grammar-rule-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.grammar-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
}

.grammar-table th,
.grammar-table td {
    padding: var(--space-sm);
    text-align: left;
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.grammar-table th {
    background: var(--bg-accent);
    font-weight: 600;
}

.practice-box {
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-lg);
}

.practice-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.practice-exercise {
    margin-bottom: var(--space-sm);
}

.practice-exercise .question {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.practice-exercise .answer {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-color);
    cursor: pointer;
    background: var(--bg-secondary);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    filter: blur(4px);
    transition: var(--transition);
}

.practice-exercise .answer.revealed,
.practice-exercise .answer:hover {
    filter: none;
}

.related-topics {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.related-topics h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.related-link {
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-accent);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.related-link:hover {
    background: var(--theme-light);
    color: var(--theme-color);
}

/* Dialogue styles for modal */
.modal-content .dialogue-box {
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.modal-content .dialogue-line {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-content .dialogue-line:last-child {
    border-bottom: none;
}

.modal-content .dialogue-line .speaker {
    font-weight: 600;
    font-size: 0.85rem;
}

.modal-content .dialogue-line .speaker-a {
    color: var(--theme-color);
}

.modal-content .dialogue-line .speaker-b {
    color: var(--a2-color);
}

.modal-content .dialogue-line .german {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.modal-content .dialogue-line .albanian {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Breadcrumb styles */
.breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-item.current {
    color: var(--theme-color);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
    margin: 0 var(--space-xs);
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-welcome,
    .daily-word-card {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .main-nav {
        gap: 0;
    }

    .main-nav-btn {
        padding: var(--space-sm) var(--space-md);
    }

    .level-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .level-btn {
        justify-content: center;
    }

    .content-tabs {
        flex-wrap: wrap;
    }

    .featured-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .word-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

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

/* Level Content Visibility */
.level-content {
    display: none;
}

.level-content.active {
    display: block;
}

/* Audio button */
.audio-btn {
    background: var(--theme-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 8px;
    margin-left: 8px;
    transition: var(--transition);
    vertical-align: middle;
}

.audio-btn:hover {
    background: var(--theme-color);
    color: white;
    transform: scale(1.05);
}

.audio-btn:active {
    transform: scale(0.95);
}

/* Loading state */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* Success/Error states */
.success {
    color: var(--a1-color);
}

.error {
    color: #e57373;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-weight: 600;
    color: var(--text-primary);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-accent);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== Typing Practice Game ===== */
.typing-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
}

.typing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.typing-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.typing-prompt {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.typing-albanian {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.typing-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.typing-input-area {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.typing-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-family: var(--font-main);
    transition: var(--transition);
    text-align: center;
}

.typing-input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-light);
}

.typing-input.correct {
    border-color: var(--a1-color);
    background: var(--a1-light);
}

.typing-input.incorrect {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.typing-audio-btn {
    padding: var(--space-md);
    background: var(--theme-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.typing-audio-btn:hover {
    background: var(--theme-color);
    color: white;
}

.typing-special-chars {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.typing-char {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.typing-char:hover {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
    transform: scale(1.1);
}

.typing-feedback {
    min-height: 60px;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: var(--space-md);
}

.typing-feedback.correct {
    background: var(--a1-light);
    color: var(--a1-color);
}

.typing-feedback.incorrect {
    background: #fdf2f2;
    color: #e74c3c;
}

.typing-controls {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.typing-skip,
.typing-submit {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.typing-skip {
    background: var(--bg-accent);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.typing-skip:hover {
    background: var(--border-light);
}

.typing-submit {
    background: var(--theme-color);
    border: none;
    color: white;
}

.typing-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.typing-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
}

.typing-result h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.typing-result .final-accuracy {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-color);
    margin: var(--space-md) 0;
}

.typing-result .final-score {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.typing-result button {
    padding: var(--space-md) var(--space-xl);
    background: var(--theme-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.typing-result button:hover {
    background: var(--accent-dark);
}

/* ===== Reading Comprehension Game ===== */
.reading-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.reading-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.reading-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.reading-translate-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.reading-translate-btn:hover,
.reading-translate-btn.active {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
}

.reading-text-area {
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.reading-title {
    font-size: 1.3rem;
    color: var(--theme-color);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--theme-light);
}

.reading-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.reading-text .vocab-word {
    background: var(--theme-light);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    cursor: help;
    transition: var(--transition);
}

.reading-text .vocab-word:hover {
    background: var(--theme-color);
    color: white;
}

.reading-translation {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px dashed var(--border-medium);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.reading-questions {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.reading-question {
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.reading-question h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.reading-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.reading-option {
    padding: var(--space-md);
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 0.95rem;
}

.reading-option:hover:not(.selected):not(.correct):not(.wrong) {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.reading-option.selected {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.reading-option.correct {
    border-color: var(--a1-color);
    background: var(--a1-light);
}

.reading-option.wrong {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.reading-option.correct::after {
    content: " ✓";
    color: var(--a1-color);
    font-weight: bold;
}

.reading-option.wrong::after {
    content: " ✗";
    color: #e74c3c;
    font-weight: bold;
}

.reading-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
}

.reading-next-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--theme-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.reading-next-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.reading-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
}

.reading-result h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.reading-result .final-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-color);
    margin: var(--space-md) 0;
}

.reading-result button {
    padding: var(--space-md) var(--space-xl);
    background: var(--theme-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: var(--space-md);
}

.reading-result button:hover {
    background: var(--accent-dark);
}

/* ===== Flashcard Game ===== */
.flashcard-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
}

.flashcard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.flashcard-stats {
    display: flex;
    gap: var(--space-lg);
}

.fc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fc-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-color);
}

.fc-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flashcard-progress {
    font-weight: 600;
    color: var(--text-secondary);
}

.flashcard-area {
    perspective: 1000px;
    margin-bottom: var(--space-lg);
}

.flashcard {
    width: 100%;
    height: 280px;
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.flashcard-front {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-accent));
    border: 2px solid var(--border-light);
}

.flashcard-back {
    background: linear-gradient(135deg, var(--theme-light), var(--bg-secondary));
    border: 2px solid var(--theme-color);
    transform: rotateY(180deg);
}

.fc-word {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.fc-audio-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--theme-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: var(--space-md);
}

.fc-audio-btn:hover {
    background: var(--theme-color);
    color: white;
    transform: scale(1.1);
}

.fc-tap-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fc-translation {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: var(--space-md);
    text-align: center;
}

.fc-example {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
}

.flashcard-rating {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
}

.rating-prompt {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.rating-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.rating-btn {
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.rating-btn.again {
    background: #fee2e2;
    color: #dc2626;
}

.rating-btn.again:hover {
    background: #dc2626;
    color: white;
}

.rating-btn.hard {
    background: #fef3c7;
    color: #d97706;
}

.rating-btn.hard:hover {
    background: #d97706;
    color: white;
}

.rating-btn.good {
    background: #d1fae5;
    color: #059669;
}

.rating-btn.good:hover {
    background: #059669;
    color: white;
}

.rating-btn.easy {
    background: #dbeafe;
    color: #2563eb;
}

.rating-btn.easy:hover {
    background: #2563eb;
    color: white;
}

.flashcard-empty,
.flashcard-intro {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
}

.fc-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.flashcard-empty h4,
.flashcard-intro h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.flashcard-empty p,
.flashcard-intro p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.fc-restart-btn,
.fc-start-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--theme-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.fc-restart-btn:hover,
.fc-start-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .flashcard-stats {
        gap: var(--space-md);
    }

    .fc-stat-num {
        font-size: 1.2rem;
    }

    .flashcard {
        height: 240px;
    }

    .fc-word {
        font-size: 1.6rem;
    }

    .fc-translation {
        font-size: 1.4rem;
    }

    .rating-buttons {
        gap: var(--space-xs);
    }

    .rating-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
    }
}

/* ===== Fill in the Blank Game ===== */
.fillblank-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fillblank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.fillblank-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.fillblank-question {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border-left: 4px solid var(--theme-color);
    line-height: 1.6;
}

.fillblank-input-area {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fillblank-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.fillblank-input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-light);
}

.fillblank-submit {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.fillblank-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fillblank-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.fillblank-feedback {
    padding: 0;
    margin: var(--space-md) 0;
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fillblank-feedback.show {
    padding: var(--space-md) var(--space-lg);
    opacity: 1;
    max-height: 100px;
}

.fillblank-feedback.correct {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    color: #2e7d32;
}

.fillblank-feedback.incorrect {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    color: #c62828;
}

.fillblank-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease;
}

/* ===== Scramble Game ===== */
.scramble-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.scramble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.scramble-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.scramble-hint {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-accent);
    border-radius: var(--radius-md);
}

.scramble-letters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    min-height: 60px;
    padding: var(--space-md);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-light);
}

.scramble-letter {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.scramble-letter:hover {
    border-color: var(--theme-color);
    background: var(--theme-light);
    transform: scale(1.1);
}

.scramble-letter.selected {
    opacity: 0.3;
    cursor: default;
}

.scramble-answer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 60px;
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    border: 2px solid var(--theme-color);
}

.scramble-answer-letter {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-color);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.scramble-answer-letter:hover {
    background: var(--theme-dark);
    transform: scale(1.1);
}

.scramble-feedback {
    padding: 0;
    margin: var(--space-md) 0;
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.scramble-feedback.show {
    padding: var(--space-md) var(--space-lg);
    opacity: 1;
    max-height: 100px;
}

.scramble-feedback.correct {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    color: #2e7d32;
}

.scramble-feedback.incorrect {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    color: #c62828;
}

.scramble-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.scramble-clear,
.scramble-submit {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.scramble-clear {
    background: var(--bg-accent);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
}

.scramble-clear:hover {
    border-color: var(--theme-color);
    background: var(--theme-light);
}

.scramble-submit {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-dark) 100%);
    border: none;
    color: white;
}

.scramble-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scramble-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease;
}

/* ===== Hangman Game ===== */
.hangman-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hangman-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.hangman-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.hangman-hint {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-accent);
    border-radius: var(--radius-md);
}

.hangman-word {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hangman-letter {
    width: 48px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-bottom: 3px solid var(--theme-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hangman-keyboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.hangman-key {
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.hangman-key:hover:not(.used) {
    border-color: var(--theme-color);
    background: var(--theme-light);
    transform: scale(1.1);
}

.hangman-key.correct {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    color: #2e7d32;
}

.hangman-key.wrong {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #f44336;
    color: #c62828;
}

.hangman-key.used {
    opacity: 0.5;
    cursor: default;
}

.hangman-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease;
}

.hangman-result .quiz-btn {
    margin-top: var(--space-md);
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* ===== Matching Game ===== */
.matching-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.matching-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.matching-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.matching-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.matching-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.matching-item {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-accent);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.matching-item:hover:not(.matched):not(.selected) {
    border-color: var(--theme-color);
    background: var(--theme-light);
    transform: scale(1.02);
}

.matching-item.selected {
    border-color: var(--theme-color);
    background: var(--theme-light);
    box-shadow: 0 0 0 3px var(--theme-light);
}

.matching-item.matched {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    color: #2e7d32;
    cursor: default;
    animation: matchPop 0.3s ease;
}

@keyframes matchPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.matching-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    animation: fadeInUp 0.5s ease;
}

/* ===== Memory Game ===== */
.memory-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.memory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.memory-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.memory-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-dark) 100%);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: var(--space-xs);
    position: relative;
    transform-style: preserve-3d;
}

.memory-card::before {
    content: '?';
    font-size: 1.5rem;
}

.memory-card:hover:not(.flipped):not(.matched) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.memory-card.flipped,
.memory-card.matched {
    background: var(--bg-accent);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.memory-card.flipped::before,
.memory-card.matched::before {
    content: none;
}

.memory-card.matched {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    cursor: default;
}

.memory-result {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    animation: fadeInUp 0.5s ease;
}

/* ===== Enhanced Typing Game ===== */
.typing-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.typing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--theme-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.typing-header > div {
    font-weight: 600;
    color: var(--theme-color);
}

.typing-prompt {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.typing-albanian {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--theme-color);
}

.typing-instruction {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.typing-input {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1.2rem;
    font-family: inherit;
    text-align: center;
    transition: all 0.2s ease;
    margin-bottom: var(--space-md);
}

.typing-input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-light);
}

.typing-input.correct {
    border-color: #4caf50;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.typing-input.incorrect {
    border-color: #f44336;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}
