/* Adiciona a importação da fonte Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    background-color: #121212; /* Fundo principal escuro */
    margin: 0;
    padding: 0;
    /* font-family: Arial, sans-serif; /* COMENTADO OU REMOVIDO */
    font-family: 'Inter', sans-serif; /* NOVA FONTE */
    color: #E0E0E0; /* Cor de texto padrão mais suave */
    font-size: 14px; /* Tamanho base */
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal acidental */
}

/* Garante que a fonte seja aplicada a tudo */
*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif; /* Aplica a fonte a todos elementos */
}

/* Remove margens padrão */
h1, h2, h3, h4, h5, h6, p, ul, li {
    margin: 0;
    padding: 0; /* Remove padding de listas também */
}
ul {
    list-style: none; /* Remove bolinhas das listas do footer */
}

/* Estilo base para links */
a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #E6C200;
}

/* Remove estilos padrão de botões e inputs */
button, input, select, textarea {
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif; /* Garante a fonte */
}
button {
    cursor: pointer;
    background: none; /* Remove fundo padrão */
    padding: 0; /* Remove padding padrão */
    color: inherit; /* Herda cor do texto */
    border: none; /* Garante sem borda */
}
input::placeholder, textarea::placeholder { /* Estiliza placeholders */
    color: #666;
    opacity: 1; /* Garante visibilidade */
}

/* Estilo base para ícones (FontAwesome) */
i.fas, i.fab {
    vertical-align: middle; /* Alinha melhor com o texto */
    line-height: 1; /* Evita espaçamento extra */
}


/* === Barra de Bônus Cadastro === */
.bonus-cadastro {
    width: 100%;
    /* position: relative; /* Removido se não necessário */
    box-sizing: border-box;
    background-color: #FFD700;
    color: #000000;
    text-align: center;
    padding: 8px 15px; /* Padding ajustado */
    font-size: 14px; /* Tamanho fonte */
    font-weight: 600; /* Peso */
    z-index: 999; /* Mantém */
}


