/* 更新后的相关样式 */
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --background-color: #fff;
    --accent-color: #ff4081;
    --max-width: 1200px;
    --header-height: 80px;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #1a1f24;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;

}

.header__nav {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__logo-img {
    height: 40px;
    width: auto;
}

.header__logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

/* Hero section styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #1a1f24;
}

.hero__content {
    text-align: center;
    max-width: 800px;
    margin: var(--header-height) auto 0;
    z-index: 2;
    color: white;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__main-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__character-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__character {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.hero__emoji {
    font-size: 2rem;
}

.hero__cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: white;
    color: #FF6B6B;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #FF6B6B;
    color: white;
}

.hero__images {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero__image {
    position: absolute;
    height: 100%;
    width: auto;
    object-fit: contain;
}

.hero__image--left {
    left: -5%;
    top: 0;
    transform: translateX(-20%);
}

.hero__image--right {
    right: -5%;
    top: 0;
    transform: translateX(20%);
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__main-text {
        font-size: 1.2rem;
    }

    .hero__character {
        font-size: 1rem;
    }

    .hero__image {
        height: 60%;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__content {
        padding: 1.5rem;
    }

    .hero__character-info {
        gap: 0.5rem;
    }

    .hero__image {
        height: 40%;
    }
}

/* Chapters section styles */
.chapters {
    padding: 4rem 2rem;
    background-color: #1a1f24;  /* 保持相同的深色背景 */
}

.chapters__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.chapters__title {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.chapters__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chapters__item {
    transition: transform 0.2s ease;
}

.chapters__item:hover {
    transform: translateX(10px);
}

.chapters__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chapters__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.chapters__icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.chapters__text {
    flex: 1;
    text-decoration: underline;
}

.chapters__hot {
    margin-left: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .chapters {
        padding: 2rem 1rem;
    }

    .chapters__link {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .chapters__icon {
        font-size: 1.2rem;
    }
}

/* SEO Content Section Styles */
.seo-content {
    padding: 4rem 2rem;
    background-color: #1a1f24;  /* 统一使用深色背景 */
}

.seo-content__article {
    max-width: var(--max-width);
    margin: 0 auto;
    color: #e1e1e1;  /* 浅色文字 */
    line-height: 1.8;
}

.seo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.seo-content h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #4ECDC4;  /* 使用青色作为强调色 */
}

.seo-content h4 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #FF6B6B;  /* 使用暖色作为次级强调色 */
}

.seo-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.seo-content__features,
.seo-content__characters {
    background: rgba(255, 255, 255, 0.05);  /* 半透明背景 */
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.seo-content ul {
    list-style-type: none;
    padding-left: 1rem;
}

.seo-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.seo-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4ECDC4;  /* 使用青色作为列表符号 */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-content {
        padding: 2rem 1rem;
    }

    .seo-content h2 {
        font-size: 2rem;
    }

    .seo-content h3 {
        font-size: 1.5rem;
    }

    .seo-content h4 {
        font-size: 1.2rem;
    }
}

/* Videos section styles */
.videos {
    padding: 4rem 2rem;
    background-color: #1a1f24;  /* 保持与其他section相同的背景色 */
}

.videos__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.videos__title {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 两列布局 */
    gap: 2rem;
    margin: 0 auto;
}

.videos__item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;  /* 16:9 宽高比 */
    height: 0;
}

.videos__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;  /* 圆角边框 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);  /* 添加阴影效果 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .videos__grid {
        grid-template-columns: 1fr;  /* 手机端改为单列 */
    }

    .videos {
        padding: 2rem 1rem;  /* 减小内边距 */
    }

    .videos__title {
        font-size: 1.5rem;
    }
}