* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-card: #2a2a2a;
    --color-primary: #ffd700;
    --color-secondary: #00bfff;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-status: #87ceeb;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* 星空背景容器 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* 第一层 - 白色星星 */
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 90px 10px, #fff, transparent),
        /* 第二层 - 金色星星 */
        radial-gradient(1px 1px at 160px 120px, rgba(255, 215, 0, 0.7), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 250px 160px, rgba(0, 191, 255, 0.5), transparent),
        radial-gradient(2px 2px at 280px 30px, #fff, transparent),
        /* 第三层 - 蓝色星星 */
        radial-gradient(1px 1px at 320px 100px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 350px 180px, rgba(255, 215, 0, 0.6), transparent),
        radial-gradient(2px 2px at 380px 60px, #fff, transparent),
        radial-gradient(1px 1px at 420px 140px, rgba(0, 191, 255, 0.6), transparent),
        radial-gradient(1px 1px at 450px 20px, rgba(255, 255, 255, 0.8), transparent),
        /* 第四层 - 更多星星 */
        radial-gradient(2px 2px at 480px 90px, #fff, transparent),
        radial-gradient(1px 1px at 520px 170px, rgba(255, 215, 0, 0.5), transparent),
        radial-gradient(1px 1px at 550px 40px, rgba(0, 191, 255, 0.7), transparent),
        radial-gradient(2px 2px at 580px 110px, rgba(255, 255, 255, 0.9), transparent),
        /* 第五层 - 细小星星 */
        radial-gradient(1px 1px at 620px 150px, #fff, transparent),
        radial-gradient(1px 1px at 650px 70px, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(2px 2px at 680px 130px, rgba(0, 191, 255, 0.6), transparent),
        radial-gradient(1px 1px at 720px 30px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 750px 90px, #fff, transparent),
        /* 第六层 - 更多混合星星 */
        radial-gradient(2px 2px at 780px 170px, rgba(255, 215, 0, 0.5), transparent),
        radial-gradient(1px 1px at 820px 50px, rgba(0, 191, 255, 0.8), transparent),
        radial-gradient(1px 1px at 850px 120px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 880px 10px, #fff, transparent);
    background-repeat: repeat;
    background-size: 900px 200px;
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* 星星闪烁动画 */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* 流星效果 */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow:
        0 0 10px 2px rgba(255, 255, 255, 0.3),
        0 0 20px 4px rgba(255, 215, 0, 0.2),
        0 0 30px 6px rgba(0, 191, 255, 0.1);
    animation: shooting-star 15s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

@keyframes shooting-star {
    0% {
        transform: translate(-100vw, -50vh) rotate(45deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    10% {
        transform: translate(100vw, 50vh) rotate(45deg);
        opacity: 0;
    }
    100% {
        transform: translate(100vw, 50vh) rotate(45deg);
        opacity: 0;
    }
}

.page {
    display: none;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.page.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 设置页面 */
.setup-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.title {
    font-size: 42px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.subtitle {
    font-size: 18px;
    color: var(--color-secondary);
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 30px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    background: var(--bg-card);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    color: var(--color-text);
    text-align: center;
}

.mode-selector {
    display: flex;
    gap: 15px;
}

.mode-btn {
    flex: 1;
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mode-btn:hover {
    background: #333;
}

.mode-btn.active {
    border-color: var(--color-primary);
    background: rgba(255, 215, 0, 0.1);
}

.mode-icon {
    font-size: 32px;
}

.mode-text {
    font-size: 16px;
}

.primary-btn {
    width: 100%;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    background: var(--color-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.primary-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* 每日打卡页面 */
.daily-container {
    max-width: 500px;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wave-icon {
    font-size: 20px;
    color: var(--color-primary);
}

.tip-text {
    font-size: 14px;
    color: var(--color-text);
}

.header-center {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.progress-current {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-primary);
}

.progress-total {
    font-size: 16px;
    color: var(--color-secondary);
}

.header-right {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.progress-bar-container {
    margin: 20px 0;
}

.progress-blocks {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.progress-block {
    width: 60px;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.progress-block-filled {
    background: var(--color-primary);
    height: 100%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--color-status);
}

.core-area {
    text-align: center;
    margin: 40px 0;
}

.core-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.robot-card {
    background: rgba(42, 42, 42, 0.85);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.robot-face {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.robot-eye {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: pulse 2s infinite;
}

.robot-eye.small {
    width: 25px;
    height: 25px;
}

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

.word-display {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.word-text {
    font-size: 24px;
    color: var(--color-text);
}

.status-bar {
    background: rgba(255, 215, 0, 0.1);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: center;
}

.status-text {
    font-size: 14px;
    color: var(--color-secondary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: none;
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: #333;
    transform: translateX(5px);
}

.action-btn .btn-icon {
    font-size: 20px;
}

.reset-count {
    color: var(--color-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.footer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(42, 42, 42, 0.85);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-primary);
    font-size: 16px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.footer-link:nth-child(2) {
    color: var(--color-secondary);
}

.footer-link:hover {
    background: #333;
    transform: translateX(5px);
}

.footer-link .arrow {
    font-size: 20px;
}

/* 学习页面 */
.learn-container {
    max-width: 600px;
    width: 100%;
}

.learn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.back-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.progress-indicator {
    font-size: 18px;
    color: var(--color-primary);
}

.learn-content {
    margin: 30px 0;
}

.word-input-card {
    background: rgba(42, 42, 42, 0.85);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.word-input-card input {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background: var(--bg-secondary);
    border: 2px solid #444;
    border-radius: 8px;
    color: var(--color-text);
    transition: var(--transition);
}

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

.add-btn {
    padding: 15px;
    font-size: 18px;
    background: var(--color-secondary);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.add-btn:hover {
    background: #00d4ff;
    transform: scale(1.02);
}

.today-words-list {
    margin-top: 30px;
}

.word-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(42, 42, 42, 0.85);
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.word-item-content {
    flex: 1;
}

.word-item-word {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 5px;
}

.word-item-meaning {
    font-size: 14px;
    color: var(--color-text-muted);
}

.word-item-delete {
    padding: 8px 12px;
    background: #ff4444;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.word-item-delete:hover {
    background: #ff6666;
}

/* 复习模式 */
.review-card {
    background: rgba(42, 42, 42, 0.85);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.review-word {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.review-meaning {
    font-size: 24px;
    color: var(--color-text-muted);
}

.review-buttons {
    display: flex;
    gap: 20px;
}

.review-btn {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.know-btn {
    background: #4CAF50;
    color: white;
}

.know-btn:hover {
    background: #5CBF60;
    transform: scale(1.05);
}

.dont-know-btn {
    background: var(--color-secondary);
    color: var(--bg-primary);
}

.dont-know-btn:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.complete-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    background: var(--color-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 30px;
}

.complete-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.complete-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 历史页面 */
.history-container {
    max-width: 700px;
    width: 100%;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.history-header h2 {
    font-size: 28px;
    color: var(--color-primary);
}

.history-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-btn:hover {
    background: #333;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    background: rgba(42, 42, 42, 0.85);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.history-item-content {
    flex: 1;
}

.history-item-word {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 5px;
}

.history-item-meaning {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.history-item-meta {
    font-size: 12px;
    color: var(--color-secondary);
}

.history-item-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-learning {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.status-mastered {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.hidden {
    display: none !important;
}

/* 词库信息 */
.vocab-info {
    background: rgba(42, 42, 42, 0.85);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.vocab-count {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.vocab-remaining {
    font-size: 16px;
    color: var(--color-secondary);
}

/* 筛选页面 */
.filter-container {
    max-width: 600px;
    width: 100%;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.filter-progress {
    font-size: 18px;
    color: var(--color-primary);
}

.filter-content {
    margin: 30px 0;
}

.filter-card {
    background: rgba(42, 42, 42, 0.85);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-word {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.filter-meaning {
    font-size: 24px;
    color: var(--color-text-muted);
}

.filter-instruction {
    text-align: center;
    margin: 30px 0;
    font-size: 18px;
    color: var(--color-text);
}

.filter-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.filter-btn {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.filter-btn .btn-icon {
    font-size: 32px;
}

.filter-btn .btn-hint {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.8;
}

.know-btn {
    background: #4CAF50;
    color: white;
}

.know-btn:hover {
    background: #5CBF60;
    transform: scale(1.05);
}

.familiar-btn {
    background: #FF9800;
    color: white;
}

.familiar-btn:hover {
    background: #FFAC33;
    transform: scale(1.05);
}

.dont-know-btn {
    background: var(--color-secondary);
    color: var(--bg-primary);
}

.dont-know-btn:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.filter-stats {
    background: rgba(42, 42, 42, 0.85);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 30px;
    backdrop-filter: blur(5px);
}

.filter-stats p {
    margin: 5px 0;
    font-size: 16px;
    color: var(--color-text-muted);
}

/* 今日单词页面 */
.today-container {
    max-width: 700px;
    width: 100%;
}

.today-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.today-header h2 {
    font-size: 28px;
    color: var(--color-primary);
}

.today-content {
    margin: 20px 0;
}

.today-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.word-item-meta {
    font-size: 12px;
    color: var(--color-secondary);
    margin-top: 5px;
}

/* 复习页面 */
.review-container {
    max-width: 600px;
    width: 100%;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.review-progress {
    font-size: 18px;
    color: var(--color-primary);
}

.review-content {
    margin: 30px 0;
}

.review-card {
    background: rgba(42, 42, 42, 0.85);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.review-word {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.show-meaning-btn {
    margin: 20px 0;
    padding: 10px 30px;
    background: var(--color-secondary);
    color: var(--bg-primary);
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.show-meaning-btn:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.review-meaning {
    font-size: 24px;
    color: var(--color-text-muted);
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.review-buttons {
    display: flex;
    gap: 20px;
}

.review-btn {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.review-btn .btn-icon {
    font-size: 32px;
}

.forgot-btn {
    background: #ff9800;
    color: white;
}

.forgot-btn:hover {
    background: #ffac33;
    transform: scale(1.05);
}

.remember-btn {
    background: #4CAF50;
    color: white;
}

.remember-btn:hover {
    background: #5CBF60;
    transform: scale(1.05);
}

/* 统计弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.modal-header h2 {
    font-size: 24px;
    color: var(--color-primary);
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.close-btn:hover {
    color: var(--color-primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(42, 42, 42, 0.85);
    border-radius: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--color-text-muted);
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-primary);
}

/* 统计仪表板 */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-card {
    background: rgba(42, 42, 42, 0.85);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.stat-card-title {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.stat-card-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--color-primary);
}

/* 复习数量标签 */
.review-count {
    color: var(--color-secondary);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .title {
        font-size: 32px;
    }

    .core-title {
        font-size: 28px;
    }

    .filter-word,
    .review-word {
        font-size: 36px;
    }

    .action-buttons {
        gap: 10px;
    }

    .action-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .filter-buttons,
    .review-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .filter-btn,
    .review-btn {
        padding: 15px;
    }

    .stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}