/* === Barra do Topo === */
.top-bar {
    background-color: #1A1A1A; /* Fundo um pouco diferente */
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); /* Sombra mais sutil */
    padding: 10px 0; /* Padding vertical */
    border-bottom: 1px solid #282828; /* Linha inferior */
    position: sticky; /* Fixa no topo */
    top: 0;
    z-index: 1000;
}
.top-bar .container { /* Seletor mais específico */
    width: 100%;
    max-width: 1140px; /* Largura máxima */
    margin: 0 auto;
    padding: 0 20px; /* Padding lateral */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.logo {
    display: flex; /* Para alinhar ícone e imagem */
    align-items: center;
    gap: 15px; /* Espaço entre ícone do menu e logo */
    flex-shrink: 0;
}
.logo img {
    height: 38px; /* Altura do logo */
    width: auto;
    display: block;
}
.menu-icon {
    font-size: 24px;
    color: #AAA;
    cursor: pointer; /* Adiciona cursor */
    transition: color 0.2s ease;
}
.menu-icon:hover {
    color: #FFD700;
}

/* Botões da direita (Depósito, Saldo, Bônus) */
.buttons {
    display: flex;
    gap: 15px; /* Espaço entre botões/blocos */
    align-items: center;
}

/* Botão Depositar Principal */
.button.modalDeposito {
    padding: 10px 18px;
    background: linear-gradient(45deg, #E6C200, #FFD700); /* Gradiente */
    color: #000000 !important; /* Força cor do texto */
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex; /* Alinhar ícone e texto */
    align-items: center;
    gap: 8px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    text-decoration: none; /* Remove sublinhado se for link */
}
.button.modalDeposito:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #E6C200, #FFD700);
    color: #000000 !important; /* Mantém cor no hover */
}
.button.modalDeposito i {
    font-size: 1.1em;
}
.button.modalDeposito br { display: none; }

/* Blocos Saldo e Bônus */
.saldo-retirar, .bonus-resgatar {
    background-color: #2a2a2a;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #333;
}
.saldo-titulo, .bonus-titulo {
    font-size: 11px; /* Menor ainda */
    color: #AAA;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1; /* Ajusta linha */
}
.saldo, .bonus-valor {
    font-size: 15px; /* Tamanho valor */
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1; /* Ajusta linha */
}
/* Botões Retirar / Resgatar */
.btnRetirar, .btnResgatar {
    padding: 6px 10px; /* Padding */
    background-color: #3f3f3f;
    color: #E0E0E0 !important; /* Força cor texto */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px; /* Fonte menor */
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none; /* Remove sublinhado */
}
.btnRetirar:hover, .btnResgatar:hover {
    background-color: #FFD700;
    color: #000000 !important; /* Força cor texto hover */
}


/* === Sidebar de Termos (mantido, com leve ajuste de fundo e sombra) === */
.sidebar { /* Este é o sidebar dos TERMOS */
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background-color: #1A1A1A; /* Fundo igual ao top-bar */
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3); /* Sombra mais sutil */
    transition: left 0.3s ease-in-out;
    z-index: 1002; /* Acima do overlay */
    border-right: 1px solid #282828; /* Borda */
}
.sidebar.show {
    left: 0;
}
.sidebar-content {
    position: absolute;
    top: 45px; /* Mais espaço para o botão fechar */
    bottom: 15px; /* Padding inferior */
    left: 15px; /* Padding lateral */
    right: 5px; /* Espaço para scrollbar */
    overflow-y: auto;
    padding-right: 10px; /* Espaço extra para scrollbar */
    text-align: justify;
    font-size: 13px; /* Tamanho texto */
    color: #C0C0C0; /* Cor texto mais suave */
    line-height: 1.7; /* Mais espaçamento */
    scrollbar-width: thin;
    scrollbar-color: #FFD700 #1A1A1A;
}
.sidebar-content::-webkit-scrollbar { width: 6px; } /* Scrollbar mais fina */
.sidebar-content::-webkit-scrollbar-thumb { background-color: #444; border-radius: 3px; } /* Thumb cinza */
.sidebar-content::-webkit-scrollbar-track { background: #1A1A1A; } /* Fundo track */

.close-sidebar {
    position: absolute;
    top: 12px; /* Ajuste posição */
    right: 12px;
    font-size: 22px; /* Tamanho */
    cursor: pointer;
    color: #888; /* Cor mais sutil */
    transition: color 0.2s ease, transform 0.2s ease;
}
.close-sidebar:hover {
    color: #FFD700;
    transform: rotate(90deg); /* Efeito rotação */
}


/* === Slider Principal === */
.slider-wrapper {
    max-width: 1140px; /* Mesma largura do topo */
    margin: 30px auto; /* Espaçamento */
    padding: 0 20px; /* Padding lateral para alinhar com grid */
    box-sizing: border-box;
}
.slider-container {
    width: 100%;
    /* height: 200px; /* REMOVIDO - Usar aspect-ratio */
    aspect-ratio: 1000 / 200; /* Proporção original (ajuste se necessário) */
    overflow: hidden;
    position: relative;
    border-radius: 8px; /* Bordas arredondadas */
}
.slides {
    display: flex;
    height: 100%; /* Ocupa altura do container */
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cobre a área sem distorcer */
    display: block;
    /* border-radius: 3px; /* REMOVIDO - Radius no container */
}
.dots {
    text-align: center;
    margin-top: 12px; /* Espaço acima */
}
.dot {
    display: inline-block;
    width: 10px; /* Tamanho menor */
    height: 10px;
    margin: 0 4px; /* Espaço menor */
    background-color: #444; /* Cor inativo */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transição cor */
}
.dot.active {
    background-color: #FFD700; /* Cor ativo */
}


/* === Campo de Busca === */
.busca-container {
    max-width: 1140px; /* Largura */
    margin: 30px auto 0 auto; /* Espaçamento */
    padding: 0 20px; /* Padding lateral */
    box-sizing: border-box;
    text-align: center; /* Remove, não necessário */
    width: 100%;
}
.busca-form-row { /* Não mais necessário */ }
.busca-input-icon {
    position: relative;
    width: 100%; /* Ocupa largura total */
    margin-bottom: 5px; /* Espaço para resultados */
}
.busca-input-icon i {
    position: absolute;
    top: 50%;
    left: 15px; /* Mais espaço */
    transform: translateY(-50%);
    color: #777; /* Cor ícone mais sutil */
    font-size: 16px; /* Tamanho ícone */
}
.busca-input {
    width: 100%;
    padding: 0 20px 0 45px; /* Padding (esquerdo maior para ícone) */
    border: 1px solid #282828; /* Borda sutil */
    border-radius: 6px; /* Bordas suaves */
    height: 44px; /* Altura padrão */
    background-color: #1E1E1E; /* Fundo */
    color: #E0E0E0; /* Cor texto */
    font-size: 15px; /* Tamanho fonte */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.busca-input:focus {
    outline: none;
    border-color: #FFD700; /* Borda na cor principal */
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2); /* Outline suave */
}
.busca-input::placeholder { color: #666; }

/* Resultados da Busca */
.busca-resultado {
    max-width: 1140px; /* Mesma largura */
    margin: 0 auto;
    text-align: left;
    position: relative; /* Para posicionar sobre conteúdo se necessário */
    z-index: 990; /* Abaixo do topo/modais */
}
.busca-tabela-resultado {
    width: 100%;
    margin: 0 auto 5px auto; /* Margem apenas abaixo */
    border-collapse: collapse;
    background-color: #1E1E1E;
    color: #fff;
    border-radius: 6px; /* Bordas */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Sombra */
    overflow: hidden;
    border: 1px solid #282828; /* Borda */
    /* table-layout: fixed; /* Removido para colunas se ajustarem */
}
.busca-tabela-resultado td {
    padding: 10px 15px; /* Padding */
    vertical-align: middle;
    border-bottom: 1px solid #282828; /* Linha entre resultados */
}
.busca-tabela-resultado tr:last-child td {
    border-bottom: none; /* Remove linha do último */
}
.col-img {
    width: 50px; /* Largura fixa imagem */
    padding-left: 15px;
    padding-right: 0;
}
.busca-img {
    width: 40px; /* Tamanho imagem */
    height: 40px;
    object-fit: cover; /* Cobre área */
    border-radius: 4px;
    background-color: #2a2a2a; /* Fundo */
    display: block; /* Evita espaço extra */
}
.col-nome {
    /* width: auto; /* Largura automática */
    font-size: 14px; /* Tamanho nome */
    font-weight: 500; /* Peso */
    color: #E0E0E0; /* Cor nome */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.col-jogadores {
    width: 120px; /* Largura fixa jogadores */
    font-size: 12px; /* Tamanho */
    text-align: right; /* Alinha à direita */
    color: #888; /* Cor */
    white-space: nowrap; /* Não quebra linha */
}
.col-jogar {
    width: 100px; /* Largura fixa botão */
    text-align: right;
    padding-right: 15px;
}
.btn-jogar {
    padding: 7px 14px; /* Padding botão */
    background: linear-gradient(45deg, #E6C200, #FFD700); /* Gradiente */
    border: none;
    color: #000000 !important; /* Força cor */
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    font-size: 13px; /* Tamanho fonte */
    font-weight: 600; /* Peso */
    text-decoration: none; /* Remove sublinhado */
}
.btn-jogar:hover {
    transform: scale(1.05); /* Efeito zoom */
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #E6C200, #FFD700); /* Mantém gradiente */
    color: #000000 !important; /* Mantém cor */
}
.online-dot { /* Ponto verde */
    width: 8px; height: 8px; margin-right: 4px; background-color: #4CAF50;
}
/* Mensagem Sem Resultado */
.sem-resultado {
    text-align: center;
    color: #888; /* Cor mais sutil */
    padding: 25px;
    font-size: 14px;
}


/* === Carrossel Ganhadores === */
.ganhos-container {
    display: flex;
    overflow: hidden; /* Essencial para o efeito */
    height: 70px; /* Altura ajustada */
    margin-top: 30px; /* Espaço acima */
    background-color: #1A1A1A; /* Fundo */
    border-top: 1px solid #282828; /* Linha */
    border-bottom: 1px solid #282828; /* Linha */
}
.ganhos-fixo {
    flex: 0 0 130px; /* Largura fixa */
    background-color: #121212; /* Fundo diferente */
    color: white;
    font-weight: 600; /* Bold */
    text-align: center; /* Centraliza texto */
    display: flex;
    flex-direction: column; /* Ícone em cima, texto em baixo */
    justify-content: center;
    align-items: center;
    gap: 4px; /* Espaço */
    padding: 10px;
    box-sizing: border-box;
    height: 100%;
    font-size: 11px; /* Tamanho texto */
    text-transform: uppercase; /* Maiúsculas */
    line-height: 1.3;
}
.ganhos-fixo i {
    font-size: 24px; /* Tamanho ícone */
    color: #ffc107; /* Amarelo */
    margin-bottom: 2px; /* Espaço abaixo ícone */
}
.ganhos-rolando {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}
.ganhos-slider {
    display: flex;
    align-items: center;
    height: 100%;
    /* A animação será via JS */
}
.card { /* Card ganhador */
    display: flex;
    align-items: center;
    background-color: #1E1E1E; /* Fundo card */
    color: #C0C0C0; /* Cor texto */
    padding: 10px 12px; /* Padding */
    margin-right: 15px; /* Espaço entre cards */
    border-radius: 6px; /* Bordas */
    min-width: 200px; /* Largura mínima */
    height: 55px; /* Altura card */
    box-sizing: border-box;
    border: 1px solid #282828; /* Borda sutil */
    font-size: 12px; /* Tamanho fonte */
}
.card img {
    width: 35px; /* Tamanho imagem */
    height: 35px;
    margin-right: 10px;
    border-radius: 4px;
    object-fit: cover; /* Cobre área */
    background-color: #2a2a2a; /* Fundo */
}
.card div { line-height: 1.4; } /* Espaçamento linhas */
.card strong { color: #E0E0E0; font-weight: 500; } /* Nome */
.valor { /* Valor ganho */
    color: #FFD700;
    font-weight: 600; /* Bold */
    font-size: 13px; /* Maior */
}


/* === Listagem dos Jogos === */
.lista-jogos {
    max-width: 1140px; /* Largura */
    margin: 30px auto 0 auto; /* Espaçamento */
    padding: 0; /* Remove padding antigo */
    background-color: transparent; /* Remove fundo antigo */
}
.titulo-lista-jogos {
    display: block; /* Quebra linha */
    font-size: 1.3em; /* Tamanho */
    font-weight: 600;
    margin: 0 20px 15px 20px; /* Margens (20px laterais) */
    color: #FFFFFF;
    padding-bottom: 10px;
    border-bottom: 1px solid #282828;
}
.titulo-lista-jogos i.fas { /* Ícone ao lado do título (se houver) */
    margin-right: 8px;
    color: #FFD700; /* Usa cor principal */
}
.titulo-lista-jogos i.fas.fa-fire { color: #FF9800; } /* Exceção para fogo */

/* Grid dos Jogos */
.lista-jogos .jogos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); /* Responsivo, min 145px */
    gap: 16px; /* Espaço entre cards */
    padding: 0 20px; /* Padding lateral na grid */
    box-sizing: border-box;
    /* Remove max-width, width, margin daqui */
}

/* Card Individual */
.lista-jogos .jogo-card {
    background-color: #1E1E1E; /* Fundo */
    aspect-ratio: 3 / 4; /* Proporção */
    border-radius: 8px; /* Bordas */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #282828; /* Borda */
    display: flex;
    flex-direction: column;
    height: auto; /* Remove altura fixa */
}
.lista-jogos .jogo-card:hover {
    transform: translateY(-6px); /* Flutuar */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); /* Sombra */
}

/* Imagem */
.lista-jogos .jogo-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Quadrada */
    object-fit: cover; /* Cobre */
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #2a2a2a; /* Fundo */
    /* Remove position, transform, z-index, scale antigos */
}

/* Overlay (hover) */
.lista-jogos .jogo-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%); /* Gradiente */
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
}
.lista-jogos .jogo-card:hover .jogo-overlay {
    opacity: 1;
}

