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

.back-btns{
    font-size: 20px;
    cursor: pointer;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #333;
    max-width: 768px;
    margin: 0 auto;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    padding: 15px;
    color: white;
    /* position: sticky; */
    /* top: 0; */
    /* z-index: 100; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 768px;
    margin: 0 auto;
}

/* 移动端顶部导航栏 */
.top-nav {
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    padding: 10px 15px;
    color: white;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 768px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.top-nav .title {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.top-nav .back-btn {
    font-size: 24px;
    color: white;
    text-decoration: none;
    padding: 5px;
    z-index: 1;
}

.top-nav .cart-icon {
    font-size: 20px;
    color: white;
    text-decoration: none;
    position: relative;
    padding: 5px;
    z-index: 1;
}

.top-nav .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 头部图片 */
.header-image-section {
    width: 100%;
    margin-top: 0;
    padding: 0;
}

.header-image {
    width: 100%;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 40px;
    margin: 0 auto;
}

.header-right select {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

.header-right select option {
    background-color: #b9883c;
    color: white;
}

.header-center {
    flex: 1;
    text-align: center;
}

.game-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vip-badge {
    color: #333;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.user-info {
    margin-right: 10px;
    display: flex;
    /* align-items: center; */
}

.user-name {
    font-size: 14px;
    color: white;
    font-weight: 500;
    margin-right: 10px;
}

.user-id {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.avatar:hover {
    transform: scale(1.1);
    border-color: white;
}

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

/* 导航栏 */
.nav {
    background-color: white;
    padding: 15px 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    flex-wrap: wrap;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 25%;
    margin-bottom: 15px;
    box-sizing: border-box;
    padding: 0 5px;
}

.nav-icon {
    width: 48px;
    height: 48px;
    background-color: #f9f0d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
    color: #b9883c;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
    background-color: #f0e6c9;
}

.nav-item span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

/* 轮播图 */
.banner-section {
    padding: 0 15px 15px;
}

.banner {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
    width: 20px;
    border-radius: 4px;
}

/* 积分商城广告 */
.ad-section {
    padding: 0 15px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.ad-content {
    display: flex;
    gap: 10px;
    width: 100%;
}

.ad-left, .ad-right {
    flex: 1;
    background-color: #fff3e0;
    padding: 15px;
    border-radius: 12px;
    color: #333;
    position: relative;
    overflow: hidden;
    border: 1px solid #ffd54f;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-left:hover, .ad-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ad-left h3, .ad-right h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #b9883c;
    transition: all 0.3s ease;
}

.ad-left:hover h3, .ad-right:hover h3 {
    transform: translateX(5px);
}

.ad-left p, .ad-right p {
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.ad-left:hover p, .ad-right:hover p {
    transform: translateX(5px);
}

.ad-right {
    background-color: #ffebee;
    border-color: #ff8a80;
}

.ad-right h3 {
    color: #ff4081;
}

.ad-left::before, .ad-right::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0 12px 0 50px;
}

.ad-right::before {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 最新揭晓和即将揭晓 */
.latest-section, .upcoming-section {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.section-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h3::before {
    content: '';
    width: 4px;
    height: 16px;
    background-color: #b9883c;
    border-radius: 2px;
}

.section-header p {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.more-link {
    font-size: 28px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #b9883c;
}

.latest-content, .upcoming-content {
    display: block;
}

.goods-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.goods-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #b9883c;
}

.goods-image {
    width: 90px;
    height: 90px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.goods-item:hover .goods-image {
    transform: scale(1.05);
}

.goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-info {
    flex: 1;
    text-align: left;
}

.goods-title {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.goods-item:hover .goods-title {
    color: #b9883c;
}

.goods-price {
    font-size: 16px;
    font-weight: bold;
    color: #b9883c;
    margin-bottom: 4px;
}

.goods-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.goods-stats {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.goods-stats span {
    margin-right: 12px;
}

.lottery-btn {
    width: 100%;
    padding: 8px;
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.lottery-btn:hover {
    background: linear-gradient(90deg, #7a481a, #a67732, #7a481a);
}

/* 底部导航 */
.footer {
    /* background-color: white; */
    position: fixed;
    background-color: #e6b88a;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    margin: 0 auto;
    max-width: 768px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #f0f0f0;
    z-index: 99;
}

.footer-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    flex: 1;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.footer-item.active {
    color: #b9883c;
}

.footer-item.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #b9883c;
    border-radius: 2px;
}

.footer-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.3s;
}

.footer-item:hover .footer-icon {
    transform: scale(1.1);
}

.footer-item span {
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-item:hover span {
    color: #b9883c;
}

/* Feature List */
.feature-section {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    /* margin-bottom: 15px; */
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background-color: #b9883c;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: 15px; */
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.feature-item:hover {
    background-color: #fff3e0;
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #f9f0d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
    color: #b9883c;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background-color: #f0e6c9;
}

.feature-item span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

/* Promotion */
.promotion-section {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 15px; */
    padding-bottom: 10px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.more-link {
    font-size: 28px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #b9883c;
}

.promotion-content {
    width: 100%;
}

.promotion-content .banner {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-content .banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promotion-content .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lottery formula */
.lottery-formula-section {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.lottery-formula-content {
    padding: 0 5px;
    width: 100%;
    box-sizing: border-box;
}

.fire-icon {
    color: #b9883c;
    font-size: 16px;
}

.formula-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.formula-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.formula-carousel-item {
    flex: 0 0 100%;
    width: 100%;
}

.formula-card {
    background-color: white;
    border-radius: 12px;
    /* padding: 12px; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 98%;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.formula-header {
    background-color: #ccc;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.formula-id {
    font-size: 14px;
    color: #fff;
}

.formula-content {
    padding: 6px;
    background-color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.formula-product-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.formula-product-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.formula-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
}

.commodity-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}

.info-label {
    color: #905720;
    margin-right: 8px;
    flex-shrink: 0;
}

.info-value {
    color: #905720;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.winning-number {
    color: #b9883c;
    font-weight: 600;
}

.formula-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.formula-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formula-carousel-indicator.active {
    width: 12px;
    border-radius: 4px;
    background-color: #b9883c;
}

/* Upcoming Lottery Events */
.upcoming-events-section {
    background-color: white;
    padding: 15px;
    margin-bottom: 70px; /* 为底部导航栏留出空间 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: normal;
}

.upcoming-events-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.event-content {
    display: flex;
    gap: 15px;
}

.event-left {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 10px; */
}

.period {
    font-size: 10px;
    font-weight: 600;
    color: white;
    background-color: #684927;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 10px; */
    width: 100px;
    /* border-bottom: 1px solid #f0f0f0; */
    border-top: 1px solid #fae0c5;
    border-left: 1px solid #fae0c5;
    border-right: 1px solid #fae0c5;
    border-radius: 8px 8px 0px 0px;
    box-shadow: 
        0 1px 3px rgba(255, 255, 255, 0.6),
        0 -1px 3px rgba(0, 0, 0, 0.2) inset,
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 0px 0px rgba(0, 0, 0, 0.1);
}

.event-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 110px);
}

.event-countdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* justify-content: space-between; */
    /* gap: 10px; */
}

.event-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #b9883c;
}

.event-image {
    width: 100%;
    /* height: 100px; */
    /* background-color: #f5f5f5; */
    border-radius:0px 0px 8px 8px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arrow-icon {
    font-size: 20px;
    color: #999;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.detail-label {
    font-size: 14px;
    /* color: #fff; */
    flex-shrink: 0;
}

.detail-value {
    font-size: 18px;
    /* color: #fff; */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.detail-value.prize-value {
    /* font-size: 20px; */
    color: #905720;
    font-weight: 600;
}

.status-badge {
    font-size: 14px;
    font-weight: 500;
}

.status-badge.fully-booked {
    color: #b9883c;
}

.status-badge.participate {
    color: #666;
}

.status-text {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.event-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-progress {
    flex: 1;
    position: relative;
    border:1px solid #fff2d0;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar.fully-booked {
    background-color: #f0f0f0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-fill.fully-booked {
    background: linear-gradient(to bottom, #eabb83, #c67838);
}

.progress-text {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
}

.countdown {
    /* background-color: #ffa500; */
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.countdown .time-number {
    background: linear-gradient(to bottom, #ea9940, #d68533);
    padding:5px;
    color: white;
    margin: 0 5px;
    width: 30px;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    box-shadow: 
        0 1px 3px rgba(255, 255, 255, 0.6) inset,
        0 -1px 3px rgba(0, 0, 0, 0.2) inset,
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.view-users {
    padding: 6px 12px;
    background: linear-gradient(to bottom, #eabe99, #cc9052);
    border-radius: 10px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 
        0 1px 3px rgba(255, 255, 255, 0.6) inset,
        0 -1px 3px rgba(0, 0, 0, 0.2) inset,
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.view-users:hover {
    background: linear-gradient(to bottom, #f0c7a6, #d49d63);
    box-shadow: 
        0 1px 3px rgba(255, 255, 255, 0.6) inset,
        0 -1px 3px rgba(0, 0, 0, 0.2) inset,
        0 1px 2px rgba(0, 0, 0, 0.15);
    transform: translateY(1px);
}

/* 滚动条样式 */
.latest-content::-webkit-scrollbar,
.upcoming-content::-webkit-scrollbar {
    height: 5px;
}

.latest-content::-webkit-scrollbar-track,
.upcoming-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.latest-content::-webkit-scrollbar-thumb,
.upcoming-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.latest-content::-webkit-scrollbar-thumb:hover,
.upcoming-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 自定义弹框样式 */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert.active {
    opacity: 1;
    visibility: visible;
}

.alert-content {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.alert-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    color: #905720;
}

.alert-body {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
    color: #905720;
}

.alert-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.alert-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.alert-btn.confirm {
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    color: white;
}

.alert-btn.confirm:hover {
    background: linear-gradient(90deg, #7a481a, #a67732, #7a481a);
}

.alert-btn.cancel {
    background-color: #f0f0f0;
    color: #905720;
}

.alert-btn.cancel:hover {
    background-color: #e0e0e0;
}

/* 用户参与模块样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 15px; */
}

.content-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.join-next-period {
    padding: 6px 12px;
    background: linear-gradient(90deg, #905720, #b9883c, #905720);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.join-next-period:hover {
    background: linear-gradient(90deg, #7a481a, #a67732, #7a481a);
    transform: translateY(-2px);
}

.join-next-period .arrow {
    font-size: 14px;
    font-weight: bold;
}

.participants-container {
    margin-top: 10px;
    height: 200px;
}

.participants-scroll {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0;
}

.participants-scroll::-webkit-scrollbar {
    width: 5px;
}

.participants-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.participants-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.participants-scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.participant-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.participant-item:hover {
    background-color: #f9f9f9;
}

.participant-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.participant-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participant-details {
    flex: 1;
}

.participant-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.participant-tickets {
    font-size: 14px;
    color: #b9883c;
    font-weight: 500;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 12px;
    }
    
    .nav-item {
        width: 25%;
    }
    
    .nav-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .banner {
        height: 150px;
    }
    
    .join-next-period {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .participant-item {
        min-width: 180px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 16px;
    }
    
    .search-box {
        margin: 0 10px;
    }
    
    .nav-item {
        width: 33.33%;
    }
    
    .banner {
        height: 120px;
    }
    
    .ad-left, .ad-right {
        padding: 12px;
    }
    
    .ad-left h3, .ad-right h3 {
        font-size: 14px;
    }
    
    .goods-image {
        width: 80px;
        height: 80px;
    }
}