/* ============================================
   VOCABIRISE v1.3 - ACTIVITY-FIRST LEARNING
   Professional, friendly, premium design
   ============================================ */

/* Activity Screen */
#activityScreen {
    display: none;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.activity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activity-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.activity-question {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.activity-situation {
    background: #f5f5f4;
    padding: 1.5rem;
    border-radius: 16px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2d2d2d;
    margin: 1.5rem 0;
    border-left: 4px solid #6366f1;
    font-style: italic;
}

.activity-prompt {
    font-size: 1rem;
    color: #525252;
    margin: 1rem 0;
    text-align: center;
}

.activity-sentence {
    background: #fafaf9;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 1.5rem 0;
    text-align: center;
    font-weight: 500;
}

.activity-statement {
    background: #fafaf9;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 1.5rem 0;
    font-style: italic;
}

.activity-hint {
    background: #fffbeb;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #78350f;
    margin: 1rem 0;
    border-left: 3px solid #fbbf24;
}

/* Activity Options */
.activity-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.activity-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.activity-option:hover {
    border-color: #8b8680;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activity-option.selected {
    background: linear-gradient(135deg, #f5f5f4 0%, #fafaf9 100%);
    border-color: #6366f1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f5f4;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
    flex-shrink: 0;
}

.activity-option.selected .option-letter {
    background: #6366f1;
    color: white;
}

.option-text {
    flex: 1;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.5;
}

/* Activity Actions */
.activity-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#submitActivityBtn {
    padding: 1rem 3rem;
    font-size: 1.0625rem;
}

#submitActivityBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Activity Feedback */
.activity-feedback {
    text-align: center;
    padding: 3rem 2rem;
    animation: feedbackEntrance 0.5s ease;
}

@keyframes feedbackEntrance {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feedback-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.activity-feedback.correct .feedback-icon {
    color: #16a34a;
}

.activity-feedback.incorrect .feedback-icon {
    color: #dc2626;
}

.activity-feedback h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.activity-feedback.correct h3 {
    color: #16a34a;
}

.activity-feedback.incorrect h3 {
    color: #dc2626;
}

.activity-feedback p {
    font-size: 1.125rem;
    color: #525252;
    margin: 0 0 2rem 0;
}

/* Word Reveal Card */
#wordRevealCard {
    display: none;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.word-reveal-header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.reveal-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    color: #6366f1;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#wordMeaningSimple {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #2d2d2d;
    margin: 1rem 0;
    font-weight: 400;
}

#wordExample {
    background: #fffbeb;
    padding: 1.25rem;
    border-radius: 14px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #78350f;
    margin: 1.5rem 0;
    border-left: 4px solid #fbbf24;
}

/* Progress Indicator */
#dailyProgressText {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

/* Daily Mastery Screen */
#dailyMasteryScreen {
    display: none;
}

.mastery-header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.mastery-header h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.mastery-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

#masteryQuestionNumber {
    text-align: center;
    font-size: 0.9375rem;
    color: #525252;
    margin-bottom: 1rem;
}

/* Daily Completion Screen */
#dailyCompletionScreen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
}

.completion-celebration {
    font-size: 6rem;
    margin-bottom: 1rem;
    animation: celebrationBounce 1s ease infinite;
}

@keyframes celebrationBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.completion-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.completion-subtitle {
    font-size: 1.25rem;
    color: #525252;
    margin: 0 0 2rem 0;
}

.completion-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.completion-stat {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: #525252;
    margin-top: 0.5rem;
}

.completion-actions {
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #activityScreen,
    #wordRevealCard {
        padding: 1rem;
    }
    
    .activity-question {
        font-size: 1.375rem;
    }
    
    .activity-situation,
    .activity-sentence,
    .activity-statement {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .activity-option {
        padding: 1rem;
    }
    
    .option-letter {
        width: 36px;
        height: 36px;
        font-size: 0.9375rem;
    }
    
    .option-text {
        font-size: 0.9375rem;
    }
    
    #dailyProgressText {
        position: static;
        width: 100%;
        text-align: center;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .completion-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .completion-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Simple English Emphasis */
.simple-meaning {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d2d2d;
}

/* Friendly but Professional Tone */
.encouragement-text {
    color: #16a34a;
    font-weight: 500;
}

.learning-tip {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
    color: #1e40af;
    font-size: 0.9375rem;
    margin: 1rem 0;
}
