/* ================================
   UpLift Learning Hub Styles
   Kid-Friendly & Colorful Design
   ================================ */

:root {
    --color-math: #ff6b6b;
    --color-science: #4ecdc4;
    --color-sst: #95e1d3;
    --color-common: #ffd93d;
    --color-success: #6bcf7f;
    --color-error: #ff6b6b;
}

/* Main Layout */
.learning-main {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
}

.learning-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: slideDown 0.5s ease;
}

.hero-section h1 {
    font-family: 'Comic Neue', cursive;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    color: #666;
}

/* Subject Tabs */
.subject-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    background: white;
    border: 3px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tab-btn i {
    width: 24px;
    height: 24px;
}

.tab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.tab-btn[data-subject="math"]:hover,
.tab-btn[data-subject="math"].active {
    background: var(--color-math);
    border-color: var(--color-math);
}

.tab-btn[data-subject="science"]:hover,
.tab-btn[data-subject="science"].active {
    background: var(--color-science);
    border-color: var(--color-science);
}

.tab-btn[data-subject="sst"]:hover,
.tab-btn[data-subject="sst"].active {
    background: var(--color-sst);
    border-color: var(--color-sst);
    color: #333;
}

.tab-btn[data-subject="common-sense"]:hover,
.tab-btn[data-subject="common-sense"].active {
    background: var(--color-common);
    border-color: var(--color-common);
    color: #333;
}

/* Difficulty Selector */
.difficulty-selector {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

.difficulty-selector label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 1rem;
}

.difficulty-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.diff-btn {
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    background: #f8f9fa;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.diff-btn .emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.diff-btn span:not(.emoji) {
    display: block;
    font-weight: 600;
    color: #333;
}

.diff-btn small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.diff-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.diff-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.diff-btn.active span:not(.emoji),
.diff-btn.active small {
    color: white;
}

/* Mode Cards */
.mode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mode-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.mode-card i {
    width: 48px;
    height: 48px;
    color: #667eea;
    margin-bottom: 1rem;
}

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.mode-card p {
    color: #666;
    margin-bottom: 1rem;
}

.mode-card .count {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
}

.mode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Content Area */
.content-area {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    min-height: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
    transition: all 0.3s ease;
}

.content-area.updating {
    opacity: 0.5;
    transform: scale(0.98);
}

