/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10a37f;
    --primary-dark: #0d8a6a;
    --secondary-color: #f59e0b;
    --accent-color: #8b5cf6;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --background: #0f172a;
    --surface: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.arabic-text {
    font-family: 'Amiri Quran', 'Traditional Arabic', serif;
    font-size: 2rem;
    direction: rtl;
    line-height: 2;
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== APP CONTAINER ===== */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.header {
    background: var(--surface);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex: 1;
    text-align: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--background);
}

.icon-btn:active {
    transform: scale(0.95);
}

/* Progress Bar */
.progress-bar-container {
    padding: 0 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--background);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 999px;
    transition: width 0.5s ease;
    width: 0;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 40px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 1.5rem;
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 2rem;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.hero-section p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== STATS CONTAINER ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== SECTIONS ===== */
.section {
    margin-bottom: 2rem;
}

.section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ===== LEVEL GRID ===== */
.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.level-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.level-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.level-card.locked:hover {
    transform: none;
}

.level-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.level-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.level-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.level-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
}

/* ===== CARDS ===== */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card.clickable {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.page-header p {
    color: var(--text-secondary);
}

/* ===== LESSONS ===== */
.lessons-container {
    display: grid;
    gap: 1rem;
}

.lesson-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lesson-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lesson-item.completed {
    border-left: 4px solid var(--success-color);
}

.lesson-item.practice-item {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--primary-color);
}

.lesson-item.practice-item:hover {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.15), rgba(139, 92, 246, 0.15));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.lesson-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.lesson-info {
    flex: 1;
}

.lesson-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.lesson-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.lesson-status {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===== LESSON DETAIL ===== */
.lesson-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.lesson-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.lesson-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary-dark);
}

.lesson-content {
    display: grid;
    gap: 1.5rem;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.character-card {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.character-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.character {
    font-family: 'Amiri Quran', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.character-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.play-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn.loading {
    pointer-events: none;
}

.play-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.play-btn.playing {
    background: var(--success-color);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== LESSON CONTROLS ===== */
.lesson-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--background);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn:active {
    transform: scale(0.98);
}

/* ===== MAKHARIJUL HURUF ===== */
.makhraj-diagram {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    text-align: center;
}

.makhraj-diagram img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.makhraj-info {
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.makhraj-list {
    display: grid;
    gap: 1rem;
}

.makhraj-item {
    padding: 1.5rem;
}

.makhraj-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.makhraj-item p {
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--primary-dark);
}

/* ===== TAJWEED ===== */
.tajweed-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.tajweed-card {
    padding: 1.5rem;
    cursor: pointer;
}

.tajweed-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tajweed-detail {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.3s ease;
}

.tajweed-detail h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tajweed-rule {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tajweed-rule:last-child {
    border-bottom: none;
}

.tajweed-rule h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tajweed-example {
    background: var(--background);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 0.75rem;
}

/* ===== QUIZ ===== */
.quiz-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quiz-type-card {
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

.quiz-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quiz-type-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.quiz-question-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.quiz-question-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.quiz-options {
    display: grid;
    gap: 1rem;
}

.quiz-option {
    padding: 1.25rem;
    background: var(--background);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.125rem;
    text-align: center;
}

.quiz-option:hover {
    border-color: var(--primary-color);
    background: var(--surface);
}

.quiz-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quiz-option.correct {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
}

.quiz-option.wrong {
    border-color: var(--error-color);
    background: var(--error-color);
    color: white;
}

.quiz-feedback {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-feedback.correct {
    background: var(--success-color);
    color: white;
}

.quiz-feedback.wrong {
    background: var(--error-color);
    color: white;
}

.quiz-result {
    max-width: 500px;
    margin: 0 auto;
}

.result-card {
    padding: 3rem 2rem;
    text-align: center;
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.result-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.result-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.side-menu.open {
    right: 0;
}

.side-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.menu-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.menu-nav {
    flex: 1;
    padding: 1rem 0;
}

.menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.menu-nav a:hover {
    background: var(--background);
}

.menu-nav hr {
    margin: 1rem 1.5rem;
    border: none;
    border-top: 1px solid var(--border-color);
}

.menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.donasi-support {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.donasi-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.donasi-item {
    flex: 1 1 180px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.donasi-item b {
    color: var(--primary-color);
    font-size: 1.1rem;
}
.donasi-item span {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--accent-color);
}
.donasi-item small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.donasi-item .btn {
    margin-top: 0.5rem;
    width: 100%;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}
@media (max-width: 600px) {
    .donasi-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .donasi-item {
        padding: 1rem;
    }
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.25rem;
    }

    .hero-section {
        padding: 1.5rem 1rem;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .level-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .lesson-card {
        padding: 1.5rem;
    }

    .character-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .character {
        font-size: 2.5rem;
    }

    .lesson-controls {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .quiz-option {
        font-size: 1rem;
    }

    .side-menu {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .level-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tajweed-categories {
        grid-template-columns: 1fr;
    }

    .quiz-selection {
        grid-template-columns: 1fr;
    }
}

/* ===== PRINT STYLES ===== */
@media print {