/* style_prosa.css - SUPER WOW VERSION */

/* === VARIABLES & RESET === */
:root {
    --primary: #1e3c72;
    --primary-dark: #0f1c3d;
    --primary-light: #2a5298;
    --secondary: #ff6b6b;
    --secondary-light: #ff8e53;
    --accent: #10b981;
    --warning: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Night Mode Variables */
body.night-mode {
    --text: #e5e7eb;
    --text-light: #9ca3af;
    --bg: #111827;
    --bg-card: #1f2937;
    --border: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === FLOATING PROGRESS === */
.floating-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(30, 60, 114, 0.1);
    z-index: 10000;
}

.progress-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.progress-indicator {
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    transition: width 0.6s ease;
    position: relative;
}

.progress-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === HERO SECTION WOW === */
.prosa-hero-wow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: -50px;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.prosa-hero-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Modern */
.prosa-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: white;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Header Wow */
.prosa-header-wow {
    text-align: center;
    margin-bottom: 3rem;
}

.fasal-badge-wow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}

.badge-subtitle {
    font-size: 1rem;
    font-weight: 600;
}

.prosa-title-wow {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.title-arabic {
    display: block;
    font-family: 'Scheherazade New', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 2.5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-meta {
    display: block;
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Quick Actions */
.prosa-quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* === STICKY NAVIGATION === */
.prosa-sticky-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.prosa-sticky-nav.sticky {
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

body.night-mode .prosa-sticky-nav.sticky {
    background: rgba(31, 41, 55, 0.95);
}

.sticky-nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 0;
}

.nav-section {
    display: flex;
    align-items: center;
}

.nav-section:first-child {
    justify-content: flex-start;
}

.nav-section:last-child {
    justify-content: flex-end;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-btn:hover {
    background: var(--bg);
    border-color: var(--border);
    transform: translateY(-1px);
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-home {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.nav-home:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-1px);
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-desc {
    font-size: 0.9rem;
    font-weight: 600;
}

/* === CONTENT TABS === */
.prosa-content-wow {
    padding: 3rem 0;
}

.content-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    color: var(--text);
    background: var(--bg);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === CONTENT SECTIONS === */
.content-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.content-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    flex: 1;
}

.section-action {
    background: var(--bg);
    border: 1px solid var(--border);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-action:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Arabic Text Wow */
.arabic-text-wow {
    font-family: 'Scheherazade New', serif;
    font-size: 2.5rem;
    line-height: 2;
    text-align: right;
    color: var(--text);
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    border-left: 4px solid var(--secondary);
}

body.night-mode .arabic-text-wow {
    background: linear-gradient(135deg, #1f2937, #374151);
}

/* Latin Text Wow */
.latin-text-wow {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text);
    padding: 2rem;
    background: var(--bg);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
    font-style: italic;
}

/* Translation Text Wow */
.translation-text-wow {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text);
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 15px;
    border-left: 4px solid var(--warning);
}

body.night-mode .translation-text-wow {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
}

/* Audio Player Wow */
.audio-player-wow {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.audio-player-wow audio {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
}

.audio-controls {
    display: flex;
    gap: 1rem;
}

.audio-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
}

/* Syarah Text Wow */
.syarah-text-wow {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    padding: 2rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

body.night-mode .syarah-text-wow {
    background: linear-gradient(135deg, #064e3b, #065f46);
}

/* Keypoints Grid */
.keypoints-grid {
    display: grid;
    gap: 1.5rem;
}

.keypoint-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.keypoint-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.keypoint-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.keypoint-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

/* Vocabulary Grid */
.vocabulary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.vocab-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.vocab-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.vocab-term {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Scheherazade New', serif;
}

.vocab-meaning {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
}

/* Examples Grid */
.examples-grid {
    display: grid;
    gap: 2rem;
}

.example-card {
    background: var(--bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.example-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-title {
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
}

.example-content {
    padding: 2rem;
}

.example-arabic {
    font-family: 'Scheherazade New', serif;
    font-size: 1.8rem;
    text-align: right;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text);
    padding: 1rem;
    background: rgba(30, 60, 114, 0.05);
    border-radius: 8px;
}

.example-explanation {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.example-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}

/* Practice Section */
.practice-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.practice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.practice-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.practice-badge {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.quiz-question {
    margin-bottom: 2rem;
}

.quiz-question h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quiz-option:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.quiz-option input {
    display: none;
}

.option-text {
    font-size: 1rem;
    color: var(--text);
    flex: 1;
}

.writing-prompt {
    margin-bottom: 2rem;
}

.writing-prompt p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.writing-area {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Scheherazade New', serif;
    background: var(--bg);
    color: var(--text);
    resize: vertical;
    transition: all 0.3s ease;
}

.writing-area:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.practice-actions, .writing-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
}

/* === BOTTOM NAVIGATION === */
.prosa-bottom-nav {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 3rem;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.completion-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.completion-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

.completion-btn {
    background: linear-gradient(135deg, var(--accent), #34d399);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.completion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.social-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn.whatsapp { background: #25D366; }
.social-btn.telegram { background: #0088cc; }
.social-btn.twitter { background: #1DA1F2; }

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* === FLOATING ACTION MENU === */
.floating-action-menu {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-main:hover {
    transform: scale(1.1);
}

.fab-main.active {
    transform: rotate(45deg);
}

.fab-items {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-items.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.fab-item {
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border: none;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.fab-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-5px);
}

/* === NOTIFICATIONS === */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: var(--accent);
}

.notification.info {
    border-left-color: var(--primary);
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: var(--accent);
}

.notification.info i {
    color: var(--primary);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .prosa-title-wow {
        font-size: 2rem;
    }
    
    .title-arabic {
        font-size: 2.2rem;
    }
    
    .sticky-nav-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-section {
        justify-content: center !important;
    }
    
    .content-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .arabic-text-wow {
        font-size: 1.8rem;
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .audio-player-wow {
        flex-direction: column;
        align-items: stretch;
    }
    
    .audio-player-wow audio {
        min-width: auto;
    }
    
    .bottom-nav-content {
        flex-direction: column;
        text-align: center;
    }
    
    .vocabulary-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-action-menu {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fab-items {
        right: -50px;
    }
}

@media (max-width: 480px) {
    .prosa-hero-wow {
        padding: 2rem 0 3rem;
    }
    
    .fasal-badge-wow {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .prosa-quick-actions {
        gap: 0.5rem;
    }
    
    .quick-action-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .practice-actions, .writing-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* === PRINT STYLES === */
@media print {
    .floating-progress,
    .prosa-sticky-nav,
    .prosa-bottom-nav,
    .floating-action-menu,
    .quick-action-btn,
    .section-action {
        display: none !important;
    }
    
    .prosa-hero-wow {
        background: white !important;
        color: black !important;
        padding: 1rem 0 !important;
    }
    
    .content-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}


/* === LATIHAN SECTION ENHANCEMENT === */
.section-stats {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    background: linear-gradient(135deg, var(--accent), #34d399);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.practice-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.practice-title h3 {
    margin-bottom: 0;
}

.practice-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.level-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.level-badge.level-dasar {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.level-badge.level-menengah {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.level-badge.level-lanjutan {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}

.type-badge {
    background: var(--bg);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

.practice-points {
    display: flex;
    align-items: center;
}

.points {
    color: var(--warning);
    font-size: 1.2rem;
}

.question-arabic {
    font-family: 'Scheherazade New', serif;
    font-size: 1.5rem;
    text-align: right;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(30, 60, 114, 0.05);
    border-radius: 8px;
    border-right: 3px solid var(--primary);
}

.quiz-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quiz-option:hover::before {
    transform: scaleX(1);
}

.quiz-option:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(30, 60, 114, 0.05);
}

.quiz-option.selected::before {
    transform: scaleX(1);
}

.quiz-option.correct {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.quiz-option.incorrect {
    border-color: var(--secondary);
    background: rgba(239, 68, 68, 0.1);
}

.option-letter {
    width: 30px;
    height: 30px;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quiz-option.selected .option-letter {
    background: var(--primary);
    color: white;
}

.quiz-option.correct .option-letter {
    background: var(--accent);
    color: white;
}

.quiz-option.incorrect .option-letter {
    background: var(--secondary);
    color: white;
}

.option-text {
    flex: 1;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.4;
}

.answer-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.correct-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.incorrect-icon {
    color: var(--secondary);
    font-size: 1.2rem;
}

.feedback-text {
    font-weight: 600;
    color: var(--text);
}

.feedback-correct {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent);
}

.feedback-incorrect {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--secondary);
}

.practice-summary {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-stats {
    display: flex;
    gap: 2rem;
}

.summary-stats .stat {
    text-align: center;
}

.summary-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.summary-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.summary-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.no-practice {
    text-align: center;
    padding: 3rem 2rem;
}

.no-practice-icon {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 1.5rem;
}

.no-practice h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.no-practice p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Practice */
@media (max-width: 768px) {
    .practice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .practice-points {
        align-self: flex-end;
    }
    
    .summary-header {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-stats {
        justify-content: center;
    }
    
    .quiz-option {
        padding: 1rem;
    }
    
    .option-text {
        font-size: 0.9rem;
    }
}


/* === QUIZ FIXES - PASTI JALAN === */
.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(30, 60, 114, 0.05);
}

/* SELECTED STATE - PASTI KELIHATAN */
.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(30, 60, 114, 0.1);
    transform: translateX(5px);
}

.quiz-option.selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
}

.quiz-option.selected .option-letter {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* CORRECT/INCORRECT STATES */
.quiz-option.correct {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.15);
}

.quiz-option.incorrect {
    border-color: var(--secondary);
    background: rgba(239, 68, 68, 0.15);
}

.quiz-option.correct .option-letter {
    background: var(--accent);
    color: white;
}

.quiz-option.incorrect .option-letter {
    background: var(--secondary);
    color: white;
}

/* OPTION LETTER */
.option-letter {
    width: 35px;
    height: 35px;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* FEEDBACK STYLES */
.answer-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    animation: slideIn 0.3s ease;
}

.feedback-correct {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--accent);
    display: block !important;
}

.feedback-incorrect {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--secondary);
    display: block !important;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.correct-icon {
    color: var(--accent);
    font-size: 1.3rem;
}

.incorrect-icon {
    color: var(--secondary);
    font-size: 1.3rem;
}

.feedback-text {
    font-weight: 600;
    font-size: 1rem;
}

/* HIDE RADIO BUTTONS */
.quiz-option input[type="radio"] {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* TAMBAHIN DI style_prosa.css */
/* ANIMASI KHUSUS UNTUK JAWABAN BENAR */
@keyframes celebrate {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* FEEDBACK BENAR YANG LEBIH MENCOLOK */
.feedback-correct {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(34, 197, 94, 0.1));
    border: 2px solid var(--accent);
    display: block !important;
    animation: slideIn 0.5s ease;
}

.feedback-incorrect {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(248, 113, 113, 0.1));
    border: 2px solid var(--secondary);
    display: block !important;
    animation: shake 0.5s ease;
}

/* ANIMASI GEMETERAN KALO SALAH */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* OPTION BENAR LEBIH CANTIK */
.quiz-option.correct {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.15));
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.quiz-option.incorrect {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(248, 113, 113, 0.15));
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* FEEDBACK ICON LEBIH BESAR */
.correct-icon {
    color: var(--accent);
    font-size: 1.5rem;
    animation: bounce 0.6s ease;
}

.incorrect-icon {
    color: var(--secondary);
    font-size: 1.5rem;
    animation: shake 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* FEEDBACK TEXT LEBIH MENARIK */
.feedback-text {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}