/* Botão Jogar */
.lista-jogos .jogar-btn {
    background: linear-gradient(45deg, #E6C200, #FFD700);
    border: none;
    color: #000000 !important; /* Força cor */
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito "pop" */
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.lista-jogos .jogo-card:hover .jogar-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.lista-jogos .jogar-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}
.lista-jogos .jogar-btn i { font-size: 0.9em; }

/* Informações (Nome, Jogadores) */
.lista-jogos .jogo-info {
    position: static; /* Fluxo normal */
    transform: none;
    text-align: left;
    width: 100%;
    color: white;
    padding: 10px 12px;
    margin-top: auto; /* Empurra para baixo */
    background-color: #1E1E1E; /* Fundo */
    z-index: 1; /* Abaixo overlay */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.lista-jogos .jogo-info .nome {
    font-size: 13px;
    font-weight: 500;
    color: #E0E0E0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.lista-jogos .jogo-info .jogadores {
    margin-top: 0;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #888;
}
.jogadores-text { margin-left: 2px; }
.online-dot { /* Ponto verde */
    width: 7px; height: 7px; margin-right: 0; background-color: #4CAF50; border-radius: 50%; /* Garante círculo */
    /* Remove animação daqui se estiver, coloca só no da busca/aovivo */
}
/* Animação APENAS para ponto da busca e aovivo */
.busca-tabela-resultado .online-dot,
.aovivo-resultados .online-dot {
    animation: piscar 1s infinite;
}
@keyframes piscar { /* Mantém animação */
    0%, 100% { opacity: 1; } 50% { opacity: 0.2; }
}

/* Botão Ver Mais Jogos */
.btn-ver-mais {
    padding: 12px 30px; /* Padding */
    background: linear-gradient(45deg, #E6C200, #FFD700); /* Gradiente */
    color: #000000 !important; /* Força cor */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-size: 15px; /* Tamanho fonte */
    font-weight: 600; /* Peso */
    display: block; /* Ocupa linha */
    max-width: 200px; /* Largura máxima */
    margin: 30px auto 0 auto; /* Espaçamento */
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    text-decoration: none; /* Remove sublinhado */
}
.btn-ver-mais:hover {
    transform: scale(1.03); /* Efeito zoom */
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #E6C200, #FFD700); /* Mantém gradiente */
    color: #000000 !important; /* Mantém cor */
}


/* === Modais do Jogador (Login, Cadastro, etc.) === */
/* Overlay (fundo escuro) */
.overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Mais escuro */
    backdrop-filter: blur(5px); /* Efeito blur */
    z-index: 1001; /* Z-index alto */
    opacity: 0;
    transition: opacity 0.3s ease;
}
.overlay.show {
    display: block;
    opacity: 1;
}

/* Modal Base */
.modal {
    display: none;
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -45%) scale(0.95); /* Animação entrada */
    background-color: #242424; /* Fundo modal */
    padding: 25px 30px; /* Padding */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); /* Sombra */
    z-index: 1002; /* Acima do overlay */
    width: 90%;
    max-width: 420px; /* Largura */
    border-radius: 10px; /* Bordas */
    border: 1px solid #333;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.modal.show {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Conteúdo do Modal */
.modal-content h2 {
    margin: 0 0 25px 0;
    font-size: 1.3em; /* Tamanho título */
    color: #FFFFFF; /* Cor título (branco) */
    text-align: center;
    font-weight: 600;
    padding-bottom: 10px; /* Espaço linha */
    border-bottom: 1px solid #333; /* Linha */
}
/* Se o H2 tiver a cor principal no original, descomente a linha abaixo */
/* .modal-content h2 { color: #FFD700; } */

.close-modal {
    position: absolute; top: 15px; right: 15px; /* Posição */
    font-size: 24px; color: #888; /* Tamanho e cor */
    cursor: pointer; transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1; /* Garante alinhamento */
    padding: 5px; /* Área clicável maior */
}
.close-modal:hover { color: #FFD700; transform: rotate(90deg); }

/* Inputs dentro do Modal */
.modal .form-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; } /* Empilha inputs e adiciona espaço */
.modal .input-icon { margin-bottom: 0; width: 100%; position: relative; } /* Ajusta input-icon */
.modal .input-icon input,
.modal .input-icon textarea,
.modal .input-icon select {
    background-color: #2E2E2E; /* Fundo input */
    border: 1px solid #444; /* Borda */
    height: 44px; /* Altura */
    border-radius: 6px;
    color: #E0E0E0;
    padding-left: 42px; /* Espaço para ícone */
    width: 100%; /* Garante largura total */
    font-size: 14px; /* Tamanho fonte input */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.modal .input-icon textarea {
    height: auto; /* Altura automática para textarea */
    min-height: 80px; /* Altura mínima */
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}
.modal .input-icon input:focus,
.modal .input-icon textarea:focus,
.modal .input-icon select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
    outline: none;
    background-color: #333; /* Fundo no foco */
}
.modal .input-icon i {
    position: absolute; /* Garante posição */
    left: 14px; /* Posição */
    top: 50%;
    transform: translateY(-50%);
    color: #777; /* Cor ícone */
    font-size: 15px; /* Tamanho ícone */
    pointer-events: none; /* Não interfere no clique */
}
.modal input[readonly] {
    background-color: #282828 !important;
    color: #888 !important;
    cursor: not-allowed;
    border-color: #333 !important; /* Borda readonly */
}

/* Botão Submit do Modal */
.modal .submit-button {
    width: 100%;
    margin-top: 15px;
    padding: 14px 20px;
    background: linear-gradient(45deg, #E6C200, #FFD700);
    color: #000000 !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    text-decoration: none;
    border: none; /* Garante sem borda */
    cursor: pointer; /* Garante cursor */
}
.modal .submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #E6C200, #FFD700);
    color: #000000 !important;
}

/* Links (Recuperar Senha, Login, Criar Conta) */
.recover-password, .log-in, .create-account {
    width: 100%;
    text-align: center; /* Centraliza links */
    margin-top: 15px;
}
.recover-password { text-align: right; margin-bottom: 10px; } /* Recuperar à direita */
.recover-password a, .log-in a, .create-account a {
    color: #FFD700;
    text-decoration: none;
    font-size: 13px; /* Tamanho */
    font-weight: 500; /* Peso */
}
.recover-password a:hover, .log-in a:hover, .create-account a:hover {
    color: #E6C200;
    text-decoration: underline; /* Sublinhado no hover */
}

/* Termos */
.termos {
    font-size: 11px; /* Menor */
    color: #AAA; /* Cinza claro */
    line-height: 1.5; /* Espaçamento */
    text-align: center; /* Centralizado */
    margin-top: 15px; /* Espaço acima */
}
.termos a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500; /* Menos bold */
    cursor: pointer;
}
.termos a:hover {
    text-decoration: underline;
    color: #E6C200;
}

/* Alertas no Modal (Estilo Unificado) */
#alerta-cadastro, #alerta-login, #alerta-senha, #alerta-contato, #alerta-deposito, #alerta-retirada, #alerta-bonus, #alerta-dados, #alerta-afiliados, #alerta-raspadinha {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13.5px;
    text-align: center;
    display: none;
    border-width: 1px;
    border-style: solid;
    line-height: 1.5; /* Melhora leitura */
}
.alertanao { /* Estilo unificado erro */
    background-color: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #F44336 !important;
    /* Remove padding: 0; line-height: inherit; */
}
.alertasim { /* Estilo unificado sucesso */
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #FFD700 !important;
    /* Remove padding: 0; line-height: inherit; */
}
.alertanao span, .alertasim span { margin-left: 8px; } /* Ícone */
.alertanao p, .alertasim p { margin: 0; padding: 0; line-height: inherit; display: inline;} /* Ajuste para texto dentro do alerta */
.alertanao, .alertasim { cursor: pointer; } /* Mantém cursor */


/* Modal PIX (Conteúdo dinâmico) */
.pix-container img {
    display: block;
    max-width: 180px; /* QR Code menor */
    margin: 15px auto;
    border: 4px solid white; /* Borda */
    border-radius: 5px;
}
.pix-container p {
    font-size: 13px;
    text-align: center;
    color: #BBB;
    margin-bottom: 10px;
    line-height: 1.5;
}
#pixLink { /* Input do código PIX */
    text-align: center;
    font-size: 12px;
    padding: 10px 15px !important;
    padding-left: 15px !important;
    height: auto !important;
    background-color: #1E1E1E !important;
    border-color: #333 !important; /* Borda sutil */
    color: #DDD !important; /* Cor texto */
    word-break: break-all; /* Quebra linha se necessário */
}
.BotaoCopiaPix { /* Botão Copiar */
    margin-top: 10px !important;
    padding: 12px 20px !important;
    height: auto !important;
}


