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

: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;
}

/* 头部导航 */
.nj51b {
    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);
}

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

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

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

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

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

.o4n75 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;
}

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

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

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

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

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

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

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

.txam3g3 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;
}

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

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

.txam3g3 .dvbtkv {
    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;
}

.txam3g3 .dvbtkv:hover {
    background: var(--accent);
}

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

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

.hp7x522l .k201qtq {
    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;
}

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

.dj2anm04 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);
}

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

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

.dj2anm04 .hvjdullj {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.mc08uy2n {
    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;
}

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

.o74yphhx {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.ldiv4e1l:hover .fs0l2z img {
    transform: scale(1.08);
}

.ldiv4e1l .fhgeuwo4 {
    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;
}

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

.ldiv4e1l .fhgeuwo4::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;
}

.ldiv4e1l .weczpf {
    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;
}

.ldiv4e1l .do93u {
    padding: 16px;
}

.ldiv4e1l .do93u 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;
}

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

.ldiv4e1l .inpv87v3 .l6b8x {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ldiv4e1l .d1s59 {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.ldiv4e1l .d1s59 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模块 */
.ibh7rg {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.igbe0 .i2r2w:hover {
    color: var(--secondary);
}

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

.igbe0.active .i2r2w .zrklmr1 {
    transform: rotate(45deg);
}

.igbe0 .kh1j4sh1 {
    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;
}

.igbe0.active .kh1j4sh1 {
    max-height: 300px;
    padding: 0 20px 18px;
}

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

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

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

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

.yo551 .gcxcy {
    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;
}

.yo551 .ca29wrc .name {
    font-weight: 600;
    font-size: 0.95rem;
}

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

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

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

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

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

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

.pc5p1wc4 .yxpcbiy5 {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.pc5p1wc4 .c955ne {
    padding: 20px;
}

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

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

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

.pc5p1wc4 .dry0com {
    display: flex;
    gap: 8px;
    justify-content: center;
}

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

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

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

.ybhdxa6a .on0rd {
    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);
}

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

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

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

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

.cj9ha .stx42at0 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

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

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

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

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

.qt3n00 .r1bp3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

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

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

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

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

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

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

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

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

.y6gesi {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

.aj5idrt .j0w997rv {
    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;
}

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

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

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

.u8ey7e5 {
    text-align: center;
}

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

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

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

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

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

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

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

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

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

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

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

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

.fm2pjy 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) {
    .o4n75 {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        border-top: 1px solid var(--border-color);
    }

    .o4n75.active {
        display: flex;
    }

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

    .ab8lctn {
        display: block;
    }

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

    .hp7x522l {
        min-height: 400px;
    }

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

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

    .gepx2v8 {
        gap: 20px;
    }

    .u8ey7e5 .smthb {
        font-size: 1.6rem;
    }

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

    .mvy5tuts {
        padding: 8px 15px;
    }

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

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

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

    .mc08uy2n, .o74yphhx {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .mnq7tm {
        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);
}
