/* 偷拍 - 原创样式表 */
/* 配色：深蓝黑#1a2332 赛车红#e8453c 金橙#f5a623 极深#0d1117 浅灰白#e6edf3 暗灰#161b22 */

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

:root {
    --primary: #1a2332;
    --accent: #e8453c;
    --gold: #f5a623;
    --dark: #0d1117;
    --light: #e6edf3;
    --card: #161b22;
    --border: #30363d;
    --text-muted: #8b949e;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.7;
    font-size: 16px;
}

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

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

/* Header */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo { height: 42px; width: auto; }

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list a {
    color: var(--light);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 15px;
    transition: background .2s, color .2s;
}

.nav-list a:hover, .nav-list a.active {
    background: var(--accent);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

/* Search Bar */
.search-bar {
    background: rgba(22, 27, 34, 0.95);
    padding: 10px 20px;
}

.search-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}

.search-inner input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--dark);
    color: var(--light);
    font-size: 14px;
    outline: none;
}

.search-inner input:focus { border-color: var(--gold); }

#search-btn {
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
}

#search-btn:hover { background: #c73a32; }

/* Hero Section */
.hero-section { position: relative; }

.hero-bg {
    background-size: cover;
    background-position: center;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(13,17,23,0.92) 0%, rgba(26,35,50,0.85) 100%);
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; margin-bottom: 40px; }

.btn-primary {
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,69,60,0.3);
    color: #fff;
}

.btn-secondary {
    padding: 14px 32px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background .2s;
}

.btn-secondary:hover { background: var(--gold); color: var(--dark); }

.hero-stats { display: flex; gap: 48px; justify-content: center; }

.stat-item { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--light);
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Grid */
.video-section, .video-category { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

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

.play-btn {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    padding-left: 4px;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info { padding: 16px; }
.video-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.video-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.video-meta span { margin-right: 12px; }
.video-tags { font-size: 12px; color: var(--gold); }

/* AI Section */
.ai-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.ai-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color .3s;
}

.ai-card:hover { border-color: var(--gold); }
.ai-icon { font-size: 2.5rem; margin-bottom: 16px; }
.ai-card h3 { margin-bottom: 12px; color: var(--gold); }
.ai-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Media Section */
.media-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.media-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.media-item h3 { color: var(--accent); margin-bottom: 8px; }
.media-item p { color: var(--text-muted); font-size: 14px; }

/* Expert Section */
.expert-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.expert-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.expert-avatar { font-size: 3rem; margin-bottom: 12px; }
.expert-card h3 { margin-bottom: 4px; }
.expert-role { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.expert-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; line-height: 1.6; }
.expert-tags { margin-bottom: 16px; }
.expert-tags span { display: inline-block; background: var(--dark); padding: 3px 10px; border-radius: 12px; font-size: 12px; margin: 2px; color: var(--text-muted); }
.expert-actions { display: flex; gap: 8px; justify-content: center; }

.btn-sm { padding: 8px 16px; background: var(--accent); color: #fff; border-radius: 6px; font-size: 13px; }
.btn-sm:hover { color: #fff; background: #c73a32; }
.btn-sm-outline { padding: 8px 16px; border: 1px solid var(--gold); color: var(--gold); border-radius: 6px; font-size: 13px; }
.btn-sm-outline:hover { background: var(--gold); color: var(--dark); }

/* Partners */
.partners-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.partners-wall { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.partner-logo {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-muted);
    transition: border-color .3s, color .3s;
}

.partner-logo:hover { border-color: var(--gold); color: var(--gold); }

/* HowTo Section */
.howto-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.step-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    position: relative;
}

.step-num { font-size: 2.5rem; font-weight: 800; color: var(--accent); opacity: 0.3; margin-bottom: 8px; }
.step-item h3 { margin-bottom: 8px; }
.step-item p { color: var(--text-muted); font-size: 14px; }

/* FAQ Section */
.faq-section { padding: 60px 20px; max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 12px;
}

.faq-q { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--gold); cursor: pointer; }
.faq-a { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Reviews */
.reviews-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; }
.review-text { color: var(--light); font-size: 14px; line-height: 1.7; margin-bottom: 12px; font-style: italic; }
.review-author { color: var(--text-muted); font-size: 13px; }

/* Contact */
.contact-section { padding: 60px 20px; max-width: 1280px; margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 24px; }

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.contact-card h3 { margin-bottom: 16px; color: var(--gold); }
.contact-info { list-style: none; }
.contact-info li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }

