/* 溏心 溏心 - 汽车改装与视频社区 */
:root {
    --primary-color: #ff5722; /* 活力橙 */
    --secondary-color: #00bcd4; /* 科技青 */
    --bg-color: #121212; /* 深邃黑 */
    --surface-color: #1e1e24;
    --text-color: #e0e0e0;
    --text-muted: #9e9e9e;
    --border-color: #333;
    --font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

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

/* Header & Navigation */
.header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* 伪搜索框 */
.search-box {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
}

.search-form {
    display: flex;
    background: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: var(--text-color);
    outline: none;
}

.search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: bold;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 20px;
    font-size: 14px;
    color: var(--text-muted);
}

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

.breadcrumb span {
    margin: 0 8px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(18,18,18,1));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #eee;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
    color: #fff;
}

/* Section Title */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #fff;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    margin-top: 10px;
}

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

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Video Cards */
.video-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    cursor: pointer;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 87, 34, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.play-btn::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    margin-left: 5px;
}

.video-thumb:hover .play-btn {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.video-tags {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 87, 34, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Feature Cards */
.feature-card {
    background: var(--surface-color);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 188, 212, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #fff;
}

/* Expert Cards */
.expert-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
}

.expert-img {
    height: 200px;
    overflow: hidden;
}

.expert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    padding: 20px;
}

.expert-info h3 {
    color: #fff;
    margin-bottom: 5px;
}

.expert-title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.expert-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-q {
    padding: 15px 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q::after {
    content: '+';
    color: var(--primary-color);
    font-size: 20px;
}

.faq-a {
    padding: 0 20px 15px;
    color: var(--text-muted);
    display: none;
}

/* Reviews */
.review-card {
    background: var(--surface-color);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.user-info h4 {
    color: #fff;
    margin: 0;
}

.user-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.review-text {
    font-style: italic;
    color: #ccc;
}

/* Contact Section */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.qr-codes {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

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

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

.qr-item p {
    margin-top: 10px;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 14px;
}

/* Share Bar */
.share-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.share-item {
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.share-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Page Content */
.page-header {
    background: var(--surface-color);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.page-content {
    padding: 60px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }
    .nav-links a {
        font-size: 14px;
        padding: 5px 10px;
    }
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .grid-3, .grid-4, .contact-wrap, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* 修复内页两列布局在移动端的显示 */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns:repeat(4,1fr)"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns:2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .share-bar {
        display: none;
    }
    
    .video-card .video-thumb {
        height: 200px;
    }
}

/* Style Utils 2wtyv */
.ybb77y-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
