/* 国产 - 原创CSS样式 | owsbyhc.cn */
/* 配色：深海蓝#0a0e27 + 霓虹青#00e5ff + 琥珀金#ffab00 + 暗灰#1a1f3d */

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #111638;
    --bg-card: #161b42;
    --bg-hover: #1e2456;
    --text-primary: #e8eaf6;
    --text-secondary: #9fa8da;
    --accent-cyan: #00e5ff;
    --accent-gold: #ffab00;
    --accent-red: #ff1744;
    --accent-purple: #7c4dff;
    --border-color: #283060;
    --shadow-glow: 0 0 20px rgba(0,229,255,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent-gold); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10,14,39,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background .3s;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 68px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 42px; width: auto; }
.logo-wrap .brand-text {
    font-size: 22px; font-weight: 700; color: var(--accent-cyan);
    letter-spacing: 1px;
}
.main-nav { display: flex; gap: 6px; }
.main-nav a {
    padding: 8px 16px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 15px; font-weight: 500;
    transition: all .3s;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--accent-cyan); background: rgba(0,229,255,0.08);
}
.nav-toggle { display: none; cursor: pointer; font-size: 24px; color: var(--text-primary); }

/* ===== 搜索框 ===== */
.search-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0; margin-top: 68px;
}
.search-bar .container { display: flex; justify-content: center; }
.search-form {
    display: flex; max-width: 600px; width: 100%;
    border: 2px solid var(--border-color); border-radius: 30px;
    overflow: hidden; transition: border-color .3s;
}
.search-form:focus-within { border-color: var(--accent-cyan); }
.search-form input {
    flex: 1; padding: 10px 20px; background: transparent;
    border: none; color: var(--text-primary); font-size: 15px; outline: none;
}
.search-form input::placeholder { color: var(--text-secondary); }
.search-form button {
    padding: 10px 24px; background: var(--accent-cyan); border: none;
    color: var(--bg-primary); font-weight: 600; cursor: pointer;
    font-size: 15px; transition: background .3s;
}
.search-form button:hover { background: var(--accent-gold); }

/* ===== Hero Banner ===== */
.hero-banner {
    position: relative; height: 520px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.hero-banner .hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; filter: brightness(0.4);
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    max-width: 800px; padding: 0 20px;
}
.hero-content h1 {
    font-size: 42px; font-weight: 800; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 18px; color: var(--text-secondary);
    margin-bottom: 24px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-block; padding: 12px 32px; border-radius: 30px;
    background: linear-gradient(135deg, var(--accent-cyan), #0091ea);
    color: #fff; font-weight: 600; font-size: 16px;
    transition: transform .3s, box-shadow .3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-outline {
    display: inline-block; padding: 12px 32px; border-radius: 30px;
    border: 2px solid var(--accent-cyan); color: var(--accent-cyan);
    font-weight: 600; font-size: 16px; transition: all .3s; cursor: pointer;
    background: transparent;
}
.btn-outline:hover { background: var(--accent-cyan); color: var(--bg-primary); }

/* ===== 通用Section ===== */
.section { padding: 60px 0; }
.section-dark { background: var(--bg-secondary); }
.section-title {
    text-align: center; margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px; font-weight: 700; margin-bottom: 10px;
    color: var(--text-primary);
}
.section-title h2 span { color: var(--accent-cyan); }
.section-title p { color: var(--text-secondary); font-size: 16px; }

/* ===== 动漫视频卡片 ===== */
.video-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    overflow: hidden; transition: transform .3s, box-shadow .3s;
    border: 1px solid var(--border-color);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.video-thumb {
    position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer;
}
.video-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
    width: 60px; height: 60px; background: rgba(0,229,255,0.85);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: transform .3s; pointer-events: none;
}
.play-btn::after {
    content: ''; width: 0; height: 0;
    border-left: 20px solid var(--bg-primary);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1); }
.video-info { padding: 16px; }
.video-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.video-info h4 { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.video-meta {
    display: flex; gap: 12px; font-size: 13px; color: var(--text-secondary);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag {
    display: inline-block; padding: 3px 10px; border-radius: 12px;
    background: rgba(0,229,255,0.1); color: var(--accent-cyan);
    font-size: 12px; margin-top: 8px; margin-right: 6px;
}
.duration-badge {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.75); color: #fff;
    padding: 2px 8px; border-radius: 4px; font-size: 12px;
}

/* ===== 分类标签栏 ===== */
.category-tabs {
    display: flex; gap: 10px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 30px;
}
.category-tabs .tab {
    padding: 8px 20px; border-radius: 20px;
    background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border-color); cursor: pointer;
    font-size: 14px; transition: all .3s;
}
.category-tabs .tab:hover, .category-tabs .tab.active {
    background: var(--accent-cyan); color: var(--bg-primary);
    border-color: var(--accent-cyan);
}

