/* iPhone 15 外观样式 */
.phone-container {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 47px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* 状态栏 */
.status-bar {
    height: 47px;
    background: #000;
    border-radius: 39px 39px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.status-right {
    display: flex;
    align-items: center;
}

.battery {
    width: 24px;
    height: 12px;
    border: 1px solid white;
    border-radius: 3px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: white;
    border-radius: 0 2px 2px 0;
}

.battery::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 18px;
    height: 8px;
    background: white;
    border-radius: 1px;
}

/* 主内容区域 */
.main-content {
    background: white;
    height: calc(100% - 47px - 20px);
    border-radius: 0 0 39px 39px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 顶部导航 */
.top-nav {
    height: 60px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #333;
}

.nav-actions {
    display: flex;
    align-items: center;
}

/* 页面内容 */
.page-content {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    overflow: hidden;
}

.page-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 底部导航 */
.bottom-nav {
    height: 80px;
    background: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
}

.nav-item.active {
    color: #f97316;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

/* 底部指示器 */
.home-indicator {
    width: 134px;
    height: 5px;
    background: #000;
    border-radius: 3px;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* 响应式设计 */
@media (max-width: 400px) {
    .phone-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 0;
    }
    
    .status-bar {
        border-radius: 0;
    }
    
    .main-content {
        border-radius: 0;
    }
}

/* 页面卡片样式 */
.home-page, .courts-page, .games-page, .friends-page, .community-page, .me-page {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    max-height: 600px;
    overflow-y: auto;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.page-title {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 6px;
}

.page-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* 页面分隔线样式 */
.page-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background: #f8f9fa;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
    margin: 0 15px;
}

.divider-text {
    background: #f8f9fa;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    padding: 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 通用样式 */
.text-gradient {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

