/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* 移动端容器 */
.mobile-container {
    width: 375px; /* iPhone 标准宽度 */
    height: 667px; /* iPhone 标准高度 */
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 头部样式 */
.header {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    text-align: center;
}

.header h1 {
    font-size: 20px;
    font-weight: 500;
}

/* 主要内容区域 */
.main-content {
    padding: 20px;
    height: calc(100% - 50px);
    overflow-y: auto;
}

/* 导航菜单 */
.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 15px;
}

.nav-menu a {
    display: block;
    padding: 15px;
    background-color: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #e8e8e8;
}

/* 响应式调整 */
@media screen and (max-width: 375px) {
    .mobile-container {
        width: 100%;
        height: 100vh;
        box-shadow: none;
    }
} 