/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6600;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 导航栏样式 */
.navbar {
    background-color: #1a1a2e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.logo span {
    color: #ff6600;
}

.nav-center {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    margin-right: 30px;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 16px;
}

.nav-links a:hover {
    color: #ff6600;
    text-decoration: none;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #ff6600;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.search-container {
    flex-grow: 1;
    max-width: 400px;
}

.search-form {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    background-color: #fff;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.3);
}

.search-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #e55a00;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    background-color: #1a1a2e;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: #fff;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu ul li a:hover {
    color: #ff6600;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,102,0,0.05)"/></svg>');
    opacity: 0.3;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.header-description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.keyword-tags a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.keyword-tags a:hover {
    background-color: #ff6600;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    text-decoration: none;
}

/* 主要内容区 */
main {
    padding: 50px 0;
}

.section {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.section h2 {
    font-size: 1.9rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.section h2 i {
    margin-right: 12px;
    color: #ff6600;
    font-size: 1.5rem;
}

.section-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 图片网格 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.image-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.image-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1a2e;
    font-weight: 600;
}

.image-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* 视频网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.video-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background-color: rgba(255, 102, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    transition: all 0.3s;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.video-card:hover .play-btn {
    background-color: rgba(255, 102, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.video-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1a2e;
    font-weight: 600;
}

.video-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* 关键词区域 */
.keyword-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.keyword-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
}

.keyword-section h3 i {
    margin-right: 10px;
    color: #ff6600;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.keywords a {
    background-color: #f1f5f9;
    color: #1a1a2e;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    border: 1px solid #e1e8f0;
}

.keywords a:hover {
    background-color: #ff6600;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255, 102, 0, 0.2);
    text-decoration: none;
    border-color: #ff6600;
}

/* 关键词列表区域 */
.keyword-list-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
}

.all-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.all-keywords a {
    background-color: white;
    color: #1a1a2e;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #e1e8f0;
}

.all-keywords a:hover {
    background-color: #ff6600;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(255, 102, 0, 0.25);
    text-decoration: none;
    border-color: #ff6600;
}

/* 网站地图区域 */
.sitemap-section {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
}

.sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.sitemap-column h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.sitemap-column ul li {
    margin-bottom: 12px;
}

.sitemap-column ul li a {
    color: #555;
    font-size: 16px;
    padding: 5px 0;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.sitemap-column ul li a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: #ff6600;
    font-size: 18px;
}

.sitemap-column ul li a:hover {
    color: #ff6600;
    padding-left: 25px;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding: 60px 0 25px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6600, #ff9933);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #ff6600;
    left: 0;
    bottom: 0;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    font-size: 15px;
    padding: 3px 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #ff6600;
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #aaa;
}

.footer-keywords {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.footer-keywords span {
    color: #fff;
    font-weight: 500;
    margin-right: 10px;
}

.footer-keywords a {
    color: #ccc;
    margin: 0 8px;
    font-size: 14px;
}

.footer-keywords a:hover {
    color: #ff6600;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .header h1 {
        font-size: 2.3rem;
    }
    
    .header-description {
        font-size: 1rem;
    }
    
    .nav-center {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .section {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 50px 0;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sitemap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.7rem;
    }
    
    .keyword-tags a {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .keywords a, .all-keywords a {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
    
    .footer-keywords a {
        font-size: 12px;
        margin: 0 5px;
    }
}