/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
    text-decoration: none;
    gap: 0.5rem;
}

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

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

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4f46e5;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* 单词输入区域 */
.word-input-section {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.word-input {
    flex: 1;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    outline: none;
}

.method-select {
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    outline: none;
    cursor: pointer;
    min-width: 120px;
}

.generate-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.generate-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.generate-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* 搜索建议 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
}

.suggestion-item {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8fafc;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* 记忆结果展示 */
.memory-result {
    padding: 3rem 0;
    background: white;
}

.result-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.result-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.result-word {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.result-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
}

.pronunciation {
    color: #fbbf24;
    font-weight: 500;
}

.meaning {
    opacity: 0.9;
}

.result-content {
    padding: 2rem;
}

.method-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.method-name {
    display: inline-block;
    background: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.memory-explanation,
.detailed-explanation {
    margin-bottom: 2rem;
}

.memory-explanation h3,
.detailed-explanation h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.memory-key {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4f46e5;
    border-left: 4px solid #4f46e5;
}

.detailed-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
}

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

.word-link-btn,
.try-another-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.word-link-btn {
    background: #4f46e5;
    color: white;
}

.word-link-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.try-another-btn {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.try-another-btn:hover {
    background: #e2e8f0;
}

/* 热门单词 */
.popular-words,
.recent-words,
.methods-intro {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #1e293b;
}

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

.word-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

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

.word-card-header {
    background: #6366f1;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.translation-label {
    margin: 0;
}

.word-card-content {
    padding: 1.5rem;
}

.chinese-meaning {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.word-details {
    margin-top: 1rem;
}

.word-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.language-label {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.word-pronunciation {
    color: #64748b;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.pronunciation-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pronunciation-btn:hover {
    background: #f1f5f9;
}

.word-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.word-meaning-bottom {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* 单词详情页样式 */
.word-detail {
    padding: 2rem 0;
    background: white;
}

.word-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.word-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.word-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pronunciation {
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 500;
}

.meaning {
    font-size: 1.2rem;
    opacity: 0.9;
}

.difficulty {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.difficulty-easy {
    background: #10b981;
    color: white;
}

.difficulty-medium {
    background: #f59e0b;
    color: white;
}

.difficulty-hard {
    background: #ef4444;
    color: white;
}

.word-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 记忆方法卡片 */
.memory-methods {
    margin-bottom: 3rem;
}

.methods-container {
    display: grid;
    gap: 2rem;
}

.memory-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.memory-header {
    background: #f8fafc;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.method-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.method-auto { background: #6366f1; }
.method-sound { background: #10b981; }
.method-visual { background: #f59e0b; }
.method-story { background: #8b5cf6; }
.method-root { background: #06b6d4; }
.method-association { background: #ef4444; }

.memory-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-label {
    font-size: 0.9rem;
    color: #64748b;
}

.stars {
    display: flex;
    gap: 0.1rem;
}

.star {
    color: #d1d5db;
    font-size: 1.2rem;
}

.star.filled {
    color: #fbbf24;
}

.memory-content {
    padding: 2rem;
}

.memory-key,
.detailed-explanation,
.example-sentence,
.related-words-section {
    margin-bottom: 2rem;
}

.memory-key h3,
.detailed-explanation h3,
.example-sentence h3,
.related-words-section h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.memory-key p {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4f46e5;
    border-left: 4px solid #4f46e5;
}

.detailed-explanation p,
.example-sentence p,
.related-words-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
}

.memory-footer {
    background: #f8fafc;
    padding: 1rem 2rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* 生成新方法 */
.generate-new-method {
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
}

.method-generator {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.method-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.method-option:hover {
    border-color: #4f46e5;
    background: #f8fafc;
}

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

.method-option input[type="radio"]:checked + span {
    color: #4f46e5;
    font-weight: 600;
}

/* 相关单词 */
.related-words {
    margin-bottom: 3rem;
}

/* 响应式设计 - 单词页面 */
@media (max-width: 768px) {
    .word-title {
        font-size: 2.5rem;
    }
    
    .word-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .word-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .memory-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .method-options {
        grid-template-columns: 1fr;
    }
    
    .memory-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .word-title {
        font-size: 2rem;
    }
    
    .word-header {
        padding: 2rem 1rem;
    }
    
    .memory-card {
        margin: 0 -10px;
    }
}

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

.word-link-btn,
.try-another-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.word-link-btn {
    background: #4f46e5;
    color: white;
}

.word-link-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.try-another-btn {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.try-another-btn:hover {
    background: #e2e8f0;
}

/* 热门单词 */
.popular-words,
.recent-words,
.methods-intro {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #1e293b;
}

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

.word-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

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

.word-card-header {
    background: #6366f1;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.translation-label {
    margin: 0;
}

.word-card-content {
    padding: 1.5rem;
}

.chinese-meaning {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.word-details {
    margin-top: 1rem;
}

.word-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.language-label {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.word-pronunciation {
    color: #64748b;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.pronunciation-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pronunciation-btn:hover {
    background: #f1f5f9;
}

.word-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.word-meaning-bottom {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.word-stats {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* 最近添加 */
.words-list {
    max-width: 600px;
    margin: 0 auto;
}

.word-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.word-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.word-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.word-item .word-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4f46e5;
}

.word-item .word-meaning {
    font-size: 0.9rem;
    color: #64748b;
}

.word-time {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 记忆方法介绍 */
.methods-intro {
    background: white;
}

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

.method-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.method-card:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

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

.method-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1e293b;
}

.method-card p {
    color: #64748b;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .words-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .result-word {
        font-size: 2rem;
    }
    
    .word-card,
    .method-card {
        padding: 1rem;
    }
}

/* 单词列表页样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 搜索和筛选 */
.search-filters {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.filters-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 300px;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #4f46e5;
}

.search-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #4338ca;
}

.difficulty-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: #64748b;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* 搜索结果信息 */
.search-results-info {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #64748b;
}

/* 单词列表 */
.word-list-section {
    padding: 2rem 0;
    background: #f8fafc;
}

.word-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.word-list-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.word-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.word-info {
    flex: 1;
}

.word-list-item .word-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.word-list-item .word-meaning {
    color: #64748b;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.word-pronunciation {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

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

.word-meta .difficulty {
    font-size: 0.8rem;
}

.word-meta .search-count,
.word-meta .created-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: #94a3b8;
}

/* 无结果状态 */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.no-results p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.back-home-btn {
    display: inline-block;
    background: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-home-btn:hover {
    background: #4338ca;
}

/* 统计信息 */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 2rem;
}

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

.stat-item {
    text-align: center;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 关于页面样式 */
.about-intro {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1rem;
}

.intro-image {
    text-align: center;
}

.intro-image .feature-icon {
    font-size: 8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 功能特色网格 */
.features-section {
    padding: 4rem 0;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* 记忆方法详解 */
.methods-detail {
    padding: 4rem 0;
    background: #f8fafc;
}

.methods-list {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.method-detail-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.method-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-header .method-icon {
    font-size: 2rem;
}

.method-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.method-content {
    padding: 2rem;
}

.method-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.method-content strong {
    color: #2d3748;
}

/* 技术架构 */
.tech-section {
    padding: 4rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
}

.tech-card h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.tech-card ul {
    list-style: none;
    padding: 0;
}

.tech-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.tech-card li:last-child {
    border-bottom: none;
}

.tech-card li:before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 联系我们 */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

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

/* 响应式设计 - 单词列表页 */
@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .difficulty-filters {
        justify-content: center;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .word-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .word-meta {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .word-list-item .word-name {
        font-size: 1.3rem;
    }
}