body {
    font-family: -apple-system, BlinkMacSystemFont, '微软雅黑', Arial, sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 0;
    color: #1d1d1f;
    line-height: 1.6;
}

/* 页眉样式 */
header {
    background: linear-gradient(135deg, #0071e3, #42a3ff);
    color: white;
    padding: 40px 0 30px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
    font-weight: 600;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 300;
}

/* 主体内容样式 */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    padding: 28px 24px;
    transition: transform 0.3s;
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    color: #0071e3;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

/* 游戏区域样式 */
.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.game-iframe {
    width: 100%;
    height: 450px;
    border: none;
    background: #f5f5f7;
}

/* 游戏简介样式 */
.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.feature-list li {
    background: #f5f5f7;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* 设备支持样式 */
.device-support {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
    flex-wrap: wrap;
}

.device {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.device-name {
    font-weight: 500;
    color: #1d1d1f;
}

/* 页脚样式 */
footer {
    background: #f5f5f7;
    text-align: center;
    padding: 16px;
    color: #6e6e73;
    font-size: 0.9rem;
    border-top: 1px solid #d2d2d7;
}

/* 响应式适配 */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    main {
        padding: 16px 12px;
    }
    
    .game-iframe {
        height: 350px;
    }
    
    section {
        padding: 18px 16px;
    }
    
    .feature-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .game-iframe {
        height: 300px;
    }
}

#start-game {
    padding: 10px 30px;
    font-size: 18px;
    margin: 20px 0;
    cursor: pointer;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background 0.3s;
}

#start-game:hover {
    background: #388e3c;
}

#game-container {
    margin: 30px auto;
    width: 320px;
    min-height: 200px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
} 