/* ===== 专家卡片 ===== */
.expert-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.expert-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 28px; text-align: center;
    border: 1px solid var(--border-color); transition: all .3s;
}
.expert-card:hover { border-color: var(--accent-cyan); box-shadow: var(--shadow-glow); }
.expert-card img {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 16px;
    border: 3px solid var(--accent-cyan);
}
.expert-card h3 { font-size: 18px; margin-bottom: 4px; }
.expert-card .role { color: var(--accent-gold); font-size: 14px; margin-bottom: 10px; }
.expert-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.expert-btns { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.expert-btns a {
    padding: 6px 16px; border-radius: 16px; font-size: 13px;
    border: 1px solid var(--accent-cyan); color: var(--accent-cyan);
    transition: all .3s;
}
.expert-btns a:hover { background: var(--accent-cyan); color: var(--bg-primary); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card); border-radius: var(--radius-md);
    margin-bottom: 12px; border: 1px solid var(--border-color);
    overflow: hidden;
}
.faq-q {
    padding: 18px 24px; cursor: pointer; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
    transition: background .3s;
}
.faq-q:hover { background: var(--bg-hover); }
.faq-q .arrow { transition: transform .3s; color: var(--accent-cyan); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    padding: 0 24px; color: var(--text-secondary); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 18px; }

/* ===== 用户评论 ===== */
.review-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 24px; border: 1px solid var(--border-color);
}
.review-card .stars { color: var(--accent-gold); font-size: 16px; margin-bottom: 10px; }
.review-card .review-text {
    font-size: 14px; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 12px; font-style: italic;
}
.review-card .reviewer {
    display: flex; align-items: center; gap: 10px;
}
.review-card .reviewer .avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent-purple); display: flex; align-items: center;
    justify-content: center; color: #fff; font-weight: 700; font-size: 14px;
}
.review-card .reviewer .name { font-size: 14px; font-weight: 600; }
.review-card .reviewer .date { font-size: 12px; color: var(--text-secondary); }

/* ===== 合作品牌墙 ===== */
.brand-wall {
    display: flex; flex-wrap: wrap; gap: 20px;
    justify-content: center; align-items: center;
}
.brand-wall .brand-item {
    padding: 16px 28px; background: var(--bg-card);
    border-radius: var(--radius-sm); border: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: 15px; font-weight: 600;
    transition: all .3s;
}
.brand-wall .brand-item:hover {
    border-color: var(--accent-cyan); color: var(--accent-cyan);
}

/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 14px 0; font-size: 14px; color: var(--text-secondary);
    margin-top: 68px;
}
.breadcrumb a { color: var(--accent-cyan); }
.breadcrumb span { margin: 0 8px; }

/* ===== 页脚 ===== */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 48px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px; margin-bottom: 32px;
}
.footer-col h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 16px;
    color: var(--accent-cyan);
}
.footer-col p, .footer-col a {
    font-size: 14px; color: var(--text-secondary); line-height: 2;
    display: block;
}
.footer-col a:hover { color: var(--accent-cyan); }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0; text-align: center;
    font-size: 13px; color: var(--text-secondary);
}
.footer-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin-top: 12px;
}
.footer-tags a {
    padding: 4px 12px; background: var(--bg-card);
    border-radius: 12px; font-size: 12px; color: var(--text-secondary);
    border: 1px solid var(--border-color); transition: all .3s;
}
.footer-tags a:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* ===== 社交分享 ===== */
.share-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.share-btns a {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: 16px; transition: all .3s;
}
.share-btns a:hover { background: var(--accent-cyan); color: var(--bg-primary); border-color: var(--accent-cyan); }

/* ===== 内页通用 ===== */
.page-header {
    padding: 80px 0 40px; text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-header p { color: var(--text-secondary); font-size: 16px; max-width: 600px; margin: 0 auto; }
.content-block { padding: 40px 0; }
.content-block h2 { font-size: 26px; margin-bottom: 16px; color: var(--text-primary); }
.content-block h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent-cyan); }
.content-block h4 { font-size: 17px; margin-bottom: 10px; color: var(--accent-gold); }
.content-block h5 { font-size: 15px; margin-bottom: 8px; color: var(--text-primary); }
.content-block h6 { font-size: 14px; margin-bottom: 6px; color: var(--text-secondary); }
.content-block p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.8; }

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ===== 联系表单 ===== */
.contact-info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.contact-card {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 24px; border: 1px solid var(--border-color);
    text-align: center;
}
.contact-card h4 { color: var(--accent-cyan); margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 14px; }

/* ===== How-To指南 ===== */
.howto-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; counter-reset: step;
}
.howto-step {
    background: var(--bg-card); border-radius: var(--radius-md);
    padding: 24px; border: 1px solid var(--border-color);
    position: relative; counter-increment: step;
}
.howto-step::before {
    content: counter(step); position: absolute; top: -12px; left: 20px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent-cyan); color: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.howto-step h4 { margin-top: 8px; margin-bottom: 8px; color: var(--text-primary); }
.howto-step p { font-size: 14px; color: var(--text-secondary); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; width: 100%; background: var(--bg-primary); padding: 20px; border-bottom: 1px solid var(--border-color); }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-banner { height: 400px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .section-title h2 { font-size: 24px; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .header-inner { padding: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-banner { height: 320px; }
    .hero-content h1 { font-size: 22px; }
    .video-grid { grid-template-columns: 1fr; }
    .btn-primary, .btn-outline { padding: 10px 24px; font-size: 14px; }
}

/* ===== 懒加载 ===== */
img[loading="lazy"] { opacity: 0; transition: opacity .5s; }
img[loading="lazy"].loaded, img[loading="lazy"][src] { opacity: 1; }

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; }

/* ===== 干扰标签隐藏 ===== */
.noise-wrap { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }
