body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #5cb85c, #3e933e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* 定制导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-nav {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.category-nav .nav-link {
    color: #555;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.category-nav .nav-link:hover {
    color: #5cb85c;
}

/* 视频卡片样式优化 */
.card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.card-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

/* 分页优化 */
.pagination .page-link {
    color: #5cb85c;
    border-radius: 0.25rem;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

/* 移动端优化 */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #aaa;
    padding: 2rem 0;
    font-size: 0.9rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 视频播放页样式 */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: #000;
    margin-bottom: 1.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-title {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00a6ff, #0033ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-text {
    color: #FFFFFF;
}

.marquee {
    width: 100%; /* 容器宽度 */
    overflow: hidden; /* 隐藏超出部分 */
    white-space: nowrap; /* 不换行 */
    box-sizing: border-box; /* 包含内边距和边框 */
    position: relative; /* 相对定位 */
    padding: 10px; /* 内边距 */
}

.marquee h1 {
    font-size: 1.5rem;
    font-weight: 700
}