/* 全局样式重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD93D;
    --primary-dark: #F5C800;
    --primary-light: #FFF3B0;
    --secondary-color: #FF8C42;
    --accent-color: #6BCB77;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FFFEF7;
    --bg-cream: #FFF9E6;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

/* 儿童友好的按钮样式 */
.btn-child-friendly {
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-child-friendly:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 儿童友好的输入框样式 */
.child-friendly-input {
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 1rem;
    background: var(--white);
}

.child-friendly-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 儿童友好的卡片样式 */
.child-friendly-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

/* 简洁标题 */
.rainbow-title {
    color: var(--text-dark);
    font-weight: 700;
}

/* 欢迎页面样式 */
.welcome {
    padding: 100px 0 60px;
    background: var(--bg-cream);
    min-height: 100vh;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.welcome-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    border-radius: 16px;
    filter: brightness(1.15) saturate(1.1);
    mix-blend-mode: darken;
}

.hide {
    display: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* 创作页面样式 - 聊天界面 */
.create {
    padding: 70px 0 20px;
    background: var(--bg-cream);
    min-height: 100vh;
}

.chat-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 90px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--bg-light);
}

/* 消息气泡样式 */
.message {
    display: flex;
    gap: 0.6rem;
    animation: messageIn 0.2s ease;
}

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

.message.assistant {
    flex-direction: row;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message.assistant .message-avatar {
    background: var(--primary-light);
}

.message.user .message-avatar {
    background: var(--accent-color);
}

.message-content {
    max-width: 75%;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message.assistant .message-content {
    background: var(--white);
    border-bottom-left-radius: 4px;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.message.user .message-content {
    background: var(--primary-color);
    border-bottom-right-radius: 4px;
    color: var(--text-dark);
}

/* 输入区域 */
.chat-input-area {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--primary-light);
}

.input-wrapper {
    display: flex;
    gap: 0.6rem;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    resize: none;
    border: 2px solid var(--primary-light);
    border-radius: 16px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    min-height: 44px;
    max-height: 100px;
    background: var(--bg-light);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.input-buttons {
    display: flex;
    gap: 0.4rem;
}

.btn-voice {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.btn-voice:hover {
    transform: scale(1.05);
}

.btn-voice.recording {
    animation: pulse 1s infinite;
    background: #e74c3c;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.voice-hint {
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.6rem;
}

/* 语音播报按钮 */
.btn-speaker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.btn-speaker.active {
    opacity: 1;
}

.btn-speaker:hover {
    transform: scale(1.05);
}

/* 正在说话指示器 */
.speaking-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: var(--primary-light);
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.speaking-icon {
    font-size: 1.2rem;
    animation: soundWave 0.4s infinite alternate;
}

@keyframes soundWave {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.speaking-text {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-stop-speaking {
    background: #e74c3c;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    cursor: pointer;
    color: white;
}

/* 正在输入动画 */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--child-friendly-purple);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* 快捷操作按钮 */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.quick-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--child-friendly-blue);
    border-radius: 20px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: var(--child-friendly-blue);
    color: var(--white);
}

/* 作品集页面样式 */
.gallery {
    padding: 80px 0 40px;
    background: var(--bg-cream);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.story-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.story-image-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    font-size: 2.5rem;
}

.story-content {
    padding: 1rem;
}

.story-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.story-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 成品展示页面样式 */
.result {
    padding: 100px 0 50px;
    background: var(--bg-light);
}

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

.story-display {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.story-display h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 输入框和文本域样式 */
input[type="text"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    margin-bottom: 0.5rem;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 响应式设计调整 */
@media (max-width: 968px) {
    .creation-container {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .welcome-buttons {
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.footer-description {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .courses-grid,
    .features-grid,
    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 2rem 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card,
.feature-card,
.teacher-card {
    animation: fadeIn 0.5s ease-out;
}

/* ==================== Eva 新增样式 ==================== */

/* 能量显示 */
.energy-display {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--primary-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.energy-icon {
    font-size: 1rem;
}

.energy-value {
    font-size: 1rem;
}

/* 机器人头像大号 */
.robot-avatar-large {
    text-align: center;
    padding: 2rem;
}

.robot-body {
    font-size: 8rem;
    line-height: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.robot-energy-bar {
    width: 200px;
    height: 12px;
    background: var(--bg-cream);
    border-radius: 6px;
    margin: 1rem auto;
    overflow: hidden;
}

.energy-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    transition: width 0.5s ease;
}

.robot-energy-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 挑战卡片 */
.challenge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.challenge-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
}

.challenge-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.challenge-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.challenge-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.challenge-reward {
    display: inline-block;
    background: var(--primary-light);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 图片上传按钮 */
.btn-image {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #9b59b6;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-image:hover {
    transform: scale(1.05);
}

.btn-image.highlight {
    animation: pulse 0.8s ease-in-out 3;
    background: #e74c3c;
}

/* 图片预览区域 */
.image-preview-area {
    position: relative;
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: var(--bg-cream);
    border-radius: 8px;
}

.image-preview-area img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.btn-remove-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #e74c3c;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 图片消息 */
.message-image {
    padding: 0.5rem !important;
}

.message-image img {
    display: block;
    max-width: 200px;
    border-radius: 8px;
}

/* 输入区域提示和返回按钮 */
.input-hints {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-text:hover {
    background: var(--bg-cream);
    color: var(--text-dark);
}

/* 评估反馈弹窗 */
.assessment-popup {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1100;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.assessment-popup.show {
    opacity: 1;
    transform: translateX(0);
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary-color);
}

.popup-icon {
    font-size: 1.5rem;
}

.popup-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.popup-energy {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ==================== 家长后台样式 ==================== */

.parent-dashboard {
    padding: 100px 0 50px;
    background: var(--bg-light);
    min-height: 100vh;
}

.parent-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.parent-nav h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* 密码验证 */
.parent-auth {
    max-width: 400px;
    margin: 0 auto;
}

.auth-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.auth-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.auth-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.auth-card input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.5rem;
    border: 2px solid var(--bg-cream);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.auth-card input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* 词汇列表 */
.vocab-section,
.highlights-section,
.imagination-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.vocab-section h3,
.highlights-section h3,
.imagination-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.vocab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vocab-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.9rem;
}

.vocab-empty,
.highlight-empty {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* 精彩段落 */
.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    background: var(--bg-cream);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-dark);
    border-left: 3px solid var(--primary-color);
}

/* 想象力图表 */
.imagination-chart-container {
    max-width: 400px;
    margin: 0 auto 1rem;
}

.imagination-tips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.imagination-tips p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .challenge-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .parent-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .imagination-tips {
        grid-template-columns: 1fr;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .challenge-cards {
        grid-template-columns: 1fr;
    }
    
    .robot-body {
        font-size: 5rem;
    }
}
