/* 定义 ABeeZee 字体 */
@font-face {
    font-family: 'ABeeZee';
    src: url('../assets/fonts/ABeeZee-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABeeZee';
    src: url('../assets/fonts/ABeeZee-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.textbook-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 首页样式 */
.home-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #2ecc71;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #27ae60;
}

/* Add styles for the subtitle */
.subtitle {
    text-align: center;
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Add styles for the footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

footer a {
    color: #2196F3;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Add styles for loading indicator */
.loading-indicator {
    margin: 10px 0;
    color: #666;
    font-style: italic;
}