.welcome-message {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.welcome-message i {
    width: 64px;
    height: 64px;
    color: #ffd93d;
    margin-bottom: 1rem;
}

.welcome-message h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.story-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.story-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.story-card .story-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.story-card .badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.beginner { background: #d4edda; color: #155724; }
.badge.intermediate { background: #fff3cd; color: #856404; }
.badge.expert { background: #f8d7da; color: #721c24; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.close-btn i {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 2rem;
}

/* Story Modal */
.story-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Comic Neue', cursive;
}

.audio-controls {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.audio-btn {
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.speed-control {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.speed-control label {
    font-weight: 600;
    color: #333;
}

.speed-control button {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.speed-control button:hover,
.speed-control button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Story Questions */
.story-questions {
    margin-top: 2rem;
}

.story-questions h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.question-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.question-item p {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.question-item .options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-btn {
    padding: 0.75rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.option-btn:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.option-btn.correct {
    background: var(--color-success);
    color: white;
    border-color: var(--color-success);
}

.option-btn.wrong {
    background: var(--color-error);
    color: white;
    border-color: var(--color-error);
}

/* Quiz Modal */
.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.quiz-progress span {
    font-weight: 600;
    font-size: 1rem;
}

.question-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.question-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-option-btn {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.quiz-option-btn:hover:not(:disabled) {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateX(5px);
}

.quiz-option-btn:disabled {
    cursor: not-allowed;
}

.quiz-option-btn.correct {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
    font-weight: 600;
}

.quiz-option-btn.wrong {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
    font-weight: 600;
}

.quiz-result {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
}

.quiz-result h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.quiz-result .result-emoji {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.quiz-result p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quiz-result button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.quiz-result button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Quiz Intro */
.quiz-intro {
    text-align: center;
    padding: 3rem 2rem;
}

.quiz-intro .quiz-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.quiz-intro h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.quiz-intro p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.quiz-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.quiz-stats .stat {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 120px;
}

.quiz-stats .stat span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.quiz-stats .stat small {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.start-quiz-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: #e0e0e0;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Progress Section */
.progress-dashboard {
    padding: 2rem;
}

.progress-dashboard h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.progress-stat {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.progress-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.progress-stat .stat-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.progress-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-bottom: 0.5rem;
}

.progress-stat .stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Story Complete Button */
.story-complete-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.story-complete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.badges-section {
    margin-top: 2rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.badge-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: scale(1.05);
}

.badge-item .badge-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.badge-item .badge-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.badge-item.locked {
    opacity: 0.4;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== Dashboard Learning Hub Styles ========== */
.learning-hub-full .subject-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.learning-hub-full .subject-btn {
    flex: 1;
    min-width: 140px;
    padding: 1rem 0.75rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.learning-hub-full .subject-btn .subject-icon {
    font-size: 1.75rem;
}

.learning-hub-full .subject-btn span:not(.subject-icon) {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.learning-hub-full .subject-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.learning-hub-full .subject-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.learning-hub-full .subject-btn.active span {
    color: white;
}

.learning-hub-full .difficulty-selector {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.learning-hub-full .difficulty-selector label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 1rem;
}

.learning-hub-full .difficulty-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.learning-hub-full .diff-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem 0.75rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.learning-hub-full .diff-btn .emoji {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.learning-hub-full .diff-btn span:not(.emoji) {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.learning-hub-full .diff-btn small {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.learning-hub-full .diff-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.learning-hub-full .diff-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.learning-hub-full .diff-btn.active span:not(.emoji),
.learning-hub-full .diff-btn.active small {
    color: white;
}

.learning-hub-full .content-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.learning-hub-full .content-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.learning-hub-full .content-btn i {
    width: 24px;
    height: 24px;
    color: #667eea;
}

.learning-hub-full .content-btn span:not(.count) {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.learning-hub-full .content-btn .count {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #667eea;
    min-width: 35px;
}

.learning-hub-full .content-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.learning-hub-full .content-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.learning-hub-full .content-btn.active span:not(.count),
.learning-hub-full .content-btn.active i {
    color: white;
}

.learning-hub-full .content-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.learning-hub-full .learning-content-area {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.learning-hub-full .content-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.25rem;
}

.learning-hub-full .story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.learning-hub-full .story-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.learning-hub-full .story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.learning-hub-full .story-card .story-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.learning-hub-full .story-card .story-info h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.learning-hub-full .story-card .story-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.learning-hub-full .story-card .duration {
    display: inline-block;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .subject-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        min-width: 100%;
    }
    
    .difficulty-buttons {
        flex-direction: column;
    }
    
    .diff-btn {
        min-width: 100%;
    }
    
    .mode-cards {
        grid-template-columns: 1fr;
    }
    
    .story-text {
        font-size: 1.1rem;
    }
    
    .learning-hub-full .subject-selector {
        gap: 0.5rem;
    }
    
    .learning-hub-full .subject-btn {
        min-width: calc(50% - 0.25rem);
        padding: 0.875rem 0.5rem;
    }
    
    .learning-hub-full .subject-btn .subject-icon {
        font-size: 1.5rem;
    }
    
    .learning-hub-full .subject-btn span:not(.subject-icon) {
        font-size: 0.85rem;
    }
    
    .learning-hub-full .difficulty-selector {
        padding: 1rem;
    }
    
    .learning-hub-full .difficulty-selector label {
        font-size: 1rem;
    }
    
    .learning-hub-full .difficulty-buttons {
        gap: 0.5rem;
    }
    
    .learning-hub-full .diff-btn {
        min-width: 100%;
        padding: 0.875rem 0.5rem;
    }
    
    .learning-hub-full .diff-btn .emoji {
        font-size: 1.5rem;
    }
    
    .learning-hub-full .diff-btn span:not(.emoji) {
        font-size: 0.875rem;
    }
    
    .learning-hub-full .diff-btn small {
        font-size: 0.75rem;
    }
    
    .learning-hub-full .content-type-selector {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .learning-hub-full .content-btn {
        padding: 0.875rem 0.5rem;
    }
    
    .learning-hub-full .content-btn span:not(.count) {
        font-size: 0.85rem;
    }
    
    .learning-hub-full .content-btn .count {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
    
    .learning-hub-full .learning-content-area {
        padding: 1rem;
    }
    
    .learning-hub-full .content-header h3 {
        font-size: 1.1rem;
    }
    
    .learning-hub-full .story-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .learning-hub-full .story-card {
        padding: 1rem;
    }
    
    .learning-hub-full .story-card .story-emoji {
        font-size: 2rem;
    }
    
    .learning-hub-full .story-card .story-info h4 {
        font-size: 1rem;
    }
    
    .learning-hub-full .story-card .story-info p {
        font-size: 0.85rem;
    }
}
