/* 糖心vlog - 主样式文件 */
/* 品牌：糖心vlog | 域名：jp256.cn */

/* ===== 基础重置 ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

ul, ol {
    list-style: none;
}

/* ===== 容器 ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== 头部导航 ===== */
.header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

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

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

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

.nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== 搜索框 ===== */
.search-bar {
    background: linear-gradient(135deg, #ff8a80 0%, #ffab91 100%);
    padding: 15px 0;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-btn {
    background: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #ff6b9d;
    transition: transform 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #ff6b9d;
}

.breadcrumb span {
    color: #666;
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-bg {
    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(255,107,157,0.7) 0%, rgba(255,138,128,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-block;
    background: #fff;
    color: #ff6b9d;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== 章节通用样式 ===== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.section-alt {
    background: #f8f9fa;
}

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

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.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: transform 0.3s ease;
}

.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,107,157,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #999;
    font-size: 0.85rem;
}

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

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

.video-tag {
    background: #fff0f5;
    color: #ff6b9d;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* ===== 专家展示 ===== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.expert-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid #ff6b9d;
}

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

.expert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.expert-title {
    color: #ff6b9d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.expert-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background: #fff;
    color: #ff6b9d;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid #ff6b9d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ff6b9d;
    color: #fff;
}

/* ===== 合作品牌 ===== */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logos img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== 用户评价 ===== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.review-user h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.review-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-content {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #ff6b9d;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* ===== 联系我们 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
}

.qrcode-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.qrcode-item img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qrcode-item p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== 社交分享 ===== */
.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-wechat { background: #07c160; }
.social-weibo { background: #e6162d; }
.social-douyin { background: #000; }
.social-bilibili { background: #fb7299; }

/* ===== 页脚 ===== */
.footer {
    background: #2d3436;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ff6b9d;
}

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

.footer-col ul li a {
    color: #b2bec3;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ff6b9d;
}

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

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

.footer-desc {
    color: #b2bec3;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #636e72;
    padding-top: 20px;
    text-align: center;
    color: #b2bec3;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ff6b9d;
}

.update-time {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* ===== 功能模块 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== 统计数据 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #ff6b9d;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
}

/* ===== 内页样式 ===== */
.page-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

/* ===== 工具卡片 ===== */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-thumb {
    height: 180px;
    overflow: hidden;
}

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

.tool-info {
    padding: 20px;
}

.tool-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tool-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ===== 社区帖子 ===== */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    flex-shrink: 0;
}

.post-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.post-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 0.85rem;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-input {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* ===== 懒加载占位 ===== */
.lazy-load {
    background: #f0f0f0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== 视频播放器样式 ===== */
.video-player-wrap {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-player-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== 直播标签 ===== */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== 热门标签 ===== */
.hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== 美图展示网格 ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    padding-top: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== 专家卡片增强 ===== */
.expert-credential {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    display: inline-block;
}

.expert-achievement {
    font-size: 0.8rem;
    color: #ff6b9d;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.5;
}

/* ===== 功能卡片网格 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== 工具卡片 ===== */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tool-thumb {
    height: 200px;
    overflow: hidden;
}

.tool-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tool-info {
    padding: 20px;
}

.tool-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tool-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ===== 帖子列表 ===== */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.post-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    flex-shrink: 0;
}

.post-content {
    flex: 1;
}

.post-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ff6b9d;
}

.post-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* ===== 联系卡片 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* ===== 二维码 ===== */
.qrcode-wrap {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

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

.qrcode-item img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qrcode-item p {
    color: #666;
    font-size: 0.9rem;
}

/* ===== 合作品牌描述 ===== */
.partner-desc {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
}

.partner-desc p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== 页面头部 ===== */
.page-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== 热门/直播徽章 ===== */
.hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===== 页脚 ===== */
.footer {
    background: #2d2d2d;
    color: #ccc;
    padding: 50px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-logo img {
    border-radius: 50%;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
}

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

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

.footer-col ul li a {
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ff6b9d;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: #ff6b9d;
}

.update-time {
    margin-top: 10px;
    color: #999;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .feature-grid,
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .tool-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-wrap {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .post-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        height: 350px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}
