/* 
 * 蘑菇视频 (dlukcnq.cn) 原创汽车改装主题样式表
 * 配色方案：竞速橙(#FF6600) + 碳纤维黑(#1A1A1A) + 金属灰(#E0E0E0)
 */

:root {
    --primary-color: #FF6600; /* 竞速橙 */
    --primary-hover: #E65C00;
    --bg-dark: #111111; /* 深邃黑 */
    --bg-card: #1A1A1A; /* 碳纤维黑 */
    --bg-alt: #222222;
    --text-main: #F0F0F0;
    --text-muted: #A0A0A0;
    --border-color: #333333;
    --font-family: 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

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

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

ul {
    list-style: none;
}

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

/* 按钮样式 */
.btn, .btn-sm {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-orange, .btn-orange-sm {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-orange:hover, .btn-orange-sm:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-outline, .btn-outline-sm {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover, .btn-outline-sm:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 头部导航 */
#site-header {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-area img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, #FF6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 24px;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

.search-inner {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 12px;
}

#search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 4px 8px;
    outline: none;
    width: 180px;
}

#search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

#search-btn:hover {
    color: var(--primary-color);
}

#nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

#nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* 面包屑 */
.breadcrumb {
    padding: 100px 20px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.breadcrumb .sep {
    margin: 0 8px;
}

/* Hero Banner */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

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

.hero-body {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 80px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tag {
    background-color: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

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

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

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* 视频专区 */
.video-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: var(--primary-color);
}

.video-thumb {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.play-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

/* AI赋能 */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ai-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.ai-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.ai-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.ai-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* 社区 */
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.comm-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, #2a2a2a 100%);
    padding: 30px 20px;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.comm-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.comm-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* 专家团队 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expert-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
}

.expert-avatar {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.expert-info {
    padding: 25px 20px;
}

.expert-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

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

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

.expert-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* 合作与互动 */
.partner-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.partner-item {
    background-color: var(--bg-card);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.partner-item:hover {
    color: #fff;
    border-color: var(--primary-color);
}

.howto-section h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

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

.step-card {
    text-align: center;
    position: relative;
}

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

.step-card h4 {
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* FAQ与评价 */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.faq-column h2, .reviews-column h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

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

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

.faq-question:hover {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 20px;
    color: var(--primary-color);
}

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

.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-card {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 15px;
}

.reviewer {
    color: var(--text-muted);
    font-size: 13px;
    text-align: right;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 12px;
    color: var(--text-main);
}

.contact-info strong {
    color: var(--text-muted);
}

.contact-community {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.contact-community h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

/* 底部 */
#site-footer {
    background-color: #000;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 20px 0;
}

.footer-share {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-links h3, .footer-contact h3, .footer-qrcode h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.qr-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #fff;
    margin-bottom: 5px;
    border-radius: 4px;
}

.qr-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 12px;
}

/* 视频播放弹窗 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: var(--primary-color);
}

.mock-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
}

.mock-player h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.mock-player p {
    color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-title { font-size: 36px; }
    .ai-grid, .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .community-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2col { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    #main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
    }
    
    #main-nav.active { left: 0; }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    #nav-toggle { display: flex; }
    
    .hero-title { font-size: 28px; }
    .ai-grid, .expert-grid, .community-grid, .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}
