/* Base Styles */
:root {
    /* 我们稍后会添加CSS变量 */
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* 基础布局类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航样式占位 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav__logo {
    height: 40px;
    width: auto;
}

.nav__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav__menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav__menu a:hover {
    color: #ff69b4;
}

/* 各个部分的基础样式占位 */
.hero,
.features,
.characters,
.gameplay,
.community,
.news {
    padding: 80px 0;
}

/* 响应式布局基础 */
@media (max-width: 768px) {
    /* 移动端样式将在这里添加 */
}

/* Hero Styles */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

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

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero__cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff69b4;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.hero__cta:hover {
    transform: translateY(-2px);
    background: #ff4da6;
}

/* Features Section Styles */
.features {
    background: rgba(0, 0, 0, 0.8);
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 增加最小宽度 */
    gap: 3rem; /* 增加间距 */
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem 2rem; /* 调整内边距 */
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid rgba(255, 105, 180, 0.3);
}


.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 105, 180, 0.8);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.feature-card__icon {
    width: 280px; /* 显著增大图标容器尺寸 */
    height: 280px;
    margin: 0 auto 2rem; /* 增加底部间距 */
    padding: 0; /* 移除内边距以最大化图片空间 */
}

.feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 改为cover以填充整个空间 */
    border-radius: 10px; /* 添加圆角 */
    transition: transform 0.3s;
}

.feature-card:hover .feature-card__icon img {
    transform: scale(1.05);
}

.feature-card h3 {
    color: #ff69b4;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.feature-card p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Characters Section Styles */
.characters {
    background: #1a1a1a;
    padding: 4rem 2rem;
}

.characters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.character-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.character-card__image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.character-card:hover .character-card__image img {
    transform: scale(1.05);
}

.character-card__content {
    padding: 1.5rem;
}

.character-card h3 {
    color: #ff69b4;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.character-card__type {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.character-card__desc {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
}

.characters__cta {
    text-align: center;
    margin-top: 3rem;
    color: #fff;
}

.characters__cta p {
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .features__grid,
    .characters__grid {
        grid-template-columns: 1fr;
    }
    

    .character-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .feature-card {
        max-width: 500px; /* 增加移动端最大宽度 */
        margin: 0 auto;
    }

    .feature-card__icon {
        width: 360px; /* 移动端稍微缩小，但仍保持较大尺寸 */
        height: 240px;
    }
}
/* Gameplay Section Styles */
.gameplay {
    background: #1a1a1a;
    padding: 4rem 2rem;
    color: #fff;
}

.gameplay__container {
    max-width: 1200px;
    margin: 0 auto;
}

.gameplay__content {
    margin-bottom: 3rem;
    text-align: center;
}

.gameplay__text {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.3);
}

.gameplay__text h3 {
    color: #ff69b4;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.gameplay__text h3:first-child {
    margin-top: 0;
}

.gameplay__text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.gameplay__features {
    list-style: none;
    text-align: left;
    padding: 0 2rem;
}

.gameplay__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.gameplay__features li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #ff69b4;
}

/* Video Grid Layout */
.gameplay__videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.3);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hover Effects */
.gameplay__text:hover {
    border-color: rgba(255, 105, 180, 0.8);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.video-container:hover {
    border-color: rgba(255, 105, 180, 0.8);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gameplay__videos {
        grid-template-columns: 1fr;
    }

    .gameplay__text {
        padding: 1.5rem;
    }

    .gameplay__features {
        padding: 0 1rem;
    }

    .gameplay__text h3 {
        font-size: 1.5rem;
    }

    .gameplay__text p,
    .gameplay__features li {
        font-size: 1rem;
    }
}

/* SEO Content Styles */
.seo-content {
    background: #1a1a1a; /* 改为深色背景以匹配整体风格 */
    padding: 4rem 2rem;
    color: #fff; /* 改为白色文字 */
}

.seo-content h2 {
    color: #ff69b4; /* 使用粉色标题保持一致性 */
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.seo-content h3 {
    color: #ff69b4;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.seo-content h4 {
    color: #ff69b4;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
}

.seo-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seo-content ul {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding-left: 2rem;
    color: #fff;
}

.seo-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.seo-metadata {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 105, 180, 0.3);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* 添加内容容器控制宽度 */
.seo-content > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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