/* === Listagem Ao Vivo === */
.aovivo-resultados {
    max-width: 1140px; /* Largura */
    margin: 30px auto 0 auto; /* Espaçamento */
    padding: 0 20px; /* Padding */
    background-color: transparent; /* Remove fundo */
}
.aovivo-titulo {
    display: flex;
    align-items: center;
    font-size: 1.1em; /* Tamanho */
    font-weight: 600;
    margin-bottom: 15px; /* Espaço abaixo */
    color: #FFFFFF;
    /* Remove padding e border */
}
.online-dot-red { /* Ponto vermelho */
    display: inline-block;
    width: 10px; /* Tamanho */
    height: 10px;
    margin-right: 8px; /* Espaço */
    background-color: #FF3B30; /* Vermelho */
    border-radius: 50%;
    animation: piscarred 1s infinite;
    vertical-align: middle;
}
@keyframes piscarred {
    0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* Container das entradas ao vivo */
#aovivo-container {
    display: grid; /* Usa grid */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsivo */
    gap: 12px; /* Espaço */
    /* Remove flex-wrap, justify-content */
}
.aovivo-entry {
    padding: 10px 12px; /* Padding */
    background: #1E1E1E; /* Fundo */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra */
    border-radius: 6px; /* Bordas */
    color: white;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%; /* Ocupa grid cell */
    border: 1px solid #282828; /* Borda */
    transition: background-color 0.2s ease; /* Transição */
}
.aovivo-entry:hover {
    background-color: #252525; /* Fundo hover */
}
.aovivo-entry img {
    width: 35px; /* Tamanho imagem */
    height: 35px;
    border-radius: 4px;
    flex-shrink: 0; /* Não encolhe */
    object-fit: cover; /* Cobre */
    background-color: #2a2a2a; /* Fundo */
}
.aovivo-info {
    margin-left: 10px; /* Espaço */
    font-size: 12.5px; /* Tamanho fonte */
    line-height: 1.5; /* Espaçamento linhas */
    color: #BBB; /* Cor texto */
    overflow: hidden; /* Evita quebrar layout */
}
.aovivo-info strong { color: #E0E0E0; font-weight: 500; } /* Nome */
.aovivo-amount { /* Valor ganho */
    color: #FFD700;
    font-weight: 600; /* Bold */
    font-size: 13px; /* Maior */
}


/* === Footer === */
.footer {
    color: #AAA; /* Cor texto padrão */
    width: 100%;
    padding: 50px 0 25px; /* Mais padding */
    background-color: #1A1A1A; /* Fundo */
    margin-top: 50px; /* Espaço acima */
    border-top: 1px solid #282828; /* Linha topo */
    font-size: 13.5px; /* Tamanho base footer */
}
.footer .container-footer {
    max-width: 1140px; /* Largura */
    margin: 0 auto;
    padding: 0 20px; /* Padding lateral */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Colunas responsivas */
    gap: 35px; /* Espaço entre colunas */
    align-items: start;
}

/* Coluna Logo */
.footer-column:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.footer-column img { max-width: 130px; height: auto;}

/* Títulos das colunas */
.footer-column h4 {
    font-size: 15px; /* Tamanho */
    margin-bottom: 15px; /* Espaço */
    color: #E0E0E0; /* Cor */
    font-weight: 600;
}

/* Lista de links */
.footer-column ul li { margin-bottom: 10px; } /* Mais espaço */
.footer-column ul li a {
    color: #AAA;
    text-decoration: none;
    font-size: 13.5px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.footer-column ul li a:hover {
    color: #FFD700;
}

/* Ícones sociais */
.social-icons { margin-top: 5px; } /* Pequeno espaço acima */
.social-icons a {
    margin-right: 15px; /* Mais espaço */
    font-size: 20px; /* Tamanho */
    color: #AAA;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block; /* Permite transform */
}
.social-icons a:last-child { margin-right: 0; }
.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.15); /* Efeito zoom maior */
}
.footer img.pix-logo { max-width: 90px; }

/* Linha divisória */
.footer-line {
    border-top: 1px solid #282828;
    margin: 35px auto; /* Espaçamento */
    max-width: 1140px;
}

/* Texto Jogo Responsável */
.footer-text {
    max-width: 900px; /* Largura */
    margin: 0 auto;
    font-size: 12px; /* Tamanho */
    color: #888; /* Cor */
    line-height: 1.7;
    padding: 0 20px;
    text-align: center; /* Centraliza */
}
.ver-mais-btn {
    padding: 8px 18px;
    background-color: #333;
    color: #CCC !important; /* Força cor */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: block;
    margin: 20px auto 0; /* Espaçamento */
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none; /* Remove sublinhado */
    font-weight: 500; /* Peso */
}
.ver-mais-btn:hover {
    background-color: #FFD700;
    color: #000000 !important; /* Força cor hover */
}
#extraContent {
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-top 0.4s ease-out; /* Adiciona transição margin */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0; /* Começa sem margem */
}
#extraContent.expanded {
    max-height: 1000px; /* Ajuste max-height conforme necessário */
    opacity: 1;
    margin-top: 15px; /* Adiciona margem quando expandido */
}


