/* 全局样式 - 刺客伍六七卡通主题 */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffd93d;
    --accent-color: #6c5ce7;
    --math-color: #ff7675;
    --chinese-color: #fd79a8;
    --english-color: #a29bfe;
    --light-color: #fff9e6;
    --dark-color: #2d3436;
    --gray-color: #636e72;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #ff7675;
    --shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 20px;
    --cartoon-border: 3px solid #2d3436;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #fff9e6 0%, #ffeaa7 100%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* 卡通按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border: var(--cartoon-border);
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    box-shadow: 4px 4px 0 #2d3436;
    position: relative;
    top: 0;
}

.btn:active {
    top: 2px;
    box-shadow: 2px 2px 0 #2d3436;
}

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

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    border: var(--cartoon-border);
    color: var(--primary-color);
    box-shadow: 4px 4px 0 #2d3436;
}

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

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    box-shadow: 3px 3px 0 #2d3436;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 5px 5px 0 #2d3436;
}

.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    font-weight: bold;
    text-shadow: 2px 2px 0 var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 3px;
    border: 2px solid #2d3436;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: var(--cartoon-border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
}

/* 导航栏 - 移动端优化 */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    border-bottom: var(--cartoon-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 1px 1px 0 var(--secondary-color);
}

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

.nav-menu a {
    position: relative;
    font-weight: bold;
    transition: var(--transition);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    border: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.welcome-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 2px solid #2d3436;
    box-shadow: 2px 2px 0 #2d3436;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0.5rem;
    background: white;
    border: var(--cartoon-border);
    border-radius: 10px;
    box-shadow: 2px 2px 0 #2d3436;
}

/* 英雄区域 - 移动端优化 */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 217, 61, 0.15) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 2rem 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="3" fill="%23ff6b6b" opacity="0.15"/><circle cx="30" cy="40" r="4" fill="%23ffd93d" opacity="0.15"/><circle cx="70" cy="20" r="3" fill="%236c5ce7" opacity="0.15"/><circle cx="90" cy="60" r="4" fill="%23ff7675" opacity="0.15"/></svg>');
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 1rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border: var(--cartoon-border);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    border: 3px solid #2d3436;
}

.level-info h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
}

.level-info p {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin: 0;
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 0 var(--secondary-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.quick-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.stat-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    display: block;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-color);
    display: block;
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* 科目选择 - 移动端优化 */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.subject-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: var(--cartoon-border);
    position: relative;
    overflow: hidden;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.subject-card:hover::before {
    opacity: 1;
}

.subject-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
}

.subject-card.math { border-color: var(--math-color); }
.subject-card.chinese { border-color: var(--chinese-color); }
.subject-card.english { border-color: var(--english-color); }

.subject-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid #2d3436;
}

.math .subject-icon { background: rgba(255, 118, 117, 0.15); color: var(--math-color); }
.chinese .subject-icon { background: rgba(253, 121, 168, 0.15); color: var(--chinese-color); }
.english .subject-icon { background: rgba(162, 155, 254, 0.15); color: var(--english-color); }

.subject-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.math h3 { color: var(--math-color); }
.chinese h3 { color: var(--chinese-color); }
.english h3 { color: var(--english-color); }

.subject-card p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.progress-bar {
    background: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 2px solid #2d3436;
}

.progress {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.math .progress { background: var(--math-color); }
.chinese .progress { background: var(--chinese-color); }
.english .progress { background: var(--english-color); }

.progress-text {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-weight: bold;
}

/* 推荐练习 - 移动端优化 */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.recommend-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: var(--cartoon-border);
}

.recommend-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    border: 2px solid #2d3436;
}

.recommend-tag.weak { background: var(--danger-color); }
.recommend-tag.daily { background: var(--warning-color); color: var(--dark-color); }
.recommend-tag.review { background: var(--primary-color); }

.recommend-card h4 {
    margin: 1.5rem 0 0.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.recommend-card p {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* 成就系统 */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.achievement-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: var(--cartoon-border);
}

.achievement-card.unlocked {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, #fff, #fff9e6);
}

.achievement-card.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.achievement-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-weight: bold;
}

