/* 糖心vlog - 电影主题网站样式 */
/* 配色方案：金色#D4AF37 + 深蓝#1A1A2E + 红色#C41E3A */

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1A1A2E 0%, #0F0F1E 100%);
}

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

/* 导航栏 */
header {
    background: linear-gradient(90deg, #1A1A2E 0%, #2D2D44 100%);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: #D4AF37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 5px;
}

nav a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Hero区域 */
.hero {
    background: url('../images/hero-banner.jpg') center/cover no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(196, 30, 58, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
    to { text-shadow: 0 0 30px rgba(212, 175, 55, 1), 0 0 40px rgba(212, 175, 55, 0.8); }
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #D4AF37;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #D4AF37 0%, #C41E3A 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(26, 26, 46, 0.5);
    padding: 15px 0;
    color: #fff;
}

.breadcrumb a {
    color: #D4AF37;
    text-decoration: none;
}

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

/* 章节标题 */
section {
    padding: 80px 0;
    background: #fff;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: #1A1A2E;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37 0%, #C41E3A 100%);
    border-radius: 2px;
}

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

.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;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 */
}

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

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1A1A2E;
}

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

/* 专家团队 */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

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

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.expert-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #D4AF37;
}

.expert-name {
    font-size: 22px;
    font-weight: bold;
    color: #1A1A2E;
    margin-bottom: 10px;
}

.expert-title {
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 15px;
}

.expert-bio {
    color: #666;
    line-height: 1.8;
}

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

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #D4AF37;
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    color: #1A1A2E;
    margin-bottom: 10px;
}

.faq-answer {
    color: #666;
    line-height: 1.8;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #D4AF37;
    opacity: 0.3;
}

.review-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: bold;
    color: #1A1A2E;
}

.review-rating {
    color: #D4AF37;
}

/* 页脚 */
footer {
    background: linear-gradient(90deg, #1A1A2E 0%, #0F0F1E 100%);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #D4AF37;
    margin-bottom: 20px;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}