/* Selo e Bottom */
.footer-centered-img { text-align: center; }
.selo-img { max-width: 280px; height: auto; display: inline-block; } /* Garante centralização */
.footer-bottom {
    margin-top: 30px; /* Espaço acima */
    text-align: center;
    font-size: 12px; /* Menor */
    color: #777; /* Cor mais sutil */
    line-height: 1.6; /* Espaçamento */
}
.footer-bottom p { margin-bottom: 5px; } /* Espaço entre linhas */
.footer-bottom span { margin: 0 8px; color: #555; } /* Separador */
.footer-bottom strong { color: #999; font-weight: 500;} /* Destaque suave */

/* Modal Slots (iFrame) */
.modal-slots {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fundo bem escuro */
    z-index: 2000; /* Acima de tudo */
    padding: 0; /* Remove padding */
    border: none; /* Remove borda */
    border-radius: 0; /* Remove radius */
    transform: none; /* Remove transform */
    max-width: none; /* Remove max-width */
}
.modal-slots.show {
    display: flex; /* Centraliza conteúdo */
    align-items: center;
    justify-content: center;
}
.modal-slots-content {
    position: relative;
    width: 95%; /* Largura */
    height: 90%; /* Altura */
    background-color: #000; /* Fundo preto */
    border-radius: 8px; /* Bordas */
    overflow: hidden; /* Esconde conteúdo fora */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra */
}
.close-slots-modal {
    position: absolute;
    top: 10px; /* Posição */
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6); /* Fundo semi-transparente */
    color: #FFF; /* Branco */
    border: none;
    border-radius: 50%; /* Círculo */
    width: 35px; /* Tamanho */
    height: 35px;
    font-size: 18px; /* Tamanho ícone */
    line-height: 35px; /* Centraliza ícone */
    text-align: center;
    cursor: pointer;
    z-index: 2010; /* Acima do iframe */
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.close-slots-modal:hover {
    background-color: #FFD700; /* Cor principal no hover */
    color: #000000; /* Cor texto no hover */
    transform: rotate(90deg); /* Rotação */
}
#iframe {
    width: 100%;
    height: 100%;
    border: none; /* Remove borda iframe */
}


/* === Media Queries (Responsivo) === */
@media (max-width: 768px) {
    /* --- Top Bar --- */
    .top-bar .container { padding: 0 15px; } /* Menos padding */
    .logo img { height: 32px; } /* Logo menor */
    .buttons { gap: 10px; } /* Menos espaço */
    .button.modalDeposito { padding: 8px 12px; font-size: 13px; gap: 6px; } /* Botão depósito menor */
    .button.modalDeposito i { font-size: 1em; }
    .saldo-retirar, .bonus-resgatar { padding: 6px 8px; gap: 6px; } /* Blocos menores */
    .saldo-titulo, .bonus-titulo { font-size: 9px; } /* Fonte título menor */
    .saldo, .bonus-valor { font-size: 13px; } /* Fonte valor menor */
    .btnRetirar, .btnResgatar { padding: 4px 8px; font-size: 10px; } /* Botões menores */

    /* --- Slider --- */
    .slider-wrapper { margin: 20px auto; padding: 0 15px; } /* Menos margem, padding ajustado */
    .dots { margin-top: 8px; }
    .dot { width: 8px; height: 8px; margin: 0 3px; }

    /* --- Busca --- */
    .busca-container { margin-top: 20px; padding: 0 15px; }
    .busca-input { height: 40px; font-size: 14px; padding-left: 40px; }
    .busca-input-icon i { left: 12px; font-size: 14px; }
    .busca-tabela-resultado { /* Ajustes busca mobile */ }
    .col-img { width: 45px; }
    .busca-img { width: 35px; height: 35px; }
    .col-nome { font-size: 13px; }
    .col-jogadores { display: none; } /* Esconde jogadores na busca mobile */
    .col-jogar { width: 80px; }
    .btn-jogar { padding: 6px 10px; font-size: 12px; }

    /* --- Carrossel Ganhadores --- */
    .ganhos-container { height: 60px; margin-top: 20px; }
    .ganhos-fixo { flex: 0 0 100px; font-size: 9px; gap: 5px; padding: 5px; }
    .ganhos-fixo i { font-size: 20px; }
    .card { min-width: 180px; height: 50px; padding: 8px; margin-right: 10px; font-size: 11px; }
    .card img { width: 30px; height: 30px; margin-right: 8px; }
    .valor { font-size: 12px; }

    /* --- Lista de Jogos --- */
    .lista-jogos { margin-top: 20px; }
    .titulo-lista-jogos { font-size: 1.1em; margin: 0 15px 10px 15px; padding-bottom: 8px; }
    .lista-jogos .jogos-container {
        /* display: flex; /* MUDA PARA FLEX */
        /* overflow-x: auto; /* PERMITE SCROLL HORIZONTAL */
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); /* Colunas menores */
        gap: 10px; /* Menos espaço */
        padding: 0 15px 10px 15px; /* Padding (com bottom para scrollbar) */
        /* flex-wrap: nowrap; /* Não quebra linha */
        /* -ms-overflow-style: none; scrollbar-width: none; /* Esconde scrollbar */
    }
    /* .lista-jogos .jogos-container::-webkit-scrollbar { display: none; } /* Esconde scrollbar Webkit */
    .lista-jogos .jogo-card {
        min-width: 115px; /* Largura mínima card */
        /* height: 182px; /* Altura fixa (pode causar problemas com aspect-ratio) */
        aspect-ratio: 3 / 4.5; /* Ajusta proporção se necessário */
        flex-shrink: 0; /* Não encolhe no flex */
    }
    .lista-jogos .jogo-img { /* Mantém aspect-ratio 1/1 */ }
    .lista-jogos .jogo-info { padding: 8px 10px; }
    .lista-jogos .jogo-info .nome { font-size: 12px; }
    .lista-jogos .jogo-info .jogadores { font-size: 10px; gap: 3px; }
    .jogadores-text { margin-left: 1px; }
    .online-dot { width: 6px; height: 6px; }
    .lista-jogos .jogar-btn { padding: 6px 12px; font-size: 12px; gap: 4px; }

    /* --- Ao Vivo --- */
    .aovivo-resultados { margin-top: 20px; padding: 0 15px; }
    .aovivo-titulo { font-size: 1em; margin-bottom: 10px; }
    #aovivo-container { grid-template-columns: 1fr; gap: 8px; } /* Uma coluna */
    .aovivo-entry { padding: 8px 10px; }
    .aovivo-entry img { width: 30px; height: 30px; }
    .aovivo-info { font-size: 11.5px; }
    .aovivo-amount { font-size: 12px; }

    /* --- Modais --- */
    .modal { width: calc(100% - 40px); padding: 20px; } /* Largura maior, menos padding */
    .modal-content h2 { font-size: 1.2em; margin-bottom: 20px; }
    .close-modal { top: 12px; right: 12px; font-size: 20px; }
    .modal .input-icon input, .modal .input-icon textarea { height: 42px; font-size: 13.5px; padding-left: 38px;}
    .modal .input-icon textarea { min-height: 70px; }
    .modal .input-icon i { left: 12px; font-size: 14px; }
    .modal .submit-button { padding: 12px 15px; font-size: 14px; }
    .pix-container img { max-width: 150px; }

    /* --- Footer --- */
    .footer { padding: 30px 0 15px; }
    .footer .container-footer { grid-template-columns: 1fr 1fr; gap: 20px 15px; padding: 0 15px; } /* 2 colunas */
    .footer-column:first-child { display: none; } /* Esconde logo no mobile */
    .footer-column { text-align: center; margin: 0; } /* Centraliza colunas */
    .footer-column h4 { font-size: 14px; margin-bottom: 10px; }
    .footer-column ul li { margin-bottom: 8px; }
    .footer-column ul li a { font-size: 13px; }
    .social-icons { justify-content: center; } /* Centraliza ícones */
    .social-icons a { font-size: 18px; margin: 0 8px; }
    .footer img.pix-logo { max-width: 70px; }
    .footer-line { margin: 25px auto; }
    .footer-text { font-size: 11px; padding: 0 15px; }
    .ver-mais-btn { padding: 7px 15px; font-size: 12px; margin-top: 15px; }
    .selo-img { max-width: 200px; }
    .footer-bottom { font-size: 11px; margin-top: 20px; }
    .footer-bottom p { margin-bottom: 8px; }
    .footer-bottom span { display: block; margin: 5px 0; } /* Quebra linha nos separadores */

    /* Modal Slots Mobile */
    .modal-slots-content { width: 100%; height: 100%; border-radius: 0; }
    .close-slots-modal { top: 5px; right: 5px; width: 30px; height: 30px; font-size: 16px; line-height: 30px;}
}

/* === Tabelas do Painel do Jogador (Extrato, Afiliados) === */

/* Container geral para as tabelas */
.container-conteudo { /* Já existente, talvez precise de ajustes mínimos */
    max-width: 1140px; /* Alinha com o resto */
    margin: 30px auto; /* Espaçamento */
    padding: 25px;
    background-color: #1E1E1E;
    border-radius: 10px;
    border: 1px solid #282828;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Título da página (Extrato, Afiliado) */
.extrato-titulo, .afiliado-titulo {
    font-size: 1.4em; /* Tamanho maior */
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 25px; /* Espaço abaixo */
    padding-bottom: 10px; /* Espaço linha */
    border-bottom: 1px solid #333; /* Linha */
}

/* Wrapper para scroll (se necessário) e bordas */
.extrato-table-container, .afiliado-table-container {
    overflow-x: auto; /* Permite scroll horizontal se a tabela for larga */
    -webkit-overflow-scrolling: touch; /* Melhora scroll no iOS */
    scrollbar-width: none; /* Esconde scrollbar (Firefox) */
    border: 1px solid #282828; /* Borda em volta */
    border-radius: 8px; /* Bordas arredondadas */
    margin-top: 20px; /* Espaço acima */
}
.extrato-table-container::-webkit-scrollbar,
.afiliado-table-container::-webkit-scrollbar {
    display: none; /* Esconde scrollbar (Chrome/Safari) */
}

/* Tabela Base (Extrato, Afiliados) */
.extrato-table, .afiliado-table {
    width: 100%;
    border-collapse: collapse; /* Essencial */
    min-width: 600px; /* Largura mínima antes de scrollar */
    background-color: transparent; /* Wrapper já tem fundo */
}

/* Cabeçalho da Tabela */
.extrato-table th, .afiliado-table th {
    padding: 12px 16px; /* Padding */
    text-align: left;
    font-size: 12px; /* Menor */
    font-weight: 600; /* Bold */
    color: #888; /* Cinza */
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background-color: #1A1A1A; /* Fundo cabeçalho */
    border-bottom: 1px solid #282828; /* Linha abaixo */
}

/* Células da Tabela */
.extrato-table td, .afiliado-table td {
    padding: 12px 16px; /* Padding */
    text-align: left;
    font-size: 13.5px; /* Tamanho texto */
    border-bottom: 1px solid #282828; /* Linha entre rows */
    color: #D0D0D0; /* Cor texto */
    vertical-align: middle; /* Alinhamento vertical */
    white-space: nowrap; /* Evita quebra de linha por padrão */
}
/* Permite quebra em colunas específicas se necessário (Ex: Nome) */
.extrato-table td.nome-longo, .afiliado-table td.nome-longo {
    white-space: normal;
}

/* Remove borda da última linha */
.extrato-table tr:last-child td, .afiliado-table tr:last-child td {
    border-bottom: none;
}

/* Efeito Hover nas Linhas */
.extrato-table tbody tr:hover, .afiliado-table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.05); /* Leve destaque */
}

