* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.phone-frame {
    width: 390px;
    height: 844px;
    border-radius: 58px;
    box-shadow: 0 0 0 14px #111, 0 0 0 18px #383838, 0 0 60px 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #f5f5f7 0%, #e5e5ea 100%);
}

.page-title {
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.screen {
    height: calc(100% - 88px);
    overflow-y: auto;
    position: relative;
    background-color: #f8f8f8;
    padding: 0 15px;
}

/* 刘海屏设计 */
.notch {
    width: 170px;
    height: 35px;
    background: #111;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* 状态栏 */
.status-bar {
    height: 44px;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 12px;
    color: #333;
}

/* Home Indicator */
.home-indicator {
    width: 134px;
    height: 5px;
    background: #000;
    border-radius: 3px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 通用头部导航栏 */
.header {
    height: 50px;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: relative;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.header-left,
.header-right {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
}

/* 底部导航栏 */
.tab-bar {
    height: 60px;
    background-color: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
    color: #999;
    text-decoration: none;
}

.tab-item.active {
    color: #ff6b6b;
}

.tab-icon {
    font-size: 22px;
    margin-bottom: 3px;
}

.tab-text {
    font-size: 12px;
}

/* 通用卡片样式 */
.card {
    background-color: white;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.more-link {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
}

/* 轮播图样式 */
.swiper {
    height: 180px;
    border-radius: 20px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.swiper-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.swiper-indicator {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: white;
    width: 20px;
    border-radius: 4px;
}

/* 公共按钮样式 */
.btn {
    display: block;
    width: 100%;
    padding: 13px 0;
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background-color: white;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.content-padding {
    padding: 15px;
    padding-bottom: 15px;
}

/* 搜索框样式 */
.search-bar {
    background: rgba(240, 240, 240, 0.8);
    border-radius: 10px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.search-bar i {
    color: #999;
    margin-right: 10px;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    flex: 1;
} 