/* 糖心vlog 全新原创样式 - ptzkdv.cn */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #FFB347;
    --accent-color: #4ECDC4;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #333;
    --text-muted: #666;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-color);
}

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

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

/* 头部导航 */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-area .site-logo {
    height: 45px;
    width: auto;
}

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

.nav-item a {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-color);
}

.nav-item a:hover,
.nav-item.active a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-login {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-login:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

/* 搜索栏 */
.search-bar-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px 0;
}

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

.search-form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 15px 25px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--secondary-color);
}

.hot-tags {
    margin-top: 15px;
    text-align: center;
    color: #fff;
}

.tag-label {
    margin-right: 10px;
}

.hot-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    margin: 5px;
    font-size: 14px;
    color: #fff;
}

.hot-tag:hover {
    background: rgba(255,255,255,0.3);
}

/* 主横幅 */
.hero-section {
    background: #fff;
    padding: 60px 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 数据统计 */
.stats-section {
    background: linear-gradient(135deg, var(--dark-color), #34495E);
    padding: 50px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
}

/* 通用区块样式 */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

.view-all {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

.view-all:hover {
    color: var(--secondary-color);
}

/* 视频区块 */
.video-section {
    padding: 80px 0;
    background: #fff;
}

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

.video-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

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

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.play-btn {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.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-info {
    padding: 20px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-tags .tag {
    padding: 4px 10px;
    background: var(--light-color);
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

/* 服务区块 */
.services-section {
    padding: 80px 0;
    background: var(--light-color);
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 专家区块 */
.experts-section {
    padding: 80px 0;
    background: #fff;
}

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

.expert-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.expert-info {
    padding: 25px;
}

.expert-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.expert-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.expert-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.expert-actions {
    display: flex;
    gap: 10px;
}

.btn-contact,
.btn-works {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-contact {
    background: var(--primary-color);
    color: #fff;
}

.btn-works {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-contact:hover {
    background: var(--secondary-color);
}

.btn-works:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 社区区块 */
.community-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.community-section .section-title,
.community-section .section-desc {
    color: #fff;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

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

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

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

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

.btn-join {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #667eea;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 评价区块 */
.reviews-section {
    padding: 80px 0;
    background: var(--light-color);
}

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

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.review-stars {
    margin-bottom: 15px;
    font-size: 18px;
}

.review-content {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.reviewer-name {
    font-weight: 600;
}

.reviewer-tag {
    font-size: 12px;
    padding: 3px 10px;
    background: var(--light-color);
    border-radius: 15px;
    color: var(--text-muted);
}

/* FAQ区块 */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

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

.faq-item {
    background: var(--light-color);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.faq-answer {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 联系区块 */
.contact-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.company-info {
    margin-bottom: 30px;
}

.company-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.company-info p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.studio-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-qrcodes {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.qrcode-item img {
    width: 180px;
    height: 180px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.qrcode-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 合作伙伴 */
.partners-section {
    padding: 60px 0;
    background: #fff;
}

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

.partner-item {
    padding: 15px 30px;
    background: var(--light-color);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-muted);
}

/* 页脚 */
.main-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

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

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

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-slogan {
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.link-group a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    margin-bottom: 8px;
}

/* 社交分享浮动按钮 */
.share-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.share-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .video-grid,
    .services-grid,
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .video-grid,
    .services-grid,
    .experts-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .community-features {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .share-float {
        display: none;
    }
}


/* 面包屑导航 */
.breadcrumb-section {
    background: var(--light-color);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 页面头部 */
.page-header {
    background: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* 视频分类标签 */
.video-categories {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 10px 25px;
    border: none;
    background: var(--light-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}