.achievement-card p {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* 学习计划 - 移动端优化 */
.plan-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.plan-week {
    display: flex;
    gap: 0.8rem;
    min-width: max-content;
    padding: 1rem 0;
}

.plan-day {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    min-width: 150px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: var(--cartoon-border);
}

.plan-day.today {
    border-color: var(--primary-color);
    border-width: 4px;
    transform: scale(1.05);
    background: linear-gradient(135deg, #fff, #fff0f0);
}

.plan-day:hover {
    transform: translateY(-5px);
}

.day-name {
    display: block;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.day-date {
    display: block;
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.plan-tasks {
    text-align: left;
}

.task {
    padding: 0.4rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.task.done {
    background: rgba(0, 184, 148, 0.15);
    color: var(--success-color);
}

.task.active {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-color);
}

.task i {
    font-size: 0.65rem;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0 1rem;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.footer-info p {
    color: #b2bec3;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b2bec3;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.copyright {
    text-align: center;
    padding-top: 1rem;
    color: #b2bec3;
    font-size: 0.8rem;
}

/* 题目页面样式 - 移动端优化 */
.question-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.question-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: var(--cartoon-border);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--light-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.question-type {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 2px solid #2d3436;
}

.question-progress {
    font-weight: bold;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.question-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.options-list {
    list-style: none;
}

.option-item {
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 3px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: white;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
}

.option-item:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.05);
}

.option-item.selected {
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.15);
}

.option-item.correct {
    border-color: var(--success-color);
    background: rgba(0, 184, 148, 0.15);
}

.option-item.incorrect {
    border-color: var(--danger-color);
    background: rgba(255, 118, 117, 0.15);
}

.option-label {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-color);
    text-align: center;
    line-height: 30px;
    margin-right: 0.8rem;
    font-weight: bold;
    border: 2px solid #2d3436;
}

.question-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.question-actions .btn {
    flex: 1;
    min-width: 100px;
}

/* 筛选器 - 移动端优化 */
.filter-bar {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border: var(--cartoon-border);
}

.filter-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group label {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.6rem 0.8rem;
    border: 3px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    background: white;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d3436' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.5rem;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 错题本样式 */
.mistake-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--danger-color);
    border: var(--cartoon-border);
}

.mistake-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mistake-subject {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #2d3436;
}

.mistake-subject.math { background: rgba(255, 118, 117, 0.15); color: var(--math-color); }
.mistake-subject.chinese { background: rgba(253, 121, 168, 0.15); color: var(--chinese-color); }
.mistake-subject.english { background: rgba(162, 155, 254, 0.15); color: var(--english-color); }

.mistake-date {
    color: var(--gray-color);
    font-size: 0.85rem;
}

.mistake-content {
    margin-bottom: 1rem;
}

.mistake-analysis {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 2px solid #2d3436;
}

.mistake-analysis h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.mistake-analysis p {
    color: var(--dark-color);
    line-height: 1.6;
}

/* 统计图表 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stat-chart-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: var(--cartoon-border);
}

.stat-chart-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 3rem;
}

.loading-spinner {
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 提示框 - 移动端优化 */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 2000;
    animation: slideUp 0.3s ease;
    border: 3px solid #2d3436;
    font-weight: bold;
    max-width: 90%;
    text-align: center;
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--danger-color);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* ========== 移动端响应式优化 ========== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 80%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .user-info {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .profile-badge {
        flex-direction: column;
        padding: 0.8rem;
    }
    
    .avatar {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .level-info h2 {
        font-size: 1.1rem;
    }
    
    .quick-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 200px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .subject-grid,
    .recommend-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .subject-card {
        padding: 1.2rem;
    }
    
    .subject-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .question-card {
        padding: 1rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .option-item {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .question-actions {
        flex-direction: column;
    }
    
    .question-actions .btn {
        width: 100%;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .plan-day {
        min-width: 130px;
        padding: 0.8rem;
    }
    
    .day-name {
        font-size: 0.85rem;
    }
    
    .task {
        font-size: 0.75rem;
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 0.8rem 1rem;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* 打印样式 */
@media print {
    header, footer, .filter-bar, .question-actions {
        display: none;
    }
    
    .question-card {
        box-shadow: none;
        border: 2px solid #000;
    }
}
