/* 糖心vlog 全站样式表 */
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #fef6f9 0%, #f8f0ff 100%);
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.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 20px rgba(255,107,157,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

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

/* 搜索框 */
.search-box {
    background: rgba(255,255,255,0.95);
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 50px;
    box-shadow: 0 5px 30px rgba(255,107,157,0.2);
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.search-box button {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.3s;
}

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

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #c44569;
}

/* Hero区域 */
.hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 30px 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,157,0.85) 0%, rgba(196,69,105,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

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

.hero-btn {
    display: inline-block;
    background: #fff;
    color: #c44569;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}

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

.update-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 15px;
}

/* 页面头部Banner */
.page-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    border-radius: 20px;
}

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

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* 区块标题 */
.section {
    padding: 60px 0;
}

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

.section-title h2 {
    font-size: 32px;
    color: #c44569;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

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

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

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255,107,157,0.2);
}

.video-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

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

.play-btn::after {
    content: '';
    border-left: 18px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.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: 12px;
}

.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b9d;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
}

.video-info {
    padding: 15px;
}

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

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

.video-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* 分类卡片 */
.category-section {
    background: #fff;
    padding: 60px 0;
    border-radius: 20px;
    margin: 40px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.category-card {
    background: linear-gradient(135deg, #fff0f5 0%, #f8e8ff 100%);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,107,157,0.2);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}

.category-card span {
    font-size: 12px;
    color: #999;
}

/* 专家卡片 */
.expert-section {
    padding: 60px 0;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

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

.expert-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ff6b9d;
}

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

.expert-card .title {
    color: #c44569;
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.expert-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.expert-stats span {
    color: #999;
    font-size: 12px;
}

/* 特色功能区 */
.features-section {
    background: linear-gradient(135deg, #fff0f5 0%, #f8e8ff 100%);
    padding: 60px 0;
    border-radius: 20px;
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
}

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

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

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* 数据统计区 */
.stats-section {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 50px 0;
    border-radius: 20px;
    margin: 40px 0;
    color: #fff;
}

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

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* 筛选栏 */
.filter-bar {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-bar span {
    color: #666;
    font-size: 14px;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    background: #f5f5f5;
    color: #666;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a {
    padding: 10px 18px;
    background: #fff;
    border-radius: 8px;
    color: #666;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
}

/* 话题卡片 */
.topics-section {
    background: #fff;
    padding: 60px 0;
    border-radius: 20px;
    margin: 40px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.topic-card {
    background: linear-gradient(135deg, #fff0f5 0%, #f8e8ff 100%);
    border-radius: 12px;
    padding: 20px;
}

.topic-card h3 {
    color: #c44569;
    margin-bottom: 10px;
    font-size: 16px;
}

.topic-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.topic-stats {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 12px;
}

/* 直播卡片 */
.live-section {
    padding: 60px 0;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.live-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.live-thumbnail {
    position: relative;
    height: 160px;
}

.live-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    animation: pulse 2s infinite;
}

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

.live-viewers {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
}

.live-info {
    padding: 15px;
}

.live-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

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

.live-meta img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.live-meta span {
    color: #666;
    font-size: 13px;
}

/* 语音房间 */
.voice-section {
    background: linear-gradient(135deg, #fff0f5 0%, #f8e8ff 100%);
    padding: 60px 0;
    border-radius: 20px;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.voice-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.voice-card h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.voice-card p {
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
}

.voice-users {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.voice-users img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
}

.voice-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

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

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

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,107,157,0.2);
}

.tool-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.tool-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.tool-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

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

/* 收益卡片 */
.income-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.income-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.income-card h3 {
    color: #c44569;
    margin-bottom: 10px;
    font-size: 18px;
}

.income-card .amount {
    font-size: 32px;
    color: #ff6b9d;
    font-weight: bold;
    margin-bottom: 10px;
}

.income-card p {
    color: #666;
    font-size: 13px;
}

/* 创作者故事 */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

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

.story-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.story-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.story-header h3 {
    color: #333;
    font-size: 16px;
}

.story-header span {
    color: #c44569;
    font-size: 13px;
    display: block;
}

.story-header .fans {
    color: #999;
    font-size: 12px;
}

.story-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.story-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.story-stats span {
    color: #999;
    font-size: 12px;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #2d1f3d 0%, #1a1225 100%);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

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

.footer-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-col p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    nav {
        gap: 10px;
    }
    
    nav a {
        padding: 5px 10px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}


/* 合作伙伴区域 */
.partners-section {
    background: #fff;
    padding: 60px 0;
    border-radius: 20px;
    margin: 40px 0;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.partner-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.partner-item:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    transform: translateY(-3px);
}

/* 专家资质样式 */
.expert-card .credentials {
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 5px;
    display: inline-block;
}

.expert-card .achievements {
    color: #c44569;
    font-size: 12px;
    margin-bottom: 10px;
}


/* 社区功能区 */
.community-features {
    background: #fff;
    padding: 60px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
}

/* 话题卡片 */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.topic-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,107,157,0.2);
}

.topic-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 12px;
}

.topic-card h3 {
    color: #c44569;
    margin-bottom: 10px;
    font-size: 18px;
}

.topic-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.topic-stats {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
}

/* 情感专区 */
.emotion-section {
    background: linear-gradient(135deg, #fff0f5 0%, #f8e8ff 100%);
    padding: 60px 20px;
    border-radius: 20px;
    margin: 40px 0;
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.emotion-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.emotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,107,157,0.2);
}

.emotion-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.emotion-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 17px;
}

.emotion-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.emotion-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
}

/* 直播卡片 */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

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

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

.live-thumb {
    position: relative;
    height: 180px;
}

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

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

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

.live-viewers {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.live-info {
    padding: 15px;
}

.live-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.live-info p {
    color: #666;
    font-size: 13px;
}

/* 图片画廊 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* 筛选标签 */
.filter-section {
    margin-bottom: 30px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    border-color: transparent;
}

.filter-tag.hot {
    background: #ff4444;
    color: #fff;
}

.filter-tag.new {
    background: #44cc44;
    color: #fff;
}
