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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hjunuk66 .pnbuwotw:hover {
    background: var(--accent);
}

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

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

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

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

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

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

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

.shda6 .ei0481 {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.n5je1utm:hover .nxp8jzw img {
    transform: scale(1.08);
}

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

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

.n5je1utm .qg7f4o1v::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;
}

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

.n5je1utm .blomz {
    padding: 16px;
}

.n5je1utm .blomz 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;
}

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

.n5je1utm .v1lyr49 .d5ylhe {
    display: flex;
    align-items: center;
    gap: 4px;
}

.n5je1utm .obs8wkg {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

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

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

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

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

.kq7xq0s .cm0147p:hover {
    color: var(--secondary);
}

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

.kq7xq0s.active .cm0147p .t7nds9 {
    transform: rotate(45deg);
}

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

.kq7xq0s.active .b52wt7bq {
    max-height: 300px;
    padding: 0 20px 18px;
}

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

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

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

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

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

.tff3ugi7 .v1gbx .name {
    font-weight: 600;
    font-size: 0.95rem;
}

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

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

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

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

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

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

.dicen .p0k7maxp {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.dicen .tz24r3e {
    padding: 20px;
}

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

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

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

.dicen .a08d6b {
    display: flex;
    gap: 8px;
    justify-content: center;
}

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

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

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

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

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

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

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

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

.okgu1b1p .fcuo28p8 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

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

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

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

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

.z0ccq .uxqa10 {
    font-size: 2rem;
    margin-bottom: 12px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ow2bdh {
    text-align: center;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .nzzie74.active {
        display: flex;
    }

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

    .pjbk2x2 {
        display: block;
    }

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

    .lb64w {
        min-height: 400px;
    }

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

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

    .iuncqv {
        gap: 20px;
    }

    .ow2bdh .rwwplp {
        font-size: 1.6rem;
    }

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

    .tan2q {
        padding: 8px 15px;
    }

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

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

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

    .d1ddk, .uh66yp46 {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

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