/* 福利姬 全站样式表 */
/* 网站：abb123.cn */

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 15px 0;
    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;
}

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

.logo img {
    height: 45px;
    border-radius: 10px;
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

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

.search-box input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    color: #fff;
    width: 200px;
    outline: none;
}

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

.search-box button {
    border: none;
    background: transparent;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1rem;
}

/* 面包屑导航 */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-list a {
    color: #ff6b9d;
}

.update-badge {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #8b5cf6 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-tags .tag {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.hero-tags .tag.hot {
    background: #ff4757;
}

.hero-tags .tag.new {
    background: #2ed573;
}

.hero-tags .tag.video {
    background: #3742fa;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

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

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

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

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 通用区块样式 */
.video-section,
.featured-section,
.features-section,
.entertainment-section,
.ai-section,
.community-section,
.creators-section,
.experts-section,
.reviews-section,
.partners-section,
.faq-section {
    padding: 60px 0;
}

.video-section,
.ai-section,
.reviews-section {
    background: #f8f9fa;
}

.featured-section,
.entertainment-section,
.community-section,
.experts-section,
.partners-section {
    background: #fff;
}

.features-section {
    background: #fff5f8;
}

.faq-section {
    background: #f0f0f5;
}

.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;
}

/* 分类网格 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

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

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

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

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

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

.category-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: #fff;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

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

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

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 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%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

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

.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-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: #fff;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.85rem;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

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

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

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

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

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

/* 创作者网格 */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

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

.creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #ff6b9d;
}

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

.creator-card .role {
    color: #ff6b9d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

.expert-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.expert-card img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
}

.expert-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 5px;
}

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

.expert-info .credentials {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.expert-info .expertise {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}

/* 评价网格 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

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

.review-card .stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-card .author {
    color: #999;
    font-size: 0.9rem;
}

/* 合作伙伴 */
.partners-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.partners-info p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

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

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b9d;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

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

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

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    color: #ff6b9d;
    transition: transform 0.3s ease;
}

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

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

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

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

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

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

.contact-card h4 {
    color: #333;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
    line-height: 1.7;
}

.footer-brand .company-info {
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

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

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

.footer-qrcode img {
    width: 120px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* 社交分享 */
.social-share {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

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

/* 懒加载动画 */
.lazy-load {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-load.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .experts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .main-nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .search-box {
        width: 100%;
        order: 3;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .expert-card {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-card img {
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-num {
        font-size: 1.8rem;
    }
    
    .breadcrumb .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .video-grid,
    .features-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}