/* Estilos específicos (Extrato) */
.extrato-table td.tipo { font-weight: 500; }
.extrato-table td.valor { font-weight: 600; color: #FFF; }
.extrato-table td span { /* Span do status 'Aprovado' */
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

/* Estilos específicos (Afiliados) */
.afiliado-info { /* Bloco de texto e link */
    background-color: #1A1A1A; /* Fundo diferente */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #282828;
    margin-bottom: 30px; /* Espaço abaixo */
    font-size: 13.5px;
    color: #BBB;
    line-height: 1.7;
}
.afiliado-info strong { color: #FFD700; font-weight: 600; }
.afiliado-content-link { margin: 20px 0; } /* Espaço para o input do link */
#link-afiliado { /* Input do link */
    background-color: #2E2E2E;
    border: 1px solid #444;
    height: 40px;
    border-radius: 6px;
    color: #E0E0E0;
    padding-left: 42px; /* Espaço ícone */
    width: 100%;
    font-size: 13px;
    cursor: default;
}
#link-afiliado:focus { box-shadow: none; border-color: #444;} /* Remove foco visual */
.afiliado-content-link .input-icon i.fas { /* Ícone link */
    color: #777; left: 14px; font-size: 15px;
}
#botao-copiar { /* Botão Copiar Link */
    padding: 10px 25px;
    background: linear-gradient(45deg, #E6C200, #FFD700);
    color: #000000 !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    display: block; /* Ocupa linha */
    margin: 0 auto; /* Centraliza */
    width: auto; /* Largura automática */
    max-width: 200px;
}
#botao-copiar:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Tabela Afiliados */
.afiliado-table td.valor { font-weight: 600; color: #FFD700; } /* Bônus */
button.resgatar { /* Botão Resgatar */
    padding: 6px 12px;
    background-color: #3f3f3f;
    color: #E0E0E0 !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}
button.resgatar:hover {
    background-color: #FFD700;
    color: #000000 !important;
}
/* Texto "Resgatado" */
.afiliado-table td:last-child:not(:has(button)) { /* Seleciona TD que NÃO tem botão */
    color: #888;
    font-size: 12px;
    font-style: italic;
}

/* Paginação (Estilo unificado para Extrato e Afiliados) */
.extrato-pagination, .afiliado-pagination { /* Usa a mesma classe base da outra paginação */
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}
.extrato-pagination .pagination-btn, .afiliado-pagination .pagination-btn {
    display: inline-block;
    padding: 9px 15px; /* Padding */
    margin: 0 4px; /* Espaço */
    background-color: #2a2a2a; /* Fundo */
    color: #999; /* Cor texto */
    border-radius: 5px;
    border: 1px solid #333; /* Borda */
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.extrato-pagination .pagination-btn:hover, .afiliado-pagination .pagination-btn:hover {
    background-color: #333;
    color: #FFF;
    border-color: #444;
}
.extrato-pagination .pagination-btn.active, .afiliado-pagination .pagination-btn.active {
    background-color: #FFD700;
    color: #000000;
    font-weight: 600;
    border-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3); /* Brilho suave */
}
.extrato-pagination .pagination-ellipsis, .afiliado-pagination .pagination-ellipsis {
    color: #666; /* Cor reticências */
    margin: 0 8px;
    display: inline-block;
    line-height: 38px; /* Alinha verticalmente com botões */
}


/* === Campo de Busca (Revisão/Ajustes) === */
.busca-container {
    max-width: 1140px; /* Largura */
    margin: 40px auto 20px auto; /* Aumenta margem superior, diminui inferior */
    padding: 0 20px; /* Padding lateral */
    box-sizing: border-box;
    width: 100%;
}
.busca-input-icon {
    position: relative;
    width: 100%;
    margin-bottom: 8px; /* Espaço para resultados */
}
.busca-input-icon i.fas { /* Ícone de busca */
    position: absolute;
    top: 50%;
    left: 18px; /* Mais recuado */
    transform: translateY(-50%);
    color: #777; /* Cor ícone */
    font-size: 16px; /* Tamanho ícone */
    pointer-events: none;
    z-index: 1; /* Garante que fique acima */
}
.busca-input {
    width: 100%;
    padding: 0 25px 0 50px; /* Padding (esquerdo maior, direito para respiro) */
    border: 1px solid #282828; /* Borda sutil */
    border-radius: 8px; /* Bordas mais suaves */
    height: 48px; /* Altura maior */
    background-color: #1E1E1E; /* Fundo */
    color: #E0E0E0; /* Cor texto */
    font-size: 15px; /* Tamanho fonte */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.busca-input:focus {
    outline: none;
    border-color: #FFD700; /* Borda na cor principal */
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25); /* Outline suave */
    background-color: #242424; /* Leve mudança no fundo ao focar */
}
.busca-input::placeholder { color: #666; }

/* === Resultados da Busca (Revisão/Ajustes) === */
.busca-resultado {
    max-width: 1140px; /* Mesma largura */
    margin: 0 auto; /* Centraliza */
    text-align: left;
    position: relative; /* Mantém */
    z-index: 990;
    /* Adiciona um container para a lista de resultados */
    max-height: 300px; /* Altura máxima antes de scrollar */
    overflow-y: auto; /* Scroll vertical se necessário */
    background-color: #1E1E1E; /* Fundo da lista */
    border: 1px solid #282828; /* Borda da lista */
    border-top: none; /* Remove borda superior (conecta com input) */
    border-radius: 0 0 8px 8px; /* Arredonda cantos inferiores */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Sombra */
    scrollbar-width: thin; /* Scrollbar fina (Firefox) */
    scrollbar-color: #444 #1E1E1E; /* Cores scrollbar */
    display: none; /* Começa escondido */
}
.busca-resultado::-webkit-scrollbar { width: 6px; } /* Scrollbar fina (Webkit) */
.busca-resultado::-webkit-scrollbar-thumb { background-color: #444; border-radius: 3px; }
.busca-resultado::-webkit-scrollbar-track { background: #1E1E1E; }

/* Tabela dentro dos resultados (remove estilos de container) */
.busca-tabela-resultado {
    width: 100%;
    margin: 0; /* Remove margem */
    border-collapse: collapse;
    background-color: transparent; /* Remove fundo */
    color: #fff;
    border-radius: 0; /* Remove radius */
    box-shadow: none; /* Remove sombra */
    border: none; /* Remove borda */
    /* table-layout: fixed; /* Mantém se quiser colunas fixas */
}
.busca-tabela-resultado td {
    padding: 12px 18px; /* Padding ajustado */
    vertical-align: middle;
    border-bottom: 1px solid #282828; /* Linha sutil */
    height: auto; /* Remove altura fixa */
}
.busca-tabela-resultado tr:last-child td {
    border-bottom: none; /* Remove linha do último */
}
/* Efeito hover na linha do resultado */
.busca-tabela-resultado tr:hover {
    background-color: rgba(255, 215, 0, 0.08); /* Destaque suave */
}

/* Colunas dos resultados */
.col-img {
    width: 55px; /* Largura imagem */
    padding-left: 18px;
    padding-right: 0;
}
.busca-img {
    width: 40px; /* Tamanho imagem */
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #2a2a2a;
    display: block;
}
.col-nome {
    font-size: 14px;
    font-weight: 500;
    color: #E0E0E0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px; /* Espaço após imagem */
}
.col-jogadores {
    width: 110px; /* Largura jogadores */
    font-size: 11.5px; /* Tamanho */
    text-align: right;
    color: #888;
    white-space: nowrap;
}
.col-jogar {
    width: 90px; /* Largura botão */
    text-align: right;
    padding-right: 18px;
}
.btn-jogar {
    padding: 6px 12px; /* Padding botão */
    background: linear-gradient(45deg, #E6C200, #FFD700);
    border: none;
    color: #000000 !important;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    font-size: 12px; /* Tamanho fonte botão */
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.btn-jogar:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.3);
}
.online-dot { /* Ponto verde */
    width: 7px; height: 7px; margin-right: 4px; background-color: #4CAF50;
    /* Mantém animação definida anteriormente */
}

/* Mensagem Sem Resultado */
.sem-resultado {
    text-align: center;
    color: #888;
    padding: 25px;
    font-size: 14px;
    height: auto; /* Remove altura fixa */
}
/* Garante que a mensagem apareça centralizada na tabela */
.busca-tabela-resultado .sem-resultado {
    border-bottom: none; /* Remove linha se for a única célula */
}


/* === Carrossel Ganhadores (Revisão/Ajustes) === */
.ganhos-container {
    display: flex;
    overflow: hidden; /* Mantém */
    height: 65px; /* Altura um pouco menor */
    margin-top: 30px; /* Mantém espaço */
    background-color: #1A1A1A; /* Fundo */
    border-top: 1px solid #282828; /* Linha */
    border-bottom: 1px solid #282828; /* Linha */
    width: 100%; /* Garante largura total */
    box-sizing: border-box; /* Inclui bordas na largura */
}

/* Bloco Fixo "Maiores Ganhos" */
.ganhos-fixo {
    flex: 0 0 120px; /* Largura fixa menor */
    background-color: #121212; /* Fundo diferente */
    color: white;
    font-weight: 600; /* Bold */
    text-align: center;
    display: flex;
    flex-direction: column; /* Ícone/Texto vertical */
    justify-content: center;
    align-items: center;
    gap: 4px; /* Espaço */
    padding: 8px; /* Padding */
    box-sizing: border-box;
    height: 100%;
    font-size: 10px; /* Tamanho texto menor */
    text-transform: uppercase;
    line-height: 1.2; /* Ajusta linha */
    border-right: 1px solid #282828; /* Linha divisória */
}
.ganhos-fixo i.fas { /* Ícone troféu */
    font-size: 20px; /* Tamanho ícone */
    color: #ffc107; /* Amarelo */
    margin-bottom: 2px;
    display: inline-block; /* Garante visibilidade */
    width: auto;
}

/* Área Rolante */
.ganhos-rolando {
    flex: 1; /* Ocupa resto do espaço */
    overflow: hidden;
    position: relative;
    height: 100%;
    /* Adiciona gradiente nas laterais para suavizar entrada/saída */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.ganhos-slider {
    display: flex;
    align-items: center;
    height: 100%;
    /* Animação via JS */
    will-change: transform;
}

/* Card Ganhador */
.card { /* Estilo unificado, aplica a todos os cards */
    display: flex;
    align-items: center;
    background-color: #1E1E1E; /* Fundo card */
    color: #C0C0C0; /* Cor texto */
    padding: 8px 10px; /* Padding menor */
    margin-right: 12px; /* Espaço menor */
    border-radius: 6px; /* Bordas */
    min-width: 190px; /* Largura mínima menor */
    height: 50px; /* Altura card menor */
    box-sizing: border-box;
    border: 1px solid #282828; /* Borda sutil */
    font-size: 11.5px; /* Tamanho fonte */
    transition: background-color 0.2s ease; /* Transição suave */
}
.card:hover {
    background-color: #252525; /* Fundo hover */
}
.card img {
    width: 32px; /* Imagem menor */
    height: 32px;
    margin-right: 8px; /* Menos espaço */
    border-radius: 4px;
    object-fit: cover;
    background-color: #2a2a2a;
    display: block;
    flex-shrink: 0; /* Evita encolher */
}
.card div {
    line-height: 1.4;
    overflow: hidden; /* Evita texto sair do card */
    white-space: nowrap; /* Não quebra linha */
    text-overflow: ellipsis; /* Adiciona "..." */
}
.card strong { color: #E0E0E0; font-weight: 500; display: block;} /* Nome em linha separada */
.valor { /* Valor ganho */
    color: #FFD700;
    font-weight: 600;
    font-size: 12.5px; /* Tamanho valor */
}

/* Remove estilos específicos que possam conflitar */
.ganhos-slider .card div { white-space: normal; } /* Permite quebra se necessário */
.ganhos-slider .card strong { display: inline; } /* Nome na mesma linha */



/* === Listagem Ao Vivo (Revisão/Ajustes) === */
.aovivo-resultados {
    max-width: 1140px; /* Largura */
    margin: 40px auto 30px auto; /* Aumenta margem superior */
    padding: 0 20px; /* Padding lateral */
    background-color: transparent; /* Remove fundo */
}
.aovivo-titulo {
    display: flex;
    align-items: center;
    font-size: 1.3em; /* Tamanho igual aos outros títulos */
    font-weight: 600;
    margin-bottom: 20px; /* Mais espaço abaixo */
    color: #FFFFFF;
    padding-bottom: 10px; /* Espaço linha */
    border-bottom: 1px solid #282828; /* Linha */
}
.online-dot-red { /* Ponto vermelho */
    display: inline-block;
    width: 10px; /* Tamanho */
    height: 10px;
    margin-right: 10px; /* Mais espaço */
    background-color: #FF3B30; /* Vermelho */
    border-radius: 50%;
    animation: piscarred 1s infinite;
    vertical-align: middle; /* Alinha melhor */
}
/* Keyframes piscarred já definido anteriormente */

/* Container das Entradas Ao Vivo */
#aovivo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Responsivo, min 260px */
    gap: 15px; /* Espaço */
}

/* Card Individual Ao Vivo */
.aovivo-entry {
    padding: 12px 15px; /* Padding */
    background: #1E1E1E; /* Fundo */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    border-radius: 6px; /* Bordas */
    color: white;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #282828; /* Borda */
    transition: background-color 0.2s ease, transform 0.2s ease; /* Transições */
    overflow: hidden; /* Garante que conteúdo não vaze */
}
.aovivo-entry:hover {
    background-color: #252525; /* Fundo hover */
    transform: translateY(-3px); /* Leve subida no hover */
}
.aovivo-entry img {
    width: 38px; /* Imagem maior */
    height: 38px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: cover;
    background-color: #2a2a2a;
    display: block;
}
.aovivo-info {
    margin-left: 12px; /* Mais espaço */
    font-size: 12.5px;
    line-height: 1.5;
    color: #BBB;
    /* Remove overflow: hidden daqui para não cortar texto longo */
    /* Gerenciamento de texto longo */
    flex-grow: 1; /* Permite que a info ocupe espaço */
    min-width: 0; /* Necessário para text-overflow funcionar em flex items */
}
.aovivo-info strong {
    color: #E0E0E0;
    font-weight: 500;
    display: block; /* Nome em linha separada */
    white-space: nowrap; /* Não quebra */
    overflow: hidden; /* Esconde excesso */
    text-overflow: ellipsis; /* Adiciona "..." */
    margin-bottom: 2px; /* Pequeno espaço */
}
.aovivo-info span:not(.aovivo-amount) { /* Texto "Apostou", multiplicador */
     white-space: nowrap; /* Evita quebra */
}
.aovivo-amount { /* Valor ganho */
    color: #FFD700;
    font-weight: 600;
    font-size: 13px;
    margin-left: 4px; /* Espaço antes do valor */
}

/* Garante que o ponto vermelho não tenha animação herdada se usar .online-dot */
.aovivo-titulo .online-dot { animation: none; }

/* === Slider Principal (Revisão/Ajustes) === */
.slider-wrapper {
    max-width: 1140px; /* Mantém largura */
    margin: 30px auto; /* Mantém espaçamento */
    padding: 0 20px; /* Mantém padding */
    box-sizing: border-box;
    position: relative; /* Necessário para posicionar dots sobre a imagem se quisermos */
}
.slider-container {
    width: 100%;
    aspect-ratio: 1000 / 200; /* Mantém proporção */
    overflow: hidden;
    position: relative;
    border-radius: 8px; /* Mantém bordas */
    /* Adiciona uma leve sombra interna para dar profundidade */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.2);
}
.slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); /* Transição mais suave */
}
.slide {
    flex: 0 0 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantém cover */
    display: block;
}

/* Controles (Dots) */
.dots {
    text-align: center;
    /* Posiciona os dots sobre o slider (opcional) */
    position: absolute; /* Descomente para posicionar sobre */
    bottom: 15px; /* Distância da base */
    left: 50%; /* Centraliza */
    transform: translateX(-50%); /* Centraliza */
    width: 100%; /* Ocupa largura para centralizar */
    /* Se não usar position absolute, ajuste a margem */
    /* margin-top: 15px; /* Espaço acima se ficarem abaixo */
}
.dot {
    display: inline-block;
    width: 9px; /* Tamanho ajustado */
    height: 9px;
    margin: 0 5px; /* Espaço */
    background-color: rgba(255, 255, 255, 0.4); /* Cor inativo (semi-transparente) */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Adiciona transform */
    border: 1px solid rgba(0,0,0,0.2); /* Borda sutil nos dots */
}
.dot:hover {
    background-color: rgba(255, 255, 255, 0.7); /* Mais claro no hover */
    transform: scale(1.1); /* Leve aumento */
}
.dot.active {
    background-color: #FFD700; /* Cor ativo */
    transform: scale(1.2); /* Maior quando ativo */
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); /* Leve brilho */
}

/* Ajuste Responsivo para o Slider (se necessário) */
@media (max-width: 768px) {
    .slider-wrapper { margin: 20px auto; padding: 0 15px; }
    .slider-container { aspect-ratio: 1000 / 350; } /* Slider mais alto no mobile */
    .dots { bottom: 10px; } /* Dots mais próximos da base */
    .dot { width: 8px; height: 8px; margin: 0 4px; }
}


/* === Sidebar de Navegação (/dashboard/ - #mySidebar) === */
#mySidebar {
    height: 100%;
    width: 250px; /* Largura ajustada */
    position: fixed;
    top: 0;
    left: -260px; /* Começa escondido (um pouco mais que a largura) */
    background-color: #1A1A1A; /* Fundo */
    overflow-x: hidden; /* Esconde scroll horizontal */
    overflow-y: auto; /* Permite scroll vertical se necessário */
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1); /* Transição suave */
    padding: 70px 15px 20px 15px; /* Padding (topo maior para não ficar sob o top-bar) */
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25); /* Sombra */
    z-index: 1002; /* Acima do overlay */
    border-right: 1px solid #282828; /* Borda */
    scrollbar-width: thin; /* Scrollbar fina (Firefox) */
    scrollbar-color: #444 #1A1A1A; /* Cores scrollbar */
}
#mySidebar::-webkit-scrollbar { width: 6px; } /* Scrollbar fina (Webkit) */
#mySidebar::-webkit-scrollbar-thumb { background-color: #444; border-radius: 3px; }
#mySidebar::-webkit-scrollbar-track { background: #1A1A1A; }

/* Links dentro do Menu */
#mySidebar a {
    color: #BDBDBD; /* Cor texto */
    text-decoration: none;
    padding: 12px 18px; /* Padding ajustado */
    background-color: transparent;
    border-radius: 6px; /* Bordas */
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* Espaço entre links */
    font-size: 15px; /* Tamanho fonte */
    font-weight: 500; /* Peso */
}
#mySidebar a:hover {
    background-color: rgba(255, 215, 0, 0.1); /* Fundo suave hover */
    color: #FFD700; /* Cor texto hover */
}

