* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8e8d0;
    color: #5d2e1d;
}

.page-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8e8d0;
}

/* 顶部下载条 */
.download-bar {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f4e0c5;
    border-bottom: 1px solid #e0c8a0;
}

.close-btn {
    color: #753422;
    margin-right: 10px;
    font-size: 18px;
    cursor: pointer;
}

.download-text {
    flex-grow: 1;
    color: #753422;
    font-size: 14px;
}

.download-btn {
    background-color: #f0ad4e;
    color: #753422;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* 导航栏 */
.nav-bar {
    background-color: #753422;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-icon {
    font-size: 20px;
    cursor: pointer;
}

.nav-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    flex-grow: 1;
}

/* 账户信息条 */
.account-info {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f4e0c5;
    border-bottom: 1px solid #e0c8a0;
}

.balance {
    background-color: #f0ad4e;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #5d2e1d;
}

.language-selector {
    background-color: #f0ad4e;
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    user-select: none;
    color: #5d2e1d;
    border-radius: 20px;
    z-index: 100;
}

.language-selector:after {
    content: "▼";
    margin-left: 5px;
    font-size: 10px;
}

/* Language selector styling */
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
    min-width: 150px;
    margin-top: 2px;
}

.language-dropdown.active {
    display: block;
}

.language-option {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f5f5f5;
    color: #5d2e1d;
}

/* 主内容区域 */
.main-content {
    padding: 20px;
}

.main-title {
    color: #5d2e1d;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-description {
    color: #5d2e1d;
    font-size: 16px;
    margin-bottom: 20px;
}

.try-button {
    background-color: #f0ad4e;
    color: #5d2e1d;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.official-link {
    display: block;
    color: #5d2e1d;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
}

/* 特性部分 */
.features-title {
    background-color: #f0ad4e;
    padding: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 5px;
}

.star-icon {
    color: #753422;
    font-size: 20px;
    margin-right: 10px;
}

.features-heading {
    color: #5d2e1d;
    font-size: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.feature-item {
    border: 2px solid #753422;
    border-radius: 10px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 90px;
    background-color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-item:hover {
    background-color: #f8e7cb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.feature-icon {
    color: #753422;
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
}

.feature-text {
    color: #753422;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

/* 信息框 */
.info-box {
    background-color: #753422;
    color: #f4e0c5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-text {
    font-size: 14px;
    line-height: 1.5;
}

/* 热门游戏 */
.hot-games {
    margin-bottom: 20px;
}

.hot-games-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.fire-icon {
    color: #753422;
    font-size: 20px;
    margin-right: 10px;
}

.hot-games-heading {
    color: #5d2e1d;
    font-size: 18px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-name {
    color: #5d2e1d;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.game-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.game-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.try-now-btn {
    background-color: #f0ad4e;
    color: #5d2e1d;
    border: none;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
}

/* 推荐理由 */
.reasons-box {
    background-color: #753422;
    color: #f4e0c5;
    border-radius: 10px;
    padding: 15px;
}

.reasons-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.reasons-list {
    list-style-type: none;
}

.reason-item {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.reason-number {
    font-weight: bold;
    margin-right: 5px;
}

/* 所有游戏部分样式 */
.all-games-section {
    /* padding: 0 20px 20px 20px; */
    margin-bottom: 20px;
}

.section-header.gold-header {
    background-color: #f0ad4e;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.game-icon-small, .stats-icon, .ranking-icon {
    color: #753422;
    font-size: 18px;
    margin-right: 10px;
}

.game-tabs {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.game-tab {
    background-color: transparent;
    border: 2px solid #753422;
    color: #753422;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.game-tab.active {
    background-color: #753422;
    color: white;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-list-item {
    background-color: #753422;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.game-list-name {
    font-size: 16px;
    font-weight: bold;
}

.game-try-button {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.game-control-icon {
    font-size: 16px;
}

/* 实时数据部分样式 */
.realtime-data-section {
    /* padding: 0 20px 20px 20px; */
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.stat-box {
    flex: 1;
    border: 2px solid #753422;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.stat-value {
    color: #753422;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #5d2e1d;
    font-size: 14px;
}

/* 游戏排行榜部分样式 */
.game-ranking-section {
    /* padding: 0 20px 20px 20px; */
    margin-bottom: 20px;
}

.ranking-tabs {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.ranking-tab {
    background-color: transparent;
    border: 2px solid #753422;
    color: #753422;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 11px;
    cursor: pointer;
}

.ranking-tab.active {
    background-color: #753422;
    color: white;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ranking-item {
    background-color: #753422;
    border-radius: 5px;
    padding: 15px;
    color: white;
}

.ranking-header {
    margin-bottom: 10px;
}

.rank-number {
    font-size: 18px;
    font-weight: bold;
}

.rank-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stat-badge {
    background-color: #f8e8d0;
    color: #753422;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.game-features-list {
    list-style-type: none;
    margin-bottom: 15px;
}

.game-features-list li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.play-now-btn {
    background-color: #f0ad4e;
    color: #753422;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.play-now-btn:hover {
    background-color: #e09932;
}

/* 为什么选择我们部分样式 */
.why-choose-section {
    /* padding: 0 20px 20px 20px; */
    margin-bottom: 20px;
}

.why-choose-container {
    background-color: #f8e8c0;
    border: 2px solid #753422;
    border-radius: 5px;
    padding: 15px;
}

.why-choose-title {
    color: #753422;
    font-size: 20px;
    margin-bottom: 15px;
}

.benefits-list {
    list-style-type: none;
}

.benefit-item {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
}

.check-icon {
    color: #753422;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.benefit-text {
    color: #5d2e1d;
    font-size: 14px;
    line-height: 1.4;
}

/* 最近获奖部分样式 */
.recent-awards-section {
    /* padding: 0 20px 20px 20px; */
    margin-bottom: 20px;
}

.gold-header {
    background-color: #f0ad4e;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 5px 5px 0 0;
    margin-bottom: 15px;
}

.award-icon {
    color: #753422;
    font-size: 18px;
    margin-right: 10px;
}

.section-heading {
    color: #753422;
    font-size: 18px;
    margin: 0;
}

.winners-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.winner-item {
    background-color: #753422;
    border-radius: 5px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.winner-info {
    display: flex;
    align-items: center;
}

.winner-name {
    color: white;
    font-size: 16px;
    margin-right: 10px;
}

.winner-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #555;
}

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

.winner-prize {
    color: white;
    font-size: 14px;
}

.won-text {
    color: #00cc66;
}

.prize-amount {
    color: #00cc66;
    font-weight: bold;
    margin: 0 3px;
}

.game-name {
    color: #f0ad4e;
}

.game-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.game-item:hover {
    transform: translateY(-2px);
}

.game-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.game-item-name {
    font-size: 18px;
    font-weight: bold;
    color: #f0ad4e;
}

.loading-indicator, .error-message, .no-games-message {
    text-align: center;
    padding: 20px;
    color: #888;
}

.error-message {
    color: #dc3545;
}