/* Footer */
.site-footer {
    background: var(--primary);
    border-top: 2px solid var(--accent);
    padding: 48px 20px 24px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
}

.footer-col h4 { color: var(--gold); margin-bottom: 12px; font-size: 16px; }
.footer-col p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.footer-logo { margin-top: 12px; height: 32px; width: auto; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--gold); }

.contact-list { list-style: none; }
.contact-list li { color: var(--text-muted); font-size: 13px; margin-bottom: 6px; }

.qr-codes { display: flex; gap: 16px; }
.qr-item { text-align: center; }
.qr-item img { width: 80px; height: 80px; border-radius: 4px; }
.qr-item span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.footer-bottom {
    max-width: 1280px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.update-time { margin-top: 4px; font-size: 12px; }

/* Share Float */
.share-float { position: fixed; right: 16px; bottom: 80px; z-index: 999; }

.share-toggle {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-options {
    display: none;
    position: absolute;
    bottom: 52px;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    min-width: 80px;
}

.share-options.active { display: block; }

.share-link {
    display: block;
    padding: 8px 12px;
    color: var(--light);
    font-size: 13px;
    border-radius: 4px;
}

.share-link:hover { background: var(--dark); color: var(--gold); }

/* Page Hero */
.page-hero {
    background: var(--primary);
    padding: 48px 20px;
    text-align: center;
}

.page-hero h1 { font-size: 1.8rem; margin-bottom: 12px; }
.page-desc { color: var(--text-muted); margin-top: 8px; }

.breadcrumb { font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--gold); }

/* About Page */
.about-intro, .about-values, .about-workshop { padding: 48px 20px; max-width: 1000px; margin: 0 auto; }

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.about-text p { margin-bottom: 16px; color: var(--text-muted); font-size: 15px; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

.value-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.value-item h3 { color: var(--accent); margin-bottom: 8px; }
.value-item p { color: var(--text-muted); font-size: 14px; }

.about-workshop { text-align: center; }
.about-workshop img { border-radius: 12px; margin: 0 auto 20px; }
.about-workshop p { color: var(--text-muted); }

/* Community */
.community-channels, .community-hot { padding: 48px 20px; max-width: 1280px; margin: 0 auto; }

.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.channel-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.channel-card h3 { color: var(--accent); margin-bottom: 8px; }
.channel-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.channel-stats { font-size: 12px; color: var(--gold); }

.topic-list { max-width: 800px; margin: 0 auto; }

.topic-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-tag { padding: 3px 10px; border-radius: 4px; font-size: 12px; background: var(--border); color: var(--light); }
.topic-tag.hot { background: var(--accent); }
.topic-tag.new { background: var(--gold); color: var(--dark); }
.topic-item h3 { font-size: 15px; flex: 1; }
.topic-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* Tools */
.tools-grid-section { padding: 48px 20px; max-width: 1280px; margin: 0 auto; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.tool-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.tool-icon { font-size: 2.5rem; margin-bottom: 12px; }
.tool-card h3 { margin-bottom: 10px; color: var(--gold); }
.tool-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }

/* Offroad Guide */
.offroad-guide { padding: 48px 20px; max-width: 1280px; margin: 0 auto; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.guide-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.guide-item h3 { color: var(--accent); margin-bottom: 8px; }
.guide-item p { color: var(--text-muted); font-size: 14px; }

/* Sedan Tips */
.sedan-tips { padding: 48px 20px; max-width: 1280px; margin: 0 auto; }

.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.tip-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.tip-item h3 { color: var(--gold); margin-bottom: 8px; }
.tip-item p { color: var(--text-muted); font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-list { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-list.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 16px; border-bottom: 2px solid var(--accent); }
    .hero-title { font-size: 1.6rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .video-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .topic-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.3rem; }
    .section-title { font-size: 1.4rem; }
    .stat-num { font-size: 1.5rem; }
}
