:root {
    --primary-brown: #8B4513;
    --background-blue: #B8E1E6;
    --text-color: #333333;
    --spacing-unit: 1rem;
}

.header {
    background-color: var(--background-blue);
    padding: 0.5rem;
    border-bottom: 3px solid var(--primary-brown);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.25rem;
}

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

.header__logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.header__title {
    color: var(--primary-brown);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

/* Game Section Styles */
.game-section {
    padding: 0.5rem var(--spacing-unit);
    background-color: #f5f5f5;
}

.game-section__container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.game-section__frame-wrapper {
    position: relative;
    width: 100%;
    /* 16:9 宽高比 */
    padding-top: 56.25%;
    background-color: var(--background-blue);
    border: 3px solid var(--primary-brown);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.game-section__controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
}

.game-section__fullscreen-btn {
    background-color: var(--primary-brown);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.game-section__fullscreen-btn:hover {
    background-color: #723710;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-section {
        padding: 0.5rem;
    }
    
    .game-section__frame-wrapper {
        border-radius: 8px;
    }
    
    .game-section__fullscreen-btn {
        width: 32px;
        height: 32px;
    }
}

/* Video Section Styles */
.video-section {
    padding: 3rem var(--spacing-unit);
    background-color: var(--background-blue);
}

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

.video-section__title {
    color: var(--primary-brown);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.video-section__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.video-section__video-title {
    color: var(--primary-brown);
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-section {
        padding: 2rem 1rem;
    }

    .video-section__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .video-section__wrapper {
        border-radius: 8px;
    }

    .video-section__video-title {
        font-size: 1rem;
    }
}

.features-section {
    padding: 4rem var(--spacing-unit);
    background-color: var(--background-blue);
}

.features-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card__title {
    color: var(--primary-brown);
    padding: 1rem;
    margin: 0;
    font-size: 1.5rem;
}

.feature-card__description {
    padding: 0 1rem 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.features-section__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.features-section__subtitle {
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.features-section__text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .features-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-section__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.content-section {
    padding: 4rem var(--spacing-unit);
    background-color: white;
}

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

.content-section__title {
    color: var(--primary-brown);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content-section__subtitle {
    color: var(--primary-brown);
    font-size: 2rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--primary-brown);
    padding-bottom: 0.5rem;
}

.content-section__subheading {
    color: var(--primary-brown);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.content-section__mini-heading {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 1rem 0;
    font-weight: bold;
}

.content-section__block {
    margin-bottom: 3rem;
}

.content-section__list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

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

.content-section__list li::before {
    content: "•";
    color: var(--primary-brown);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.faq-section__question {
    color: var(--primary-brown);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    font-weight: bold;
}

.faq-section__answer {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content-section {
        padding: 2rem var(--spacing-unit);
    }

    .content-section__title {
        font-size: 2rem;
    }

    .content-section__subtitle {
        font-size: 1.5rem;
    }

    .content-section__subheading {
        font-size: 1.2rem;
    }
}
