/* 大象传媒 修车改装视频社区 - 全站样式 */
/* 原创配色: 深碳灰 #1a1a2e | 赛道红 #e63946 | 钛金银 #a8b2c1 | 暗夜蓝 #16213e | 亮白 #f1faee */

:root {
    --carbon: #1a1a2e;
    --racing-red: #e63946;
    --titanium: #a8b2c1;
    --midnight: #16213e;
    --bright: #f1faee;
    --accent-gold: #f4a261;
    --dark-surface: #0d1117;
    --card-bg: #1e2a3a;
    --text-primary: #e8edf3;
    --text-secondary: #8b95a5;
    --border-color: #2a3a4e;
    --gradient-start: #e63946;
    --gradient-end: #f4a261;
}

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

a { color: var(--racing-red); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-gold); }

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

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

/* 头部导航 */
.site-header {
    background: linear-gradient(180deg, var(--carbon) 0%, var(--midnight) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--racing-red);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.adz1jh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

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

.zr5rci img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.zr5rci h1 {
    font-size: 1.6rem;
    color: var(--bright);
    font-weight: 800;
    letter-spacing: 2px;
}

.zr5rci h1 span { color: var(--racing-red); }

.nav-main {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.nav-main a {
    color: var(--text-primary);
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--racing-red);
    background: rgba(230,57,70,0.1);
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--racing-red);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-main a:hover::after { width: 80%; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bright);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* 搜索框 */
.ld419hp {
    background: var(--midnight);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.hgtqwt {
    flex: 1;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}

.hgtqwt input {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px 0 0 25px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.hgtqwt input:focus { border-color: var(--racing-red); }

.hgtqwt input::placeholder { color: var(--text-secondary); }

.urya1u {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.urya1u:hover { opacity: 0.85; }

/* Banner */
.0ujc7 {
    position: relative;
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.0ujc7 .1iz6x {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.pse6ctq {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.pse6ctq h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    line-height: 1.3;
}

.pse6ctq h2 span { color: var(--racing-red); }

.pse6ctq p {
    font-size: 1.15rem;
    color: var(--titanium);
    margin-bottom: 28px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230,57,70,0.4);
    color: #fff;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--racing-red);
    color: var(--racing-red);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-left: 12px;
}

.btn-outline:hover {
    background: var(--racing-red);
    color: #fff;
}

/* 通用区块 */
.section {
    padding: 70px 0;
}

.section-dark { background: var(--dark-surface); }
.section-alt { background: var(--carbon); }
.section-midnight { background: var(--midnight); }

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--bright);
}

.section-header h2 span { color: var(--racing-red); }

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.section-header .tag {
    display: inline-block;
    background: rgba(230,57,70,0.15);
    color: var(--racing-red);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.4gtzf755 {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.4gtzf755:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.34h9q {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.34h9q img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.4gtzf755:hover .34h9q img { transform: scale(1.08); }

.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(230,57,70,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}

.play-btn::after {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

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

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

.9lrlax { padding: 16px; }

.9lrlax h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bright);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kp3mn {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.kp3mn span { display: flex; align-items: center; gap: 4px; }

.lzt8rfi {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.lzt8rfi span {
    background: rgba(230,57,70,0.12);
    color: var(--racing-red);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* 短视频风格 */
.zv4vf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.nbjg1a {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9/14;
    cursor: pointer;
}

.nbjg1a img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.nbjg1a:hover img { transform: scale(1.05); }

.ouu935zh {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.ouu935zh h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.ouu935zh .views {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}

.nbjg1a .play-btn {
    width: 48px; height: 48px;
}

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

.f8unk {
    background: linear-gradient(145deg, var(--card-bg), var(--midnight));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.f8unk:hover {
    transform: translateY(-5px);
    border-color: var(--racing-red);
}

.7nxv9r84 {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.f8unk h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--bright);
}

.f8unk p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

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

.rpeinq {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
    text-align: center;
}

.rpeinq:hover { transform: translateY(-5px); }

.rpeinq .avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    margin: 24px auto 16px;
    border: 3px solid var(--racing-red);
    object-fit: cover;
}

.rpeinq h3 {
    font-size: 1.1rem;
    color: var(--bright);
    margin-bottom: 4px;
}

.rpeinq .role {
    color: var(--racing-red);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.rpeinq .bio {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.rpeinq .actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 20px 24px;
}

.rpeinq .actions a {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

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

.4x61g9 .mpn9k {
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--titanium);
    font-size: 1.1rem;
    font-weight: 700;
    transition: border-color 0.3s;
    min-width: 160px;
    text-align: center;
}

.4x61g9 .mpn9k:hover { border-color: var(--racing-red); }

/* FAQ */
.9mg6qqp { max-width: 800px; margin: 0 auto; }

.juo4da {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.e6l9tmn {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--bright);
    transition: background 0.3s;
}

.e6l9tmn:hover { background: rgba(230,57,70,0.08); }

.e6l9tmn .arrow {
    transition: transform 0.3s;
    color: var(--racing-red);
    font-size: 1.2rem;
}

.juo4da.open .e6l9tmn .arrow { transform: rotate(180deg); }

.pzp81d {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.pzp81d-inner {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.juo4da.open .pzp81d { max-height: 300px; }

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

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

.wqqjai {
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-size: 1rem;
}

.jv5qkor p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
}

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

.ffifv5 .avatar-sm {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.ffifv5 .name {
    font-weight: 700;
    color: var(--bright);
    font-size: 0.9rem;
}

.ffifv5 .date {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

/* How-To指南 */
.1mdvh {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.p5wupe0 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    counter-increment: step;
}

.p5wupe0::before {
    content: counter(step);
    position: absolute;
    top: -12px; left: 24px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.p5wupe0 h4 {
    margin-top: 8px;
    margin-bottom: 8px;
    color: var(--bright);
    font-size: 1rem;
}

.p5wupe0 p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, var(--carbon) 0%, #0a0a16 100%);
    padding: 60px 0 0;
    border-top: 2px solid var(--racing-red);
}

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

.cd0ffy3 h4 {
    color: var(--bright);
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--racing-red);
    display: inline-block;
}

.cd0ffy3 p,
.cd0ffy3 li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 2;
}

.cd0ffy3 ul { list-style: none; }

.cd0ffy3 ul li a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.cd0ffy3 ul li a:hover { color: var(--racing-red); }

.hav2fcun {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.hav2fcun .qr-item {
    text-align: center;
}

.hav2fcun .qr-item img {
    width: 100px; height: 100px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.hav2fcun .qr-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.0nji1 {
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.0nji1 a {
    color: var(--text-secondary);
    margin: 0 4px;
}

.0nji1 a:hover { color: var(--racing-red); }

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

.6s9osa9 a { color: var(--racing-red); }

/* 社交分享 */
.mg92tth0 {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.6mjxwqc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.3s;
}

.6mjxwqc:hover { opacity: 0.8; color: #fff; }
.6mjxwqc.wechat { background: #07c160; }
.6mjxwqc.weibo { background: #e6162d; }
.6mjxwqc.douyin { background: #161823; border: 1px solid #444; }
.6mjxwqc.bilibili { background: #00a1d6; }

/* 面包屑 */
.breadcrumb {
    padding: 14px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.breadcrumb a { color: var(--titanium); }
.breadcrumb a:hover { color: var(--racing-red); }
.breadcrumb span { margin: 0 8px; }

/* 内页通用 */
.page-hero {
    background: linear-gradient(135deg, var(--carbon), var(--midnight));
    padding: 60px 0 40px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-hero h1 span { color: var(--racing-red); }

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.content-area {
    padding: 50px 0;
}

.content-area h2 {
    font-size: 1.6rem;
    color: var(--bright);
    margin-bottom: 16px;
}

.content-area h2 span { color: var(--racing-red); }

.content-area h3 {
    font-size: 1.25rem;
    color: var(--bright);
    margin: 24px 0 12px;
}

.content-area p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* 统计数据 */
.zziaglt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.91vxp2 {
    text-align: center;
    padding: 20px;
}

.91vxp2 .num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--racing-red);
    display: block;
}

.91vxp2 .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* 联系信息 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

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

.contact-card h3 {
    color: var(--bright);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.contact-card .info-line {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.contact-card .info-line strong { color: var(--bright); min-width: 70px; }

/* 响应式 */
@media (max-width: 768px) {
    .adz1jh { flex-wrap: wrap; }

    .nav-main {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--carbon);
        padding: 10px 0;
    }

    .nav-main.open { display: flex; }

    .nav-main a { padding: 12px 20px; }

    .mobile-toggle { display: block; }

    .0ujc7 { height: 50vh; min-height: 360px; }

    .pse6ctq h2 { font-size: 1.8rem; }

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

    .zv4vf { grid-template-columns: repeat(2, 1fr); }

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

    .zziaglt { grid-template-columns: repeat(2, 1fr); }

    .section { padding: 40px 0; }

    .section-header h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .zv4vf { grid-template-columns: repeat(2, 1fr); }
    .pse6ctq h2 { font-size: 1.5rem; }
    .zr5rci h1 { font-size: 1.2rem; }
}

/* 懒加载占位 - 默认显示，加载后平滑过渡 */
img[loading="lazy"] {
    opacity: 1;
}

img.loaded {
    opacity: 1;
}

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

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

/* 内页列表 */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.list-item {
    display: flex;
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.3s;
}

.list-item:hover { transform: translateY(-3px); }

.list-item .thumb {
    width: 140px;
    min-width: 140px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.list-item .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.list-item .info h3 {
    font-size: 0.95rem;
    color: var(--bright);
    margin-bottom: 6px;
}

.list-item .info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
