body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #000000;
    background-image: url('4月掉粉月刊.png');
    background-size: cover;
    background-attachment: fixed;
    transition: all 0.3s ease;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: relative;
    backdrop-filter: blur(5px);
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.timetable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.timetable th, .timetable td {
    border: 1px solid rgba(221, 221, 221, 0.5);
    padding: 12px;
    text-align: center;
}

.timetable th {
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
}

.timetable td {
    height: 80px;
    vertical-align: top;
    background-color: rgba(255, 255, 255, 0.5);
}

.course {
    border-radius: 4px;
    padding: 6px;
    color: #000000;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.3);
    margin: 2px;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #000000;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-secondary {
    background: #607d8b;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 设置面板样式 */
.settings-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
    z-index: 10;
}

.settings-panel {
    display: none;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: absolute;
    top: 50px;
    right: 20px;
    z-index: 10;
    width: 250px;
}

.setting-group {
    margin-bottom: 10px;
}

.setting-group label {
    display: inline-block;
    width: 80px;
    font-weight: bold;
}

.setting-group select, .setting-group input {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* 页脚作者信息 */
.footer-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.footer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4CAF50;
}

.footer-bilibili-link {
    color: #00A1D6;
    text-decoration: none;
    font-size: 14px;
}

.footer-bilibili-link:hover {
    text-decoration: underline;
}

/* 更新日志样式 */
/* .changelog {
    margin: 20px 0;
}

.version {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.version h2 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.version ul {
    padding-left: 20px;
}

.version li {
    margin-bottom: 8px;
} */

/* 页脚链接样式 */
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.footer-link {
    color: #666;
    text-decoration: none;
}

.footer-link:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.footer-links span {
    color: #ccc;
}

/* 模态框样式 */
/* .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin-top: 5vh;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #4CAF50;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* 按钮悬停效果增强 */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
} */

/* 响应式调整 */
/* 禁用移动端响应式样式 */
/* 移动端适配样式 */
/* 强制电脑版的特殊类 */

/* 响应式调整 */
/* 禁用移动端响应式样式 */
/* 移动端适配样式 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
        backdrop-filter: none; /* 移动端禁用毛玻璃效果提升性能 */
    }
    
    .timetable td {
        height: 60px;
        padding: 8px;
        font-size: 12px;
    }
    
    .course {
        font-size: 11px;
        padding: 4px;
    }
}

/* 强制电脑版的特殊类 */
.desktop-layout .container {
    min-width: 1000px;
    overflow-x: auto;
}

