* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
body {
    background: #f7f8fa;
}

/* 导航条 - 全新大气设计 */
header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-box {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 18px 0;
    gap: 12px;
    flex-wrap: wrap;
}
.nav-box a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}
.nav-box a:hover {
    background: #42b983;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(66,185,131,0.3);
}

.container {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 15px;
}
h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
}

/* 卡片网格 - 高级卡片 */
.video-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.video-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.video-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.video-cover {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}
.video-info {
    padding: 18px;
}
.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-time {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 14px;
}

/* 网盘按钮 - 高级醒目 */
.link-box a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 500;
    transition: 0.2s;
}
.link-quark {
    background: linear-gradient(90deg, #ff8a00, #ff512f);
}
.link-baidu {
    background: linear-gradient(90deg, #2196F3, #0b7dda);
}
.link-box a:hover {
    opacity: 0.9;
}

/* 分页 */
.pagination {
    text-align: center;
    margin: 40px 0;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 4px;
    background: #fff;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.pagination a.active {
    background: #42b983;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .video-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .nav-box a {
        padding: 8px 16px;
        font-size: 14px;
    }
}
/* 搜索 */
.search-panel {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.search-tip {
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}
.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.search-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}
.search-form input[type="submit"] {
    padding: 12px 22px;
    background: #42b983;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* 公告 */
.announcement-bar {
    background: #e3f2fd;
    border-left: 4px solid #ffb100;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.announcement-bar h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #d68c06;
}
.announcement-bar .content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 6px;
}
.announcement-bar .time {
    font-size: 12px;
    color: #999;
}