/* 全局样式 */
:root {
    --primary-color: #FF95FF;
    --secondary-color: #9013FE;
    --tertiary-color: #FF7EFF;
    --background-dark: #1A0029;
    --background-darker: #140020;
    --accent-green: rgba(255, 87, 255, 0.8);
    --text-light: #FFD6FF;
    --text-muted: #A87DC7;
    --border-color: #5E0974;
}

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

body {
    background-color: var(--background-dark);
    color: #ffffff;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 80px;
}

/* 状态栏样式 */
.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    background-color: #000000;
    color: #ffffff;
    font-size: 12px;
}

.signal-icons i {
    margin-right: 5px;
}

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

.battery-status i {
    margin: 0 5px;
}

.time {
    margin-left: 5px;
}

/* 广告横幅样式 */
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--background-darker);
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.close-btn {
    position: absolute;
    left: 10px;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
}

.banner-content {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.money-icon {
    font-size: 20px;
    margin-right: 10px;
}

.banner-text {
    color: var(--primary-color);
    font-weight: bold;
}

.download-btn {
    background-color: #FF57FF;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
}

/* 导航栏样式 */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--background-darker);
}

.menu-icon i {
    font-size: 22px;
    color: var(--text-muted);
}

.logo {
    text-align: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text i {
    margin: 0 5px;
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
}

.btn-login, .btn-register {
    padding: 7px 15px;
    margin-left: 5px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.btn-login {
    background-color: #5E0974;
    color: #ffffff;
}

.btn-register {
    background-color: #FF57FF;
    color: #ffffff;
}

/* VIP 奖励部分样式 */
.vip-rewards {
    margin: 15px;
    background: linear-gradient(135deg, #3D0061 0%, #9013FE 100%);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.rewards-header {
    flex: 1;
    z-index: 2;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.rewards-header h2 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 5px;
}

.vip-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rewards-header p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.vip-bonus {
    margin-top: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.logo-container {
    position: relative;
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    z-index: 1;
    opacity: 0.9;
    margin: 10px 0;
}

.vip-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 149, 255, 0.4);
    transform: scale(1.1);
}

/* 奖励卡片样式 */
.rewards-options {
    display: flex;
    margin: 0 15px 15px;
    gap: 10px;
}

.reward-card {
    flex: 1;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.reward-card.purple {
    background-color: var(--secondary-color);
}

.reward-card.orange {
    background-color: #FF57FF;
}

.reward-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 149, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.reward-icon i {
    font-size: 20px;
    color: #FFD6FF;
}

.reward-text {
    display: flex;
    flex-direction: column;
}

.reward-text span {
    line-height: 1.3;
    font-size: 14px;
}

/* 高级促销区样式 */
.promotion-section {
    margin: 15px;
    background-color: var(--background-darker);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.promotion-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: #FF95FF;
    font-weight: bold;
    font-size: 18px;
}

.promotion-title i {
    margin: 0 10px;
    color: #FF95FF;
}

.promo-card {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #272738, #323250);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.promo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.promo-icon i {
    font-size: 24px;
    color: #FFD6FF;
}

.promo-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.promo-content p {
    font-size: 12px;
    color: var(--text-light);
}

.invite-card .promo-icon {
    background-color: #8F00FF;
}

.commission-card .promo-icon {
    background-color: #FF57FF;
}

.newuser-card .promo-icon {
    background-color: #C600FF;
}

.cashback-card .promo-icon {
    background-color: #B02FFF;
}

/* 中奖信息样式 */
.winning-info {
    margin: 15px;
    padding: 10px;
    background-color: rgba(144, 19, 254, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.winning-info i {
    font-size: 18px;
    margin-right: 10px;
    color: #FF95FF;
}

.winner-id {
    font-size: 13px;
    color: var(--text-light);
}

/* 每日优惠样式 */
.daily-offers {
    margin: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #1e1e30, #2c2c45);
    border-radius: 10px;
}

.offer-title {
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.offer-title span {
    background-color: #9013FE;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.offer-timer {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.offer-timer i {
    margin-right: 5px;
}

.offers-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 400px;
}

.offer-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    flex: 1;
    max-width: 180px;
}

.offer-icon {
    width: 40px;
    height: 40px;
    background-color: #9013FE;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.offer-icon i {
    font-size: 20px;
    color: #FFD6FF;
}

.offer-detail h4 {
    font-size: 14px;
    margin-bottom: 3px;
    color: #ffffff;
}

.offer-detail p {
    font-size: 12px;
    color: var(--text-light);
}

/* 神秘矿井样式 */
.mystery-mine {
    margin: 15px;
    background: linear-gradient(135deg, #5E0974 0%, #FF57FF 100%);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.mine-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 149, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

.mine-icon i {
    font-size: 30px;
    color: #FF95FF;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.mine-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.mine-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.mine-btn {
    background-color: #FF57FF;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 游戏提供商样式 */
.game-providers {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--background-dark);
}

.provider {
    text-align: center;
    opacity: 0.6;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.provider.active {
    opacity: 1;
    border-bottom: 2px solid var(--primary-color);
}

.provider-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.provider span {
    font-size: 12px;
    font-weight: bold;
}

/* 游戏选择器样式 */
.game-selector {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.provider-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selector-icon {
    display: flex;
    align-items: center;
}

.selector-icon i {
    font-size: 18px;
    margin-right: 5px;
    color: var(--primary-color);
}

.selector-icon span {
    font-size: 14px;
    font-weight: bold;
}

.game-count {
    color: #ffffff;
    font-weight: bold;
}

.more-link {
    color: var(--text-muted);
    font-size: 14px;
}

/* 游戏列表样式 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
    max-width: 450px;
    margin: 0 auto;
    justify-content: center;
}

.game-card {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--background-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.game-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #5E0974 0%, #9013FE 100%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.game-text-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.game-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    word-wrap: break-word;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #FF57FF;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
}

.promotion-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(144, 19, 254, 0.8);
    width: 100%;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.big-number {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
}

.small-text {
    font-size: 12px;
    margin-top: 2px;
}

.game-title {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    width: 100%;
}

.game-info {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
    padding: 0 5px;
    width: 100%;
}

/* 使用替代图标，因为fa-tiger和fa-cow不存在 */
.fa-tiger:before {
    content: "\f6e8"; /* fa-dragon */
}

.fa-cow:before {
    content: "\f6c8"; /* fa-ox */
}

/* 现金返还样式 */
.cashback-section {
    margin: 15px;
    background-color: var(--background-darker);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.cashback-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 87, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.cashback-icon i {
    font-size: 24px;
    color: #FF57FF;
}

.cashback-content h3 {
    font-size: 16px;
    color: #FFD6FF;
    margin-bottom: 5px;
}

.cashback-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 87, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* 感谢用户样式 */
.thanks-section {
    margin: 15px;
    background: linear-gradient(135deg, #3D0061 0%, #9013FE 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.thanks-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.thanks-header i {
    margin: 0 10px;
    color: #FF95FF;
    font-size: 18px;
}

.thanks-header h3 {
    color: #FFD6FF;
}

.thanks-content p {
    font-size: 14px;
    color: var(--text-light);
}

.thanks-amount {
    font-size: 32px;
    font-weight: bold;
    color: #FF95FF;
    margin: 10px 0;
}

/* 底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-darker);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.nav-item {
    flex: 1;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    padding: 5px 0;
    cursor: pointer;
}

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

.nav-item.deposit {
    position: relative;
}

.deposit-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF57FF 0%, #9013FE 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--background-darker);
}

/* 响应式设计 */
@media (max-width: 400px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 401px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .app-container {
        max-width: 480px;
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
        min-height: 100vh;
    }
    
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 