/* 首页特定样式 */
body.index-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
    padding: 20px;
}

.index-page .container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 首页标题 */
.index-header {
    text-align: center;
    margin-bottom: 40px;
}

.index-header h1 {
    color: #2c5e9e;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.index-header .subtitle {
    color: #666;
    font-size: 1.2rem;
}

/* 年级区块 */
.grade-section {
    margin-bottom: 40px;
}

.grade-title {
    font-size: 1.5rem;
    color: #2c5e9e;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 书本卡片 */
.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.book-card {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e6ed;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background-color: #eef2f7;
    border-color: #c3d1e5;
}

.book-card h3 {
    color: #3b6cb0;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.book-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 页脚 */
.index-footer {
    text-align: center;
    margin-top: 50px;
    color: #666;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .index-header h1 {
        font-size: 2rem;
    }
    
    .books-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}