/* 培训页面专用样式 */

/* 页面布局 */
.training-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.training-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 用户仪表板 */
.user-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-profile {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.user-info h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.user-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.login-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.online-status {
    color: #28a745;
    font-weight: 600;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* 学习仪表板 */
.learning-dashboard {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.dashboard-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    color: #666;
    border-bottom: 3px solid transparent;
}

.nav-btn:hover {
    background: #e9ecef;
}

.nav-btn.active {
    background: white;
    color: #667eea;
    border-bottom-color: #667eea;
}

.nav-btn i {
    font-size: 1.5rem;
}

.nav-btn span {
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-content {
    padding: 2rem;
}

.section-panel {
    display: none;
}

.section-panel.active {
    display: block;
}

/* 欢迎信息 */
.welcome-message {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.welcome-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.welcome-message p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 必学内容 */
.urgent-learning {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
}

.urgency-badge {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-badge {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.learning-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.learning-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.learning-card.urgent {
    border-left: 4px solid #dc3545;
}

.learning-card.recommended {
    border-left: 4px solid #667eea;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.course-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.course-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-tag.new {
    background: #d4edda;
    color: #155724;
}

.course-tag.update {
    background: #fff3cd;
    color: #856404;
}

.course-tag.related {
    background: #cce5ff;
    color: #004085;
}

.course-tag.weak {
    background: #f8d7da;
    color: #721c24;
}

.course-deadline {
    font-size: 0.8rem;
    color: #dc3545;
    font-weight: 600;
}

.recommendation-reason {
    font-size: 0.8rem;
    color: #666;
}

.course-content h5 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.course-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-progress {
    margin-bottom: 1.5rem;
}

.progress-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: block;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 600;
}

.course-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat i {
    color: #667eea;
}

.course-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.learn-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-btn.urgent {
    background: #dc3545;
    color: white;
}

.learn-btn.recommended {
    background: #667eea;
    color: white;
}

.learn-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.estimated-time {
    font-size: 0.9rem;
    color: #666;
}

/* AI推荐学习 */
.recommended-learning {
    margin-bottom: 3rem;
}

/* 学习计划 */
.learning-plan {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.customize-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.customize-btn:hover {
    background: #5a67d8;
}

.plan-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.plan-day {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.plan-day:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plan-day.completed {
    border-left: 4px solid #28a745;
    background: #f8fff8;
}

.plan-day.current {
    border-left: 4px solid #ffc107;
    background: #fffcf0;
}

.plan-day.pending {
    border-left: 4px solid #6c757d;
}

.day-label {
    min-width: 60px;
    font-weight: 600;
    color: #333;
}

.day-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.course-title {
    font-weight: 600;
    color: #333;
}

.completion-status {
    font-size: 0.9rem;
    font-weight: 600;
}

.day-duration {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* 考试中心 */
.exam-categories {
    margin-bottom: 2rem;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.category-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.exam-category-content {
    margin-top: 2rem;
}

.exam-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exam-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.exam-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.exam-icon {
    font-size: 2.5rem;
    color: #667eea;
}

.exam-info {
    flex: 1;
}

.exam-info h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.exam-info p {
    color: #666;
    line-height: 1.6;
}

.exam-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.exam-badge.required {
    background: #f8d7da;
    color: #721c24;
}

.exam-badge.optional {
    background: #cce5ff;
    color: #004085;
}

.exam-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #666;
}

.detail-item i {
    color: #667eea;
    font-size: 1.1rem;
}

.exam-actions {
    display: flex;
    gap: 1rem;
}

.exam-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.exam-btn.primary {
    background: #667eea;
    color: white;
}

.exam-btn.secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.exam-btn:hover {
    transform: translateY(-1px);
}

/* 考试模拟器 */
.exam-simulator {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    margin-top: 2rem;
}

.exam-simulator h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.simulator-interface {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.exam-progress-bar {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

#remainingTime {
    color: #dc3545;
    font-family: monospace;
    font-size: 1.2rem;
}

.question-container {
    margin-bottom: 2rem;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.question-type {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.question-score {
    color: #28a745;
    font-weight: 600;
}

.question-content h5 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.option input[type="radio"] {
    margin: 0;
}

.option-label {
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.option-text {
    flex: 1;
    color: #333;
    font-size: 1rem;
}

.exam-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #667eea;
    color: white;
}

.control-btn:hover {
    background: #5a67d8;
}

.control-btn.submit {
    background: #28a745;
}

.control-btn.submit:hover {
    background: #218838;
}

/* 学习进度 */
.progress-overview {
    margin-bottom: 3rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.card-icon {
    font-size: 3rem;
    color: #667eea;
}

.card-content {
    flex: 1;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 0.5rem;
}

.card-value .unit {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.card-label {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-progress {
    margin-bottom: 0.5rem;
}

.card-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-badge.excellent {
    background: #d4edda;
    color: #155724;
}

.course-breakdown {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* 技能评估 */
.skill-assessment {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 3rem;
}

.skill-assessment h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.radar-chart {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.radar-container {
    position: relative;
    width: 300px;
    height: 300px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-axis {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.axis-value {
    color: #667eea;
    font-weight: 700;
}

.skill-recommendations {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.skill-recommendations h5 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-recommendations ul {
    margin-left: 1.5rem;
}

.skill-recommendations li {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

/* 学习历史 */
.learning-history {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.learning-history h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-date {
    min-width: 100px;
    font-weight: 600;
    color: #667eea;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.timeline-details {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.timeline-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-status.completed {
    background: #d4edda;
    color: #155724;
}

/* 资源库 */
.resource-categories {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.resource-filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 250px;
}

.search-btn {
    padding: 0.6rem 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #5a67d8;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.resource-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.resource-icon {
    font-size: 2rem;
    color: #667eea;
}

.resource-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-end;
}

.resource-type {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e8f5e8;
    color: #155724;
}

.resource-date {
    font-size: 0.8rem;
    color: #999;
}

.resource-content h5 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.resource-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat i {
    color: #667eea;
}

.resource-actions {
    display: flex;
    gap: 0.8rem;
}

.resource-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.resource-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .training-main {
        padding: 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profile-stats {
        flex-wrap: wrap;
    }
    
    .learning-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-nav {
        flex-direction: column;
    }
    
    .nav-btn {
        flex-direction: row;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .avatar-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .course-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .plan-day {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .category-tabs {
        flex-direction: column;
    }
    
    .exam-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .exam-details {
        grid-template-columns: 1fr;
    }
    
    .exam-actions {
        flex-direction: column;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .exam-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .overview-card {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .resource-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .resource-filters {
        flex-wrap: wrap;
    }
    
    .search-box input {
        min-width: auto;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-actions {
        flex-direction: column;
    }
}

/* 动画效果 */
.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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