/* Ícones dentro dos Links */
#mySidebar a i.fas {
    margin-right: 15px; /* Espaço ícone */
    color: #888; /* Cor ícone padrão */
    width: 20px; /* Alinhamento */
    text-align: center;
    font-size: 16px; /* Tamanho ícone */
    transition: color 0.2s ease;
    display: inline-block; /* Garante visibilidade */
}
#mySidebar a:hover i.fas {
    color: #FFD700; /* Cor ícone hover */
}

/* Botão Fechar (X) */
#mySidebar .close-btn {
    position: absolute;
    top: 15px; /* Alinha com o top-bar */
    right: 18px; /* Posição */
    font-size: 28px; /* Tamanho */
    cursor: pointer;
    color: #888; /* Cor sutil */
    transition: color 0.2s ease, transform 0.2s ease;
    background: none; border: none; padding: 0; line-height: 1;
}
#mySidebar .close-btn:hover {
    color: #FFD700;
    transform: rotate(90deg); /* Efeito rotação */
}

/* === Página de Afiliados (Refinamentos) === */

/* Bloco de Informações do Programa */
.afiliado-info {
    background-color: #1A1A1A; /* Fundo */
    padding: 25px; /* Mais padding */
    border-radius: 8px; /* Bordas */
    border: 1px solid #282828; /* Borda */
    margin-bottom: 30px; /* Espaço abaixo */
    font-size: 14px; /* Tamanho fonte */
    color: #BBB; /* Cor texto */
    line-height: 1.7; /* Espaçamento linhas */
}
.afiliado-info p { /* Parágrafo dentro do bloco */
    margin-bottom: 15px; /* Espaço entre parágrafos, se houver mais de um */
}
.afiliado-info p:last-child {
    margin-bottom: 0; /* Remove espaço do último parágrafo */
}
.afiliado-info strong {
    color: #FFD700; /* Destaque na cor principal */
    font-weight: 600;
}

