/* 四虎 修车改装视频社区 - 原创样式表 */
/* 颜色方案：深邃夜蓝 + 赛车红 + 金属橙 */

:root {
    --primary: #1a1a2e;
    --secondary: #e94560;
    --accent: #f5a623;
    --bg-dark: #0f0f1a;
    --text-light: #e8e8e8;
    --card-bg: #16213e;
    --border-color: #2a2a4a;
    --text-muted: #8892b0;
    --gradient-start: #1a1a2e;
    --gradient-end: #0f0f1a;
    --success: #2ecc71;
    --shadow: rgba(233, 69, 96, 0.15);
}

* {
    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-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

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

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

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

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

/* 头部导航 */
.mvenk67 {
    background: linear-gradient(180deg, var(--primary) 0%, rgba(26, 26, 46, 0.95) 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary);
    backdrop-filter: blur(10px);
}

.ljoq60r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ryva7zze {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ryva7zze img {
    height: 48px;
    width: 48px;
    border-radius: 8px;
}

.ryva7zze .tvbdbt {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 2px;
}

.r43cap {
    display: flex;
    align-items: center;
    gap: 0;
}

.r43cap a {
    color: var(--text-light);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.r43cap a:hover,
.r43cap a.active {
    color: var(--secondary);
}

.r43cap a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.r43cap a:hover::after,
.r43cap a.active::after {
    width: 60%;
}

.x3qt840w {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 搜索框 */
.n00ou3m1 {
    background: var(--primary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: 68px;
}

.n00ou3m1 .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ggqcj2w {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.ggqcj2w input {
    width: 100%;
    padding: 10px 45px 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--card-bg);
    color: var(--text-light);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.ggqcj2w input:focus {
    border-color: var(--secondary);
}

.ggqcj2w input::placeholder {
    color: var(--text-muted);
}

.ggqcj2w .c0ks3m {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.ggqcj2w .c0ks3m:hover {
    background: var(--accent);
}

/* Banner区域 */
.xfzmx7 {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xfzmx7 .zcv9v {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
    z-index: 1;
}

.xfzmx7 .h3cq9 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.3) 0%, rgba(15, 15, 26, 0.85) 100%);
    z-index: 2;
}

.dzyf7cpc {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
}

.dzyf7cpc h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.dzyf7cpc h1 .brand-highlight {
    color: var(--secondary);
}

.dzyf7cpc p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.dzyf7cpc .x7y3aum {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rkwnqnv {
    display: inline-block;
    padding: 12px 32px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.rkwnqnv:hover {
    background: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
    color: #fff;
}

.drxtx36o {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.drxtx36o:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* 通用模块标题 */
.yxzzret {
    text-align: center;
    margin-bottom: 40px;
}

.yxzzret h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.yxzzret h2 .brand-highlight {
    color: var(--secondary);
}

.yxzzret h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.yxzzret p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 内容区块 */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--primary);
}

/* 视频卡片网格 */
.pyldk9x {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.rbn1h {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.rbn1h:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.2);
    border-color: var(--secondary);
}

.rbn1h .lvco3f4n {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}

.rbn1h .lvco3f4n img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rbn1h:hover .lvco3f4n img {
    transform: scale(1.08);
}

.rbn1h .dqfiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 56px;
    height: 56px;
    background: rgba(233, 69, 96, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.rbn1h:hover .dqfiv {
    transform: translate(-50%, -50%) scale(1);
}

.rbn1h .dqfiv::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.rbn1h .xqut7kev {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 5;
}

.rbn1h .h1yvt24y {
    padding: 16px;
}

.rbn1h .h1yvt24y h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rbn1h .ytedf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.rbn1h .ytedf .mh3d0 {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rbn1h .oywhw {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.rbn1h .oywhw span {
    background: rgba(233, 69, 96, 0.15);
    color: var(--secondary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--border-color);
}

/* FAQ模块 */
.i37ft {
    max-width: 800px;
    margin: 0 auto;
}

.iixxh {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.iixxh:hover {
    border-color: var(--secondary);
}

.iixxh .s21ubd {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.iixxh .s21ubd:hover {
    color: var(--secondary);
}

.iixxh .s21ubd .t8ncpngw {
    font-size: 1.2rem;
    transition: transform 0.3s;
    color: var(--secondary);
    flex-shrink: 0;
    margin-left: 10px;
}

.iixxh.active .s21ubd .t8ncpngw {
    transform: rotate(45deg);
}

.iixxh .t23xfo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.iixxh.active .t23xfo {
    max-height: 300px;
    padding: 0 20px 18px;
}

/* 用户评论 */
.hldsv7p {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.eri2q {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.eri2q:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.eri2q .urf0e04m {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.eri2q .vhmfgb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.eri2q .psg4umv .name {
    font-weight: 600;
    font-size: 0.95rem;
}

.eri2q .psg4umv .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.eri2q .stars {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.eri2q .jrc2fpn {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 专家展示 */
.obuq7u2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.bs6hw5a {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.bs6hw5a:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.15);
    border-color: var(--secondary);
}

.bs6hw5a .p0avjo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.bs6hw5a .vsnstgk {
    padding: 20px;
}

.bs6hw5a .vsnstgk h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.bs6hw5a .vsnstgk .role {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.bs6hw5a .vsnstgk p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.bs6hw5a .ski7hui7 {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.bs6hw5a .ski7hui7 a {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    transition: all 0.3s;
}

.bs6hw5a .ski7hui7 a:hover {
    background: var(--secondary);
    color: #fff;
}

/* 合作品牌Logo墙 */
.hp31f6 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.hp31f6 .d4lm4e {
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.hp31f6 .d4lm4e:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

/* AI赋能模块 */
.j1cl8b {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.o8k91 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.o8k91:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.15);
}

.o8k91 .j16sc7 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.o8k91 h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.o8k91 p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 社区模块 */
.mogunn18 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.u7161 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.u7161:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.u7161 .ddr4sa {
    font-size: 2rem;
    margin-bottom: 12px;
}

.u7161 h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.u7161 p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 联系我们 */
.etjhi6 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.a3vla {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.3s;
}

.a3vla:hover {
    border-color: var(--secondary);
}

.a3vla h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.a3vla p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 分享按钮 */
.ui6sojr {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

.mvvf0n {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    background: var(--card-bg);
    cursor: pointer;
    transition: all 0.3s;
}

.mvvf0n:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* 页脚 */
.l3susvrc {
    background: var(--primary);
    border-top: 2px solid var(--secondary);
    padding: 40px 0 20px;
}

.tx81vj {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.z45p9 h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.z45p9 p,
.z45p9 a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 2;
    display: block;
}

.z45p9 a:hover {
    color: var(--secondary);
}

.z45p9 .xq14be {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 8px;
}

.ia4qe1g {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ia4qe1g .brand-highlight {
    color: var(--secondary);
    font-weight: 700;
}

/* How-To指南 */
.xwssrjg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.x1jez3r6 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
}

.x1jez3r6 .aidux {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}

.x1jez3r6 h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.x1jez3r6 p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* 数据统计条 */
.ogl7n3 {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.nsx9pwq {
    text-align: center;
}

.nsx9pwq .j4g81v1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
}

.nsx9pwq .nns3wn {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* 内页Banner */
.r31f48 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    padding: 100px 0 40px;
    text-align: center;
}

.r31f48 h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.r31f48 p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* 内容文章 */
.ceib53m {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.ceib53m h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.ceib53m h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.ceib53m p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.9;
}

.ceib53m img {
    border-radius: 10px;
    margin: 20px 0;
}

/* 懒加载占位 */
.obvuux {
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* MCP前端代码区域 */
.ix35wh {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.ix35wh pre {
    background: var(--bg-dark);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.85rem;
    color: var(--accent);
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
    .r43cap {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        border-top: 1px solid var(--border-color);
    }

    .r43cap.active {
        display: flex;
    }

    .r43cap a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .x3qt840w {
        display: block;
    }

    .dzyf7cpc h1 {
        font-size: 1.8rem;
    }

    .xfzmx7 {
        min-height: 400px;
    }

    .yxzzret h2 {
        font-size: 1.5rem;
    }

    .pyldk9x {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .ogl7n3 {
        gap: 20px;
    }

    .nsx9pwq .j4g81v1 {
        font-size: 1.6rem;
    }

    .tx81vj {
        grid-template-columns: 1fr;
    }

    .ljoq60r {
        padding: 8px 15px;
    }

    .n00ou3m1 {
        margin-top: 62px;
    }
}

@media (max-width: 480px) {
    .dzyf7cpc h1 {
        font-size: 1.5rem;
    }

    .dzyf7cpc p {
        font-size: 0.95rem;
    }

    .rkwnqnv, .drxtx36o {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .pyldk9x {
        grid-template-columns: 1fr;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}
