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

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Minecraft 字体引入 */
@font-face {
    font-family: 'Minecraft';
    src: url('assets/fonts/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Header 样式 */
.header {
    background-image: url('image.png');
    background-repeat: repeat;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* 添加内部阴影效果增强立体感 */
    box-shadow: 
        inset 0 2px 3px rgba(255, 255, 255, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.5);
    left: 0;
    margin: 0;
}

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

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

.nav__logo-img {
    height: 40px;
    width: auto;
    image-rendering: pixelated; /* 保持像素风格清晰 */
}

.nav__logo-text {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    /* 加强文字阴影使其在泥土背景上更清晰 */
    text-shadow: 
        2px 2px 0 #3f3f3f,
        -1px -1px 0 #3f3f3f,
        1px -1px 0 #3f3f3f,
        -1px 1px 0 #3f3f3f;
    letter-spacing: 1px;
}

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

.hero {
    margin: 0;
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero__bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero__content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
    width: 100%;
}

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

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

.hero__controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.version-selector {
    position: relative;
}

.version-selector__btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow-down {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
}

.version-selector__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 4px;
    margin-top: 4px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.version-selector__dropdown.active {
    display: block;
}

.version-option {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: #333;
}

.version-option:hover {
    background: #f5f5f5;
}

.play-now-btn {
    padding: 12px 36px;
    background: #44bd32;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.play-now-btn:hover {
    background: #3aa628;
}

.play-now-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.features {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.features__title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Minecraft', sans-serif;
    font-size: 2.5rem;
    color: #333;
}

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

.feature-card {
    background: #fff;
    border-radius: 8px;
    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 {
    height: 200px;
    overflow: hidden;
}

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

.feature-card__content {
    padding: 1.5rem;
}

.feature-card__content h3 {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-card__content h4 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.feature-card__content p {
    color: #555;
    line-height: 1.6;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

/* Section Specific Styles */
.what-is, .how-to-play, .why-play {
    background: #f8f9fa;
}

.what-is {
    background: #fff;
}

.how-to-play {
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

/* Typography */
h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Minecraft', sans-serif;
}

h3 {
    font-size: 1.8rem;
    color: #34495e;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Content Blocks */
.info-block, .step, .benefit {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-block:hover, .step:hover, .benefit:hover {
    transform: translateY(-5px);
}

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

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.2rem;
    }
}
.faq {
    background: #f9f9f9;
    padding: 4rem 0;
}

.faq__title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Minecraft', sans-serif;
    color: #2c3e50;
}

.faq__category {
    margin-bottom: 3rem;
}

.faq__category h3 {
    color: #34495e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.faq__item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.faq__item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq__item p {
    color: #666;
    line-height: 1.6;
}

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

    .faq__item {
        padding: 1rem;
    }
}
.version-option.selected {
    background: #f0f0f0;
    font-weight: bold;
}

.version-option.selected:hover {
    background: #e5e5e5;
}
.youtube-showcase {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

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

.youtube-showcase__title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Minecraft', sans-serif;
    font-size: 2.5rem;
    color: #2c3e50;
}

.youtube-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.video-card__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
}

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

.video-card__title {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .youtube-showcase__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .youtube-showcase {
        padding: 2rem 1rem;
    }
    
    .youtube-showcase__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* 平板设备 */
@media (min-width: 769px) and (max-width: 1024px) {
    .youtube-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}