/* 爆料吃瓜网 - 原创配色与布局 CSS */
:root {
    --color-orange: #FF6B35;
    --color-navy: #1A2332;
    --color-silver: #E8E8E8;
    --color-white: #FFFFFF;
    --color-dark: #333333;
    --color-light: #F5F5F5;
    --font-main: "Microsoft YaHei", "PingFang SC", sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.bg-light {
    background-color: var(--color-white);
}

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

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1rem; }

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #e55a2b;
    color: var(--color-white);
}

.btn-outline {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-small {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    background-color: var(--color-orange);
    color: var(--color-white);
    margin-right: 10px;
}

/* 头部导航 */
.site-header {
    background-color: var(--color-navy);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-name {
    font-size: 24px;
    color: var(--color-orange);
    margin: 0;
    line-height: 1.2;
}

.logo-slogan {
    font-size: 12px;
    color: var(--color-silver);
}

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

.nav-item a {
    color: var(--color-white);
    font-weight: bold;
    padding: 10px 0;
    position: relative;
}

.nav-item a:hover, .nav-item a.active {
    color: var(--color-orange);
}

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

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

.search-box {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.search-box input {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: var(--color-white);
    outline: none;
    width: 200px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    color: var(--color-orange);
}

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

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* 面包屑 */
.breadcrumb-container {
    background-color: var(--color-silver);
    padding: 15px 0;
}

.breadcrumb {
    font-size: 14px;
}

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

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

.separator {
    margin: 0 10px;
    color: #999;
}

.current {
    color: var(--color-orange);
    font-weight: bold;
}

/* Hero Banner */
.hero-section {
    position: relative;
    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(26,35,50,0.9) 0%, rgba(26,35,50,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.hero-desc {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--color-silver);
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* 标题通用 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: var(--color-orange);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.bg-dark .section-title {
    color: var(--color-orange);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.bg-dark .section-subtitle {
    color: var(--color-silver);
}

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

.video-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.bg-dark .video-card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

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

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

.play-btn {
    width: 60px;
    height: 60px;
    background-color: var(--color-orange);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    padding-left: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(255,107,53,0.6);
}

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

.video-info {
    padding: 20px;
}

.video-tag {
    display: inline-block;
    color: var(--color-orange);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    border: 1px solid var(--color-orange);
    padding: 2px 8px;
    border-radius: 4px;
}

.video-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--color-dark);
}

.bg-dark .video-title {
    color: var(--color-white);
}

.video-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.video-desc {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-dark .video-desc {
    color: #aaa;
}

/* 双栏布局 */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-list {
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--color-navy);
    font-weight: bold;
}

.ai-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ai-info {
    padding: 30px;
}

.ai-info h3 {
    color: var(--color-orange);
    margin-bottom: 15px;
}

/* 专家网格 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expert-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange);
}

.expert-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.expert-info {
    padding: 25px;
}

.expert-name {
    font-size: 24px;
    color: var(--color-orange);
    margin-bottom: 5px;
}

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

.expert-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 60px;
}

/* 社区横幅 */
.community-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.full-width-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.community-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(26,35,50,0.9), transparent);
    color: var(--color-white);
}

.community-text h3 {
    font-size: 28px;
    color: var(--color-orange);
    margin-bottom: 10px;
}

/* 品牌墙 */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-logo {
    width: 150px;
    height: 80px;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: var(--color-navy);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--color-silver);
    transition: var(--transition);
}

.brand-logo:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

/* 用户评价 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--color-orange);
}

.stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--color-silver);
    margin-bottom: 20px;
    min-height: 80px;
}

.reviewer-name {
    display: block;
    color: var(--color-white);
    font-weight: bold;
}

.reviewer-tag {
    font-size: 12px;
    color: var(--color-orange);
}

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

.faq-item {
    background: var(--color-white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: var(--color-navy);
    margin: 0;
    transition: var(--transition);
}

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

.toggle-icon {
    font-size: 24px;
    color: var(--color-orange);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #666;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* 底部区域 */
.site-footer {
    background-color: #0d121a;
    color: var(--color-silver);
    padding-top: 60px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

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

.footer-logo h2 {
    color: var(--color-orange);
    margin: 0;
}

.brand-desc {
    font-size: 14px;
    margin-bottom: 20px;
    color: #aaa;
}

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

.social-btn {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #555;
    border-radius: 20px;
    font-size: 12px;
    color: #aaa;
}

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

.footer-col h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-orange);
}

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

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
}

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

.contact-list li {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.contact-list strong {
    color: var(--color-white);
}

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

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

.qr-placeholder {
    width: 80px;
    height: 80px;
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 5px;
    background-image: repeating-linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), repeating-linear-gradient(45deg, #ccc 25%, #fff 25%, #fff 75%, #ccc 75%, #ccc);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.footer-bottom {
    background-color: #080c12;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.update-time {
    margin-top: 5px;
    color: var(--color-orange);
}

/* MCP 悬浮部件 */
.mcp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    cursor: pointer;
}

.mcp-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(255,107,53,0.5);
    animation: pulse 2s infinite;
}

.mcp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-navy);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mcp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-navy);
}

.mcp-widget:hover .mcp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,107,53,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255,107,53,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .two-col-layout {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--color-navy);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .nav-list.show {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .search-box {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
}
