/* ==================== 黑丝修车改装视频社区 - 全局样式 ==================== */
/* 品牌：黑丝 | 域名：jttbxr3.cn | 主题：修车改装视频社区 */
/* 配色：深灰(#1a1a1a) + 红色(#d32f2f) + 银色(#e8e8e8) + 蓝色(#1976d2) */

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

/* ==================== 头部导航 ==================== */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .brand {
    font-size: 24px;
    color: #d32f2f;
    font-weight: 900;
}

.logo-text .tagline {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #d32f2f;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d32f2f;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 8px 15px;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-box:hover {
    background: rgba(255,255,255,0.15);
    border-color: #d32f2f;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 150px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-box button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* ==================== Hero区域 ==================== */
.hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.8) 0%, rgba(45,45,45,0.8) 100%),
                url('https://d2xsxph8kpxj0f.cloudfront.net/310519663721118359/Rf9nLv8xytVjSUjHxaXnvf/repair-hero-banner-aABL946uskzX4BgqgshRMc.webp') center/cover;
    color: white;
    padding: 100px 40px;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero h1 .brand {
    color: #d32f2f;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e8e8e8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #d32f2f;
    color: white;
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(211,47,47,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
}

/* ==================== 内容区域 ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 60px 40px;
}

section.alt {
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-title h2 .brand {
    color: #d32f2f;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 视频卡片网格 ==================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    overflow: hidden;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(211,47,47,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.4;
}

.video-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.video-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== 模块区域 ==================== */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.module-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.module-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.module-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.module-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.module-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ==================== 专家展示 ==================== */
.xg0dddc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ywyxhoi {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ywyxhoi:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.iqjjw {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #d32f2f, #1976d2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.amwog6bb {
    padding: 25px;
}

.wv4q435t {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.fbcv7r {
    font-size: 13px;
    color: #d32f2f;
    margin-bottom: 12px;
    font-weight: 600;
}

.qs2shc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.s1vzcpv {
    display: flex;
    gap: 10px;
}

.s1vzcpv a {
    flex: 1;
    padding: 8px 12px;
    background: #f0f0f0;
    color: #1a1a1a;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.s1vzcpv a:hover {
    background: #d32f2f;
    color: white;
}

/* ==================== FAQ区域 ==================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px;
    background: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
    color: #d32f2f;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: #666;
    line-height: 1.8;
}

/* ==================== 用户评价 ==================== */
.rhoyove6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.esi8z {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.c51blo {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 14px;
}

.nw25am76 {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-style: italic;
}

.hbi2e {
    display: flex;
    align-items: center;
    gap: 12px;
}

.iilqdc2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d32f2f, #1976d2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.hbi2e-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
    color: #1a1a1a;
}

.hbi2e-info p {
    font-size: 12px;
    color: #999;
}

/* ==================== 底部 ==================== */
footer {
    background: #1a1a1a;
    color: #e8e8e8;
    padding: 50px 40px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d32f2f;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .header-top {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        gap: 15px;
        font-size: 13px;
        width: 100%;
        order: 3;
    }

    .search-box {
        order: 2;
    }

    .hero {
        padding: 60px 20px;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 40px 20px;
    }

    .container {
        padding: 0 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    nav {
        gap: 10px;
        font-size: 12px;
    }

    .section-title h2 {
        font-size: 22px;
    }
}

/* ==================== 干扰标签样式 ==================== */
[style*="display:none"] {
    display: none !important;
}
