/* 基础样式 */
:root {
    --primary-color: #0a0a1a;
    --secondary-color: #1a1a3a;
    --accent-color: #00f0ff;
    --accent-color-2: #b000ff;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.site-header {
    background-color: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: bold;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-radius: 4px;
}

.search-box button {
    padding: 8px 15px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

/* 首页Banner */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
}

.hero-content {
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 视频卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.video-card {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 2px solid var(--accent-color);
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--accent-color);
    margin-left: 5px;
}

.video-card:hover .play-btn {
    opacity: 1;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.video-stats {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9em;
}

/* 模块通用样式 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ样式 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.faq-item h4 {
    margin: 0 0 10px 0;
    color: var(--accent-color);
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
}

/* 评论样式 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(176, 0, 255, 0.2);
}

.review-user {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    margin-right: 15px;
}

/* 底部样式 */
.site-footer {
    background-color: #050510;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    margin-top: 60px;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* 响应式 */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2em;
    }
}
