/* 头部样式 */
.site-header {
    background-color: #5a3a9e; /* 紫色背景，与游戏截图匹配 */
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header__logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header__logo-wrapper:hover {
    transform: scale(1.05);
}

.header__logo-img {
    height: 50px;
    margin-right: 1rem;
}

.header__logo-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff7bda; /* 粉色文字，与游戏标志匹配 */
    text-shadow: 
        2px 2px 0 #000,
        -2px 2px 0 #000,
        2px -2px 0 #000,
        -2px -2px 0 #000; /* 黑色描边效果 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header__logo-img {
        height: 40px;
    }
    
    .header__logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.8rem 1rem;
    }
    
    .header__logo-img {
        height: 35px;
    }
    
    .header__logo-text {
        font-size: 1.2rem;
    }
}

/* 预告片区域样式 */
.trailer {
    background-color: #2a1a4a; /* 深紫色背景 */
    padding: 4rem 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #ff7bda; /* 粉色标题 */
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.trailer__video-wrapper {
    background-color: #3a2a6a; /* 稍微浅一点的紫色 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trailer__video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.trailer__video {
    width: 100%;
    aspect-ratio: 16 / 9; /* 保持 16:9 的视频比例 */
    border: none;
    display: block;
}

.trailer__video-title {
    padding: 1rem;
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .trailer {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .trailer__videos-grid {
        grid-template-columns: 1fr; /* 单列布局 */
        gap: 1.5rem;
    }
    
    .trailer__video-title {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .trailer {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .trailer__video-wrapper {
        border-radius: 6px;
    }
    
    .trailer__video-title {
        font-size: 1rem;
        padding: 0.7rem;
    }
}

/* 特色区域样式 */
.features {
    background-color: #2a1a4a;
    padding: 4rem 2rem;
}

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

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    background-color: #3a2a6a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-image {
    flex: 1;
    min-width: 40%;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.feature-row:hover .feature-image img {
    transform: scale(1.03);
}

.feature-content {
    flex: 1;
    padding: 2rem;
}

.feature-title {
    color: #ff7bda;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.feature-content p {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.feature-content p:last-child {
    margin-bottom: 0;
}

.feature-content strong {
    color: #ff7bda;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .feature-row {
        flex-direction: column;
        margin-bottom: 3rem;
    }
    
    .feature-row:nth-child(even) {
        flex-direction: column;
    }
    
    .feature-image, .feature-content {
        width: 100%;
    }
    
    .feature-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 2.5rem 1rem;
    }
    
    .feature-row {
        margin-bottom: 2rem;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

/* Hero 区域样式 */
.hero {
    position: relative;
    min-height: 80vh;
    background-image: url('/1.gif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 26, 74, 0.85) 0%, rgba(90, 58, 158, 0.85) 100%);
    z-index: 1;
}

.hero__container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

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

.hero__title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ff7bda;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 
                 0 0 20px rgba(255, 123, 218, 0.3),
                 3px 3px 0 #000;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 
                     0 0 20px rgba(255, 123, 218, 0.3),
                     3px 3px 0 #000;
    }
    to {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.7), 
                     0 0 30px rgba(255, 123, 218, 0.5),
                     3px 3px 0 #000;
    }
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 180px;
}

.btn-icon {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
}

.btn--primary {
    background-color: #ff7bda;
    color: #2a1a4a;
    border: 2px solid #ff7bda;
}

.btn--primary:hover {
    background-color: #ff9ae4;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn--secondary {
    background-color: #4caf50;
    color: white;
    border: 2px solid #4caf50;
}

.btn--secondary:hover {
    background-color: #5dbd61;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn--tertiary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn--tertiary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

/* SEO 内容区域样式 */
.about {
    background-color: #2a1a4a;
    padding: 4rem 2rem;
    color: #ffffff;
}

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

.about__content-block {
    margin-bottom: 4rem;
    background-color: #3a2a6a;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.about__content-block:last-child {
    margin-bottom: 0;
}

.about__heading {
    color: #ff7bda;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ff7bda;
    padding-bottom: 0.5rem;
}

.about__subheading {
    color: #ff7bda;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.about__mini-heading {
    color: #ff7bda;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

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

.about__text strong {
    color: #ff7bda;
    font-weight: bold;
}

.about__list {
    margin: 1rem 0 1.5rem 2rem;
    list-style-type: disc;
}

.about__list li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.about__image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.about__image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* FAQ 样式 */
.about__faq {
    margin-top: 2rem;
}

.faq__item {
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.faq__question {
    background-color: rgba(255, 123, 218, 0.2);
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.4rem;
    color: #ffffff;
    cursor: pointer;
    position: relative;
}

.faq__answer {
    padding: 1.5rem;
}

.faq__answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq__answer p:last-child {
    margin-bottom: 0;
}

.requirements-list {
    margin: 1rem 0 1.5rem 2rem;
    list-style-type: disc;
}

.requirements-list li {
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about {
        padding: 3rem 1.5rem;
    }
    
    .about__content-block {
        padding: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .about__heading {
        font-size: 1.8rem;
    }
    
    .about__subheading {
        font-size: 1.5rem;
    }
    
    .about__mini-heading {
        font-size: 1.3rem;
    }
    
    .about__text p {
        font-size: 1rem;
    }
    
    .faq__question {
        font-size: 1.3rem;
        padding: 0.8rem 1.2rem;
    }
    
    .faq__answer {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 2rem 1rem;
    }
    
    .about__content-block {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .about__heading {
        font-size: 1.6rem;
    }
    
    .about__subheading {
        font-size: 1.3rem;
    }
    
    .about__mini-heading {
        font-size: 1.2rem;
    }
    
    .faq__question {
        font-size: 1.2rem;
        padding: 0.8rem 1rem;
    }
    
    .faq__answer {
        padding: 1rem;
    }
}
