:root {
    --primary-gradient: linear-gradient(90deg, 
        #FFB6C1 0%,    /* 粉色 */
        #FFD700 50%,   /* 金黄色 */
        #98FB98 100%   /* 淡绿色 */
    );
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

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

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

.header__logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 0.8rem 1rem;
    }
    
    .header__logo-img {
        height: 32px;
    }
    
    .header__logo-text {
        font-size: 1.2rem;
    }
}

/* Game Section */
.game-section {
    padding-top: 80px; /* 为固定的header留出空间 */
    width: 100%;
    background: #f5f5f5;
}

.game-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    aspect-ratio: 16 / 9; /* 保持16:9的游戏画面比例 */
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.game-controls {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.game-controls__fullscreen {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-controls__fullscreen:hover {
    background: #fff;
    transform: scale(1.1);
}

.fullscreen-icon {
    fill: #333;
}

/* 全屏模式样式 */
.game-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
    background: #000;
}

.game-container.fullscreen .game-frame {
    border-radius: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-container {
        padding: 10px;
        aspect-ratio: 9 / 16; /* 手机端改为竖屏比例 */
    }

    .game-controls {
        top: 20px;
        right: 20px;
    }

    .game-controls__fullscreen {
        padding: 6px;
    }
}
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.1) 0%,    /* 淡粉色 */
        rgba(255, 215, 0, 0.1) 50%,     /* 淡金色 */
        rgba(152, 251, 152, 0.1) 100%   /* 淡绿色 */
    );
}

.hero__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero__text {
    flex: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero__image {
    flex: 1;
    position: relative;
}

.hero__img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero__content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        margin: 1rem auto 2rem;
    }

    .hero__img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }
}

.features {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
}

.features__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #2d3436;
}

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

.feature-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card__image {
    position: relative;
    padding-top: 60%;
}

.feature-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card__content {
    padding: 2rem;
}

.feature-card__title {
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.feature-card__subtitle {
    font-size: 1rem;
    color: #636e72;
    margin-bottom: 1rem;
}

.feature-card__text {
    color: #636e72;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .features__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features {
        padding: 4rem 1rem;
    }
}

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

    .feature-card__content {
        padding: 1.5rem;
    }
}
/* How to Play Section */
.how-to-play {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #fff5f5, #fff);
}

.instruction-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.instruction-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Why Play Section */
.why-play {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

/* FAQ Section */
.faq {
    padding: 6rem 2rem;
    background: white;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f0f0f0;
}

.faq-item__question {
    color: #2d3436;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .instruction-cards,
    .benefit-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* What is Section */
.what-is {
    padding: 6rem 2rem;
    background: linear-gradient(135deg,
        rgba(255, 182, 193, 0.15) 0%,
        rgba(255, 215, 0, 0.15) 50%,
        rgba(152, 251, 152, 0.15) 100%
    );
}

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

.what-is__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.what-is__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.what-is__subtitle {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.what-is__description {
    color: #636e72;
    line-height: 1.8;
}

.what-is__feature-title {
    font-size: 1.3rem;
    color: #2d3436;
    margin: 2rem 0 1rem;
}

.what-is__features {
    list-style: none;
    padding: 0;
}

.what-is__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #636e72;
}

.what-is__features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FF6B6B;
}

.what-is__visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.what-is__image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.what-is__image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01); /* 避免边缘出现小缝隙 */
}

.what-is__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.highlight-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.highlight-card__title {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.highlight-card__text {
    color: #636e72;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .what-is__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .what-is__title {
        font-size: 2rem;
    }

    .what-is__subtitle {
        font-size: 1.5rem;
    }

    .what-is__highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .what-is {
        padding: 4rem 1rem;
    }

    .what-is__feature-title {
        font-size: 1.2rem;
    }
}
/* 新增的FAQ样式 */
.faq-item__list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-item__list li {
    margin-bottom: 0.5rem;
    color: #636e72;
    position: relative;
}

.faq-item__list li::before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: #FF6B6B;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
    }

    .faq-item__question {
        font-size: 1.1rem;
    }
}

.game-guide {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.1) 0%,
        rgba(152, 251, 152, 0.1) 100%
    );
}

.game-guide__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3436;
}

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

.guide-section__title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2d3436;
}

.guide-section__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.guide-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.guide-card__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.guide-card__list,
.guide-tips__list {
    list-style: none;
    padding: 0;
}

.guide-card__list li,
.guide-tips__list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.guide-card__list li::before,
.guide-tips__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FF6B6B;
}

.guide-tips {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #FF6B6B;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .guide-section__content {
        grid-template-columns: 1fr;
    }

    .game-guide {
        padding: 4rem 1rem;
    }
}

/* Video Section Styles */
.video-section {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.video-section__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2d3436;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Loading 状态样式 */
.video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .video-container {
        grid-template-columns: 1fr; /* 手机端改为单列 */
        gap: 1.5rem;
    }

    .video-section {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .video-section__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* 较小屏幕的额外优化 */
@media (max-width: 480px) {
    .video-section {
        margin-top: 2rem;
    }

    .video-wrapper {
        margin-bottom: 1rem;
    }
}