/* Seção do Link de Afiliado */
.afiliado-content-link {
    margin: 25px 0 15px 0; /* Espaçamento ajustado */
    position: relative; /* Para o ícone */
}
/* Input do link (já estilizado pelos modais, mas podemos reforçar) */
#link-afiliado {
    background-color: #2E2E2E;
    border: 1px solid #444;
    height: 44px; /* Mesma altura de outros inputs */
    border-radius: 6px;
    color: #E0E0E0;
    padding-left: 42px; /* Espaço ícone */
    padding-right: 15px; /* Espaço direita */
    width: 100%;
    font-size: 13.5px; /* Tamanho fonte */
    cursor: default;
    box-shadow: none !important; /* Remove sombra foco */
    border-color: #444 !important; /* Garante cor borda */
}
/* Ícone dentro do input do link */
.afiliado-content-link .input-icon i.fas {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
    display: inline-block; /* Garante visibilidade */
    width: auto;
}

/* Botão Copiar Link */
#botao-copiar {
    padding: 10px 25px;
    background: linear-gradient(45deg, #E6C200, #FFD700);
    color: #000000 !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: block;
    margin: 0 auto; /* Centraliza */
    width: auto;
    max-width: 200px;
    text-decoration: none; /* Garante sem sublinhado */
}
#botao-copiar:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #E6C200, #FFD700); /* Mantém gradiente */
}
/* Estilo quando o texto muda para "Link copiado!" (Opcional) */
#botao-copiar:active, /* Adiciona feedback visual ao clicar */
#botao-copiar.copiado { /* Adicionar classe 'copiado' via JS seria ideal */
    background: #4CAF50; /* Verde sucesso */
    color: white !important;
    transform: scale(1); /* Reseta escala */
    box-shadow: none; /* Remove sombra */
}

/* Tabela de Afiliados (Revisão/Ajustes finos) */
.afiliado-table-container { /* Wrapper já estilizado */ }
.afiliado-table { /* Tabela já estilizada */ }
.afiliado-table th { /* Cabeçalho já estilizado */ }
.afiliado-table td { /* Células já estilizadas */
    white-space: nowrap; /* Mantém sem quebra por padrão */
}
/* Coluna Nome (permite quebra se necessário) */
.afiliado-table td:nth-child(2) { /* Seleciona a segunda coluna (Nome) */
    white-space: normal; /* Permite quebra */
    min-width: 150px; /* Largura mínima para nome */
}
.afiliado-table td.valor { /* Bônus */
    font-weight: 600;
    color: #FFD700;
    white-space: nowrap; /* Garante que valor não quebre */
}
button.resgatar { /* Botão Resgatar */
    padding: 6px 12px;
    background-color: #3f3f3f;
    color: #E0E0E0 !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    white-space: nowrap; /* Evita quebra */
}
button.resgatar:hover {
    background-color: #FFD700;
    color: #000000 !important;
    transform: scale(1.05); /* Leve zoom */
}
/* Texto "Resgatado" */
.afiliado-table td:last-child:not(:has(button)) {
    color: #888;
    font-size: 12px;
    font-style: italic;
    white-space: nowrap; /* Garante sem quebra */
}

/* === Página de Extrato (Refinamentos) === */

/* Tabela de Extrato (Revisão/Ajustes finos) */
.extrato-table-container { /* Wrapper já estilizado */ }
.extrato-table { /* Tabela já estilizada */ }
.extrato-table th { /* Cabeçalho já estilizado */ }
.extrato-table td { /* Células já estilizadas */
    white-space: nowrap; /* Mantém sem quebra por padrão */
}
/* Coluna Data (Exemplo: se quiser formatar) */
.extrato-table td:nth-child(2) { /* Segunda coluna (Data) */
    color: #AAA; /* Cor mais sutil para data */
    font-size: 13px; /* Tamanho menor */
}
/* Coluna Tipo */
.extrato-table td.tipo {
    font-weight: 500;
}
/* Coluna Valor */
.extrato-table td.valor {
    font-weight: 600;
    color: #FFF; /* Branco */
}

/* Coluna Status (Melhorias Visuais) */
.extrato-table td span { /* Estilo base para o span do status */
    display: inline-block;
    padding: 5px 10px; /* Padding ajustado */
    border-radius: 12px; /* Formato "pílula" */
    font-size: 11px; /* Menor */
    font-weight: 600; /* Bold */
    line-height: 1;
    text-transform: uppercase; /* Maiúsculas */
    text-align: center; /* Centraliza texto */
    min-width: 80px; /* Largura mínima para consistência */
}

/* Estilo específico para Status Aprovado */
.extrato-table td span[style*="#FFD700"] { /* Seleciona pelo estilo inline (não ideal, mas funciona com seu PHP) */
    background-color: rgba(255, 215, 0, 0.15) !important; /* Fundo suave com cor principal */
    color: #FFD700 !important; /* Texto na cor principal */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Borda sutil */
}

/* Estilo para Status Pendente (Adicionar se necessário) */
/* Se o status Pendente não usar span, precisaria ajustar o PHP ou adicionar classe */
.extrato-table td:contains('Pendente') /* Seletor não padrão, melhor usar classe */
/* Alternativa se Pendente não tiver span: */
.extrato-table td {
    /* ... outros estilos ... */
}
.extrato-table td:nth-child(5):not(:has(span)) { /* Quinta coluna (Status) que NÃO tem span */
    color: #FFC107; /* Amarelo/Laranja para Pendente */
    font-weight: 500;
    font-size: 12px;
}

/* Estilo para Status Cancelado (Adicionar se necessário) */
.extrato-table td:contains('Cancelado') /* Melhor usar classe */
.extrato-table td.status-cancelado { /* Exemplo com classe */
    color: #F44336; /* Vermelho */
    font-weight: 500;
    font-style: italic; /* Itálico para cancelado */
    font-size: 12px;
}

/* Paginação (Já estilizada) */
.extrato-pagination { /* ... */ }
.extrato-pagination .pagination-btn { /* ... */ }
/* ... etc ... */

