/* 糖心vlog - 原创样式表 */
/* 配色方案：深紫渐变 + 珊瑚粉 + 金色点缀 */

:root {
    --primary-gradient: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0d1b2a 100%);
    --accent-pink: #ff6b9d;
    --accent-coral: #ff8e72;
    --accent-gold: #ffd700;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 107, 157, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 107, 157, 0.15);
}

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

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--primary-gradient);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

/* 容器布局 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* 头部导航 - 非sticky */
.site-header {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.98) 0%, rgba(13, 27, 42, 0.95) 100%);
    padding: 15px 0;
    border-bottom: 1px solid var(--card-border);
    position: relative;
    z-index: 100;
}

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

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主导航 */
.main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-coral));
    border-color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-pink);
    color: var(--accent-pink);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-coral));
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-coral), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-coral));
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-light);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent-pink);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-pink);
    transform: translateY(-3px);
}

/* 章节标题 */
.section {
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-pink);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-pink);
}

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

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

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

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

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

.video-play-btn::after {
    content: "";
    border-left: 18px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 5px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.video-info {
    padding: 18px;
}

.video-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.video-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-gold);
}

/* 国际合作模块 */
.collab-section {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 142, 114, 0.05) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 40px 0;
}

.collab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.collab-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.collab-image img {
    width: 100%;
    height: auto;
    display: block;
}

.collab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.collab-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.collab-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.collab-badge {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 作者信息卡片 */
.author-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-pink);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-title {
    color: var(--accent-pink);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 评论区 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-glow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-coral));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.reviewer-location {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

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

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: right;
}

/* FAQ手风琴 */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 20px 25px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 107, 157, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-pink);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 25px 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.payment-icon {
    background: white;
    padding: 12px 20px;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
}

.payment-icon img {
    height: 100%;
    width: auto;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    color: var(--text-muted);
    line-height: 2;
}

.about-text h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-stats {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--card-border);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 客户支持 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--accent-pink);
    transform: translateY(-5px);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.support-card h4 {
    margin-bottom: 10px;
}

.support-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 授权信息 */
.license-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 107, 157, 0.05) 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.license-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold), #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.license-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.license-code {
    font-family: monospace;
    background: var(--card-bg);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}

/* 年龄限制 */
.age-restriction {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.age-badge {
    width: 50px;
    height: 50px;
    background: #ff0000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.age-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.98) 0%, rgba(10, 20, 35, 1) 100%);
    border-top: 1px solid var(--card-border);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-wrap {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.footer-column h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-payment img {
    height: 30px;
    width: auto;
    background: white;
    padding: 5px 10px;
    border-radius: 6px;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-pink);
}

.breadcrumb-item.active {
    color: var(--accent-pink);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* 视频播放器 */
.video-player-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
}

.video-player {
    width: 100%;
    height: 100%;
}

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 10, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--card-border);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .license-section {
        flex-direction: column;
        text-align: center;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .collab-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .payment-icons {
        flex-direction: column;
        align-items: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载图片占位 */
img[loading="lazy"] {
    background: var(--card-bg);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-gradient);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-coral);
}
