/* 91 品牌修车改装视频社区 - 原创样式表 */
/* 配色方案：赛车红 #E63946 / 深蓝 #1D3557 / 橙黄 #F4A261 / 浅灰白 #F1FAEE / 深灰黑 #2B2D42 */

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

:root {
    --primary: #E63946;
    --secondary: #1D3557;
    --accent: #F4A261;
    --bg-light: #F1FAEE;
    --text-dark: #2B2D42;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --shadow: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.18);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

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

/* 头部导航 */
.site-header {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

.site-logo img {
    height: 50px;
    width: auto;
}

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

.main-nav a {
    color: var(--white);
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.search-bar {
    background: rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
}

.search-bar .container {
    display: flex;
    justify-content: center;
}

.search-box {
    display: flex;
    max-width: 560px;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 10px 18px;
    border: 2px solid var(--primary);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 0.95rem;
    outline: none;
    background: var(--white);
    color: var(--text-dark);
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-box button {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.search-box button:hover {
    background: #C1121F;
}

/* Banner区域 */
.hero-banner {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29,53,87,0.85) 0%, rgba(230,57,70,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 24px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(230,57,70,0.4);
}

.hero-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(244,162,97,0.4);
}

/* 通用模块标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.section-title .highlight {
    color: var(--primary);
    font-weight: 700;
}

/* 内容区块 */
.section {
    padding: 70px 0;
}

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

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

.section-dark .section-title h2 {
    color: var(--white);
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.7);
}

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

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 22px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-card:hover .play-btn,
.play-btn.hover-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse-play 1.2s infinite;
}

.video-info {
    padding: 18px 20px;
}

.video-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

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

.video-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(230,57,70,0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 8px;
}

/* 专家卡片 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.expert-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.expert-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--primary);
}

.expert-card h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.expert-card .role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.expert-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.expert-card .btn-sm {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.expert-card .btn-sm:hover {
    background: var(--secondary);
}

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

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

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 24px 18px;
    max-height: 300px;
}

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

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.review-card .stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.review-card .reviewer {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* 合作品牌墙 */
.partners-section img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.ai-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #264653 100%);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--white);
    transition: var(--transition);
}

.ai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29,53,87,0.4);
}

.ai-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.ai-card p {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* 社区功能 */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.community-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.community-item:hover {
    transform: translateY(-4px);
    border-bottom: 3px solid var(--primary);
}

.community-item .icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.community-item h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.community-item p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

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

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-card h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 页脚 */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.footer-col p,
.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 2;
    display: block;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-col img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-top: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .update-time {
    margin-top: 6px;
    color: rgba(255,255,255,0.4);
}

/* 社交分享 */
.share-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00A1D6; }

.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    color: var(--white);
}

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

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

.breadcrumb span {
    margin: 0 8px;
    color: var(--gray-300);
}

/* How-To指南 */
.howto-steps {
    max-width: 700px;
    margin: 0 auto;
}

.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.92rem;
    color: var(--gray-600);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* 响应式 */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero-banner {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

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

@media (max-width: 576px) {
    .hero-banner {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

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

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

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

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

/* 懒加载占位 */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-src].loaded {
    opacity: 1;
}

/* 内页标题区 */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #264653 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

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

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.8;
}

/* 内容文章 */
.content-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-article h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 30px 0 14px;
}

.content-article h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 24px 0 10px;
}

.content-article p {
    margin-bottom: 16px;
    line-height: 1.8;
}

/* MCP前端代码区域 */
.mcp-widget {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}

.mcp-widget h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.mcp-widget .mcp-status {
    display: inline-block;
    padding: 4px 12px;
    background: #28A745;
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
}


/* ===== 新增样式：娱乐专区短视频网格 ===== */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.short-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.short-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.short-card h4 {
    padding: 12px 10px 4px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.short-card .video-tag {
    margin-bottom: 12px;
}

.short-thumb {
    position: relative;
    width: 100%;
    padding-top: 177%;
    overflow: hidden;
    background: #111;
}

.short-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.short-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.short-thumb:hover .play-btn,
.short-thumb .play-btn.hover-active {
    opacity: 1;
    animation: pulse-play 1.2s infinite;
}

.short-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}


.play-icon {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-thumb:hover .play-btn,
.play-btn.hover-active {
    opacity: 1;
    animation: pulse-play 1.2s infinite;
}

@keyframes pulse-play {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
    50% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
    100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    z-index: 5;
}

.video-author {
    color: var(--primary);
    font-weight: 600;
}

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

/* ===== 时效性标记条 ===== */
.freshness-bar {
    padding: 12px 0 !important;
    background: linear-gradient(90deg, var(--primary) 0%, #C1121F 100%);
}

.freshness-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.9rem;
}

.fresh-badge {
    background: var(--accent);
    color: var(--text-dark);
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ===== 专家认证标签 ===== */
.expert-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.expert-certs span {
    background: var(--bg-light);
    color: var(--secondary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--gray-300);
}

/* ===== 法律声明栏 ===== */
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--gray-600);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ===== 视频播放弹窗 ===== */
.video-play-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-play-modal {
    background: #1a1a1a;
    border-radius: var(--radius);
    width: 90%;
    max-width: 720px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-play-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--secondary);
    color: white;
    font-weight: 600;
}

.video-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}

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

.video-play-body {
    padding: 0;
}

.video-player-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    color: white;
}

.video-player-placeholder p {
    margin-top: 16px;
    font-size: 0.95rem;
    text-align: center;
    padding: 0 20px;
}

.video-player-placeholder .video-tip {
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-top: 8px;
}

.video-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== 导航滚动增强 ===== */
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ===== Hero标签 ===== */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
    justify-content: center;
}

.hero-tags span {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.hero-desc {
    max-width: 700px;
    margin: 0 auto;
}

/* ===== 响应式补充 ===== */
@media (max-width: 768px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .freshness-inner {
        font-size: 0.8rem;
    }
    .hero-tags {
        gap: 6px;
    }
    .hero-tags span {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    .footer-legal {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .freshness-inner {
        flex-wrap: wrap;
    }
}
