/* Estilos Globais */
:root {
    --primary-color: #32a852;
    --secondary-color: #f8a829;
    --bg-color: #214b24;
    --dark-color: #1a371d;
    --light-color: #ffffff;
    --text-color: #ffffff;
    --accent-color: #f8a829;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ocultar indicadores de rolagem global */
::-webkit-scrollbar,
::-webkit-scrollbar-button,
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-corner,
::-webkit-resizer {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Estilos de Botões */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Navegação de Cabeçalho */
.header {
    background-color: var(--dark-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.menu-btn, .search-btn {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 20px;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

/* Área Promocional */
.promo-section {
    margin: 20px 0;
}

.promo-banner {
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Estilos do Slider */
.promo-slider {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-slide.active {
    opacity: 1;
    z-index: 2;
}

.promo-content {
    padding: 15px;
    text-align: center;
}

.promo-content h2 {
    font-size: 22px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 16px;
    margin-bottom: 8px;
}

.promo-content .sub-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.whatsapp-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-img {
    max-width: 100%;
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.promo-card {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.promo-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    padding-bottom: 105px;
}

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

.promo-card-content p {
    font-size: 12px;
    margin-bottom: 5px;
}

.promo-img {
    margin-top: 10px;
    max-height: 60px;
}

/* Estilos dos Ícones de Cartões Promocionais */
.promo-icon {
    margin-top: 15px;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.promo-icon i {
    font-size: 40px;
    color: var(--accent-color);
}

.promo-card:hover .promo-icon {
    transform: translateX(-50%) scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Área de Link de Convite */
.invite-section {
    margin: 20px 0;
}

.invite-banner {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.invite-banner i {
    color: var(--accent-color);
}

/* Área de Canais de Recarga */
.payment-section {
    margin: 20px 0;
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    padding: 15px;
    position: relative;
}

/* Abas de Métodos de Pagamento */
.payment-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Ocultar barra de rolagem */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    justify-content: center; /* Centralizar abas */
    position: relative; /* Definir posicionamento relativo */
}

/* Ocultar qualquer indicador de rolagem possível */
.payment-section::after,
.payment-section::before,
.payment-methods-container::after,
.payment-methods-container::before,
.payment-methods::after,
.payment-methods::before {
    display: none !important;
}

/* Ocultar barra de rolagem em navegadores WebKit */
.payment-tabs::-webkit-scrollbar {
    display: none;
}

.payment-tab {
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
    flex: 1; /* Distribuir espaço igualmente */
    text-align: center; /* Centralizar texto */
    max-width: 120px; /* Limitar largura máxima */
}

.payment-tab.active {
    color: var(--accent-color);
}

.payment-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Contêiner de Métodos de Pagamento */
.payment-methods-container {
    display: none;
}

.payment-methods-container.active {
    display: block;
}

.payment-methods {
    display: flex;
    overflow-x: auto;
    gap: 12px; /* Reduzir espaçamento para mostrar mais itens em uma linha */
    padding: 5px 0; /* Reduzir padding vertical */
    justify-content: center; /* Centralizar métodos de pagamento */
    flex-wrap: wrap;
    /* Ocultar barra de rolagem */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Ocultar barra de rolagem em navegadores WebKit */
.payment-methods::-webkit-scrollbar {
    display: none;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px; /* Reduzir largura mínima para mostrar mais itens */
    max-width: 90px; /* Limitar largura máxima */
    padding: 8px 5px; /* Reduzir padding */
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    transform: translateY(-5px);
}

.payment-icon {
    width: 45px; /* Reduzir tamanho do ícone */
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.payment-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.payment-method:hover .payment-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.payment-name {
    font-size: 12px;
    color: var(--light-color);
    text-align: center;
}

/* Estilos Especiais para Ícones de Criptomoedas */
.crypto-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-icon span {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-color);
}

/* Área de Jogos Populares */
.popular-games-section {
    margin: 20px 0 30px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-left: 5px;
}

.section-icon {
    color: var(--accent-color);
    font-size: 22px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
}

/* Caixa de Promoção de Jogos */
.game-promo-box {
    position: relative;
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.game-promo-content {
    padding: 15px 20px 20px;
    color: var(--light-color);
    order: 2;
}

.game-promo-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--accent-color); /* Usar cor de destaque do site */
}

.game-promo-content p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 3px; /* Reduzir espaçamento entre parágrafos */
    color: rgba(255, 255, 255, 0.85);
}

.game-register-btn {
    display: inline-block;
    background-color: var(--primary-color); /* Usar cor primária do site */
    color: var(--light-color); /* Texto branco */
    font-weight: bold;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    margin-top: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.game-register-btn:hover {
    background-color: var(--secondary-color); /* Mudar para cor secundária ao passar o mouse */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.game-promo-image {
    position: relative;
    width: 100%;
    order: 1; /* Imagem antes do conteúdo */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto; /* 修改为自动高度，确保图片完整显示 */
    max-height: 250px; /* 设置最大高度限制 */
}

.game-promo-img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain; /* 修改为contain模式，确保图片完整显示 */
    max-height: 100%; /* 图片最大高度为容器的100% */
}

.game-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
}

.game-logo-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 200px;
    text-align: center;
}

.game-logo {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilos do LOGO BET111 */
.bet-logo {
    display: inline-block;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.bet-text {
    font-size: 26px;
    font-weight: bold;
    color: var(--light-color);
    font-family: Arial, sans-serif;
    letter-spacing: -1px;
}

.bet-numbers {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    font-family: Arial, sans-serif;
    letter-spacing: -2px;
}

.bet-com {
    font-size: 16px;
    color: var(--light-color);
    font-family: Arial, sans-serif;
    margin-left: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    position: relative;
}

.game-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--dark-color);
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.game-img {
    width: 100%;
    display: block;
    height: 140px; /* Altura fixa para que todos os cartões pareçam consistentes */
    object-fit: cover;
}

.game-info {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 20px);
}

.game-badge {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.live-chat-icon {
    background-color: var(--light-color);
    color: var(--dark-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.game-title {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--light-color);
}

/* Ajustes de Media Query */
@media (min-width: 600px) {
    .game-promo-box {
        flex-direction: row;
        align-items: center; /* Alinhar verticalmente os elementos filhos */
    }
    
    .game-promo-content {
        width: 50%;
        padding: 25px;
    }
    
    .game-promo-image {
        width: 50%;
        height: 100%; /* Definir altura como 100% para preencher o contêiner pai */
        max-height: none; /* 在大屏幕上取消最大高度限制 */
    }
    
    .game-logo-overlay {
        bottom: 30px;
    }
    
    .game-promo-img {
        object-fit: cover; /* 大屏幕使用cover模式填充空间 */
    }
    
    .promo-card-content {
        padding-bottom: 110px; /* 大屏幕设备上增加底部间距 */
    }
    
    .promo-icon {
        width: 85px; /* 大屏幕设备上增加图标尺寸 */
        height: 85px;
        bottom: 15px;
    }
    
    .promo-icon i {
        font-size: 42px; /* 增加图标字体大小 */
    }
}

/* 添加平板设备的媒体查询 */
@media (min-width: 481px) and (max-width: 599px) {
    .promo-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; /* 减小间距 */
    }
    
    .promo-card-content {
        padding: 12px 10px;
        padding-bottom: 100px;
    }
    
    .promo-card-content h3 {
        font-size: 15px;
    }
    
    .promo-card-content p {
        font-size: 11px;
    }
    
    .promo-icon {
        width: 75px;
        height: 75px;
    }
    
    .promo-icon i {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    .game-promo-content h3 {
        font-size: 16px;
    }
    
    .game-promo-content p {
        font-size: 12px;
    }
    
    .bet-text {
        font-size: 22px;
    }
    
    .bet-numbers {
        font-size: 28px;
    }
    
    .bet-com {
        font-size: 14px;
    }
    
    .game-promo-image {
        height: auto; /* 移动设备上使用自动高度 */
        max-height: 200px; /* 限制最大高度 */
        padding: 10px 0; /* 添加上下内边距 */
    }
    
    .game-promo-img {
        height: auto;
        object-fit: contain; /* 确保图片完整显示不被裁剪 */
        object-position: center; /* 图片居中 */
        max-height: 180px; /* 设置图片最大高度 */
    }
    
    .game-logo-container {
        padding: 10px;
        margin: 0 10px;
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .section-header {
        margin-bottom: 10px; /* 减小移动设备上的标题底部间距 */
    }
    
    .section-title {
        font-size: 16px; /* 减小移动设备上的标题字体大小 */
    }
    
    .popular-games-section {
        margin-top: 10px; /* 减小上边距 */
    }
}

/* Área de Política de Privacidade e Termos */
.terms-section {
    margin: 20px 0 30px 0;
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow);
}

.terms-content {
    padding: 5px 10px;
}

.terms-box {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-box:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.terms-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.terms-text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.terms-text p {
    margin-bottom: 8px;
}

.terms-buttons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Navegação de Rodapé */
.footer {
    background-color: var(--dark-color);
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
}

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

.footer-nav-item.active {
    color: var(--accent-color);
}

/* Ajustes Responsivos */
@media (max-width: 480px) {
    .promo-cards {
        grid-template-columns: 1fr;
    }
    
    .promo-card-content {
        padding-bottom: 95px; /* 移动设备上减少底部间距 */
    }
    
    .promo-icon {
        width: 70px; /* 移动设备上减小图标尺寸 */
        height: 70px;
        bottom: 12px; /* 调整底部距离 */
    }
    
    .promo-icon i {
        font-size: 35px; /* 减小图标字体大小 */
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .special-event {
        width: 80px;
        height: 80px;
        right: 10px;
        top: 30px;
    }
    
    .special-event h3 {
        font-size: 14px;
    }
    
    .countdown {
        font-size: 12px;
    }
    
    .payment-methods {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .terms-title {
        font-size: 15px;
    }
    
    .terms-text {
        font-size: 12px;
    }
    
    .terms-section {
        margin-bottom: 60px; /* Deixar espaço suficiente para a navegação fixa do rodapé */
    }
} 