/* 玩物社区汽车改装社区 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Microsoft YaHei', Arial, sans-serif; 
    background: #0a0e27; 
    color: #e0e0e0; 
    line-height: 1.6;
}
header { 
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b69 100%); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,150,255,0.2);
}
.header-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.logo { 
    font-size: 24px; 
    font-weight: bold; 
    color: #00d4ff; 
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img { width: 40px; height: 40px; }
nav ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    align-items: center;
}
nav a { 
    color: #e0e0e0; 
    text-decoration: none; 
    transition: color 0.3s;
    font-weight: 500;
}
nav a:hover { color: #00d4ff; }
.search-box {
    background: rgba(0,212,255,0.1);
    border: 1px solid #00d4ff;
    padding: 8px 15px;
    border-radius: 20px;
    color: #e0e0e0;
    width: 200px;
    cursor: pointer;
}
.hero { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('${IMAGES["hero"]}') center/cover; 
    color: white; 
    padding: 100px 20px; 
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h1 { 
    font-size: 48px; 
    margin-bottom: 20px; 
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    color: #00d4ff;
}
.hero p { 
    font-size: 20px; 
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}
.section { 
    max-width: 1200px; 
    margin: 60px auto; 
    padding: 0 20px;
}
.section-title { 
    font-size: 32px; 
    margin-bottom: 30px; 
    color: #00d4ff;
    border-left: 4px solid #ff6b00;
    padding-left: 15px;
}
.video-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px;
}
.video-card { 
    background: #1a1f3a; 
    border-radius: 8px; 
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2d1b69;
}
.video-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}
.video-thumbnail { 
    position: relative; 
    width: 100%; 
    height: 180px; 
    background: #0a0e27;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}
.video-thumbnail img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}
.play-button { 
    position: absolute; 
    width: 60px; 
    height: 60px; 
    background: rgba(0,212,255,0.9); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}
.video-card:hover .play-button { opacity: 1; }
.play-button::after { 
    content: '▶'; 
    color: white; 
    font-size: 24px; 
    margin-left: 4px;
}
.video-info { 
    padding: 15px;
}
.video-title { 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 8px;
    color: #00d4ff;
}
.video-stats { 
    font-size: 12px; 
    color: #999;
}
.expert-section { 
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b69 100%);
    padding: 40px 20px;
    border-radius: 8px;
    margin: 40px 0;
}
.expert-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
}
.expert-card { 
    background: #0a0e27; 
    padding: 20px; 
    border-radius: 8px;
    text-align: center;
    border: 1px solid #00d4ff;
}
.expert-card h3 { 
    color: #00d4ff; 
    margin: 10px 0;
}
.expert-card p { 
    font-size: 14px; 
    color: #999;
}
.faq-item { 
    background: #1a1f3a; 
    padding: 20px; 
    margin: 15px 0; 
    border-left: 4px solid #ff6b00;
    border-radius: 4px;
}
.faq-item h4 { 
    color: #00d4ff; 
    margin-bottom: 10px;
}
.faq-item p { 
    color: #ccc;
}
.review-item { 
    background: #1a1f3a; 
    padding: 20px; 
    margin: 15px 0; 
    border-radius: 8px;
    border-left: 4px solid #ff6b00;
}
.review-author { 
    color: #00d4ff; 
    font-weight: bold;
}
.review-text { 
    margin-top: 10px; 
    color: #ccc;
}
footer { 
    background: #0a0e27; 
    border-top: 1px solid #2d1b69; 
    padding: 40px 20px; 
    text-align: center;
    color: #999;
}
.footer-content { 
    max-width: 1200px; 
    margin: 0 auto;
}
.footer-info { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}
.footer-info h4 { 
    color: #00d4ff; 
    margin-bottom: 10px;
}
.footer-info p { 
    font-size: 14px;
}
.qrcode-section { 
    margin: 20px 0;
}
.qrcode-section img { 
    width: 100px; 
    height: 100px;
}
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .section-title { font-size: 24px; }
    nav ul { gap: 15px; }
    .search-box { width: 150px; }
    .video-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
