/* ============================================= */
/*                 FONTES E BODY                */
/* ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--cor-bg1), var(--cor-bg2));
  color: #fff;
  padding-top: 50px; /* antes tinha 100px */
}

/* =============================== */
/* SOMBRA GLOBAL EM TODO O TEXTO   */
/* =============================== */
body, h1, h2, h3, h4, h5, h6, p, span, a, label, button {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* Para badges e barras específicas */
.bar-fill, .aposta-badge {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}


/* ===== CONTAINER CENTRAL ===== */

/* Header fixo sem background */
.top-bar {
  position: absolute; /* em vez de fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background: transparent; /* ou o que quiser */
}



/* Botões sociais dentro do header */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  /* Não precisa de position: fixed nem top/left */
}


/* ===== BOTÕES COMPACTOS ===== */
.social-item {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ícone à esquerda, texto à direita */
  gap: 6px;
  min-width: 100px; /* largura mínima */
  height: 36px;     /* altura compacta */
  padding: 2px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: #e0e0f0;
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.social-item:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ===== ÍCONES GRANDES ===== */
.social-item lottie-player,
.social-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transform: scale(2.2); /* tamanho grande */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-item:hover lottie-player,
.social-item:hover img {
  transform: scale(2.4); /* aumenta um pouco no hover */
  filter: brightness(1.5) drop-shadow(0 0 6px rgba(255,255,255,0.9));
}

/* ===== RESPONSIVO ===== */

/* Tablet / telas médias */
@media (max-width: 768px) {
  .social-item {
    min-width: 90px;
    height: 32px;
    font-size: 0.72rem;
    padding: 3px 6px;
  }

  .social-item lottie-player,
  .social-item img {
    width: 20px;
    height: 20px;
    transform: scale(2.2);
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .social-item {
    min-width: 80px;
    height: 28px;
    font-size: 0.65rem;
    padding: 3px 4px;
  }

  .social-item lottie-player,
  .social-item img {
    width: 18px;
    height: 18px;
    transform: scale(2.2);
  }
}

/* Mobile extra pequeno / 320px */
@media (max-width: 320px) {
  .social-item {
    min-width: 70px;
    height: 26px;
    font-size: 0.6rem;
    padding: 3px 4px;
  }

  .social-item lottie-player,
  .social-item img {
    width: 16px;
    height: 16px;
    transform: scale(2.2);
  }
}




/* ============================================= */
/*             INSTAGRAM FIXO PULANDO           */
/* ============================================= */
.instagram-fixo {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 9999;
    display: inline-block;
}

.instagram-fixo img {
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
    transition: transform 0.2s, filter 0.2s;
    animation: pulando 1s ease-in-out infinite;
    pointer-events: auto; /* garante clique só onde há imagem */
}

.instagram-fixo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

@keyframes pulando {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

#icone-instagram {
    width: 150px;
    height: 150px;
    transform: scale(3.2);
    transform-origin: center center;
    display: inline-block;
    pointer-events: none; /* impede que o container capture o clique */
}

.lottie-icone {
    width: 150px;
    height: 150px;
    display: inline-block;
    pointer-events: auto; /* apenas o conteúdo é clicável */
}

/* Força o SVG interno ocupar todo o container */
.lottie-icone svg {
    width: 100% !important;
    height: 100% !important;
    pointer-events: bounding-box; /* clique só na área real do SVG */
}

/* ============================================= */
/*               LOGO CENTRALIZADA              */
/* ============================================= */
.logo-centralizada {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.logo-centralizada img {
  max-width: min(250px, 80vw); /* limita tamanho e se adapta à tela */
  height: auto;
  object-fit: contain; /* evita distorção */
  image-rendering: -webkit-optimize-contrast; /* melhora nitidez no Chrome/Safari */
  image-rendering: crisp-edges; /* melhora nitidez em telas menores */
  -ms-interpolation-mode: nearest-neighbor; /* fallback para IE */
  transition: all 0.3s ease;
  border-radius: 8px; /* opcional, visual mais moderno */
}


/* ============================================= */
/*             GRID DE PLATAFORMAS              */
/* ============================================= */
.grid-plataformas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, max-content)); /* card se ajusta à imagem */
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

/* Limita a 4 colunas no desktop */
@media (min-width: 992px) {
    .grid-plataformas {
        grid-template-columns: repeat(4, max-content); /* até 4 cards lado a lado */
    }
}

/* Card flexível */
.card-plataforma {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 6px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    width: max-content;   /* card se ajusta à imagem */
}

.card-plataforma:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
/* ============================================= */
/*           Imagem nítida e proporcional       */
/* ============================================= */
.plataforma-img-link img {
    display: block;
    width: 100%;          /* ocupa todo o card */
    max-width: 140px;     /* limite máximo */
    height: auto;         /* mantém proporção */
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.2s, filter 0.2s;

    /* Força suavização no redimensionamento */
    image-rendering: auto;                       /* moderno */
    image-rendering: -webkit-optimize-contrast;  /* Safari/Chrome antigo */
    image-rendering: crisp-edges;               /* Firefox */
    -ms-interpolation-mode: bicubic;            /* IE */
}
/* Hover elegante */
.plataforma-img-link img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
}

/* Remove botão acessar */
.btn-acessar {
    display: none;
}

/* Título centralizado */
.titulo-plataformas {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
    color: #fff;
}

/* ============================================= */
/*           Imagem nítida e proporcional       */
/* ============================================= */
.plataforma-img-link img {
    display: block;
    width: 100%;          /* ocupa todo o card */
    max-width: 140px;     /* limite máximo */
    height: auto;         /* mantém proporção */
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.2s, filter 0.2s;

    /* Força suavização no redimensionamento */
    image-rendering: auto;                       /* moderno */
    image-rendering: -webkit-optimize-contrast;  /* Safari/Chrome antigo */
    image-rendering: crisp-edges;               /* Firefox */
    -ms-interpolation-mode: bicubic;            /* IE */
}
/* Hover elegante */
.plataforma-img-link img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
}

/* Remove botão acessar */
.btn-acessar {
    display: none;
}

/* Título centralizado */
.titulo-plataformas {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
    color: #fff;
}


/* ============================================= */
/*                CONTADOR BOX                   */
/* ============================================= */
#contador-box {
  display: flex;
  align-items: flex-start;
  gap: 11px; /* antes 14px */
  padding: 8px 14px; /* antes 10px 18px */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px; /* antes 14px */
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
  width: fit-content;
  margin: 14px auto;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#contador-box:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.25);
}

/* Robô à esquerda */
.robo-container {
  flex-shrink: 0;
}

/* Wrapper virtual */
#contador-box > :not(.robo-container) {
  display: flex;
  flex-direction: column;
  gap: 5px; /* antes 6px */
  align-items: center;
}

/* Texto acima do contador */
#texto-contador {
  font-size: 12.5px; /* antes 14px */
  font-weight: 500;
  color: #cfd8dc;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Número principal */
#contador {
  font-size: 21px; /* antes 26px */
  font-weight: 700;
  color: #00e5ff;
  text-shadow: 0 0 4px rgba(0,229,255,0.4);
}

/* Barra de progresso */
#barra-progresso {
  width: 130px; /* antes 160px */
  height: 6px; /* antes 8px */
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* Barra animada */
#progresso {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    270deg,
    #00e5ff,
    #007bff,
    #00e5ff
  );
  border-radius: 4px;
  background-size: 400% 100%;
  animation: shine 2.5s linear infinite;
  transition: width 0.4s ease;
}

/* Animação reluzente */
@keyframes shine {
  0% { background-position: 0% 0%; }
  100% { background-position: 400% 0%; }
}

/* Percentual */
#contador-percent {
  position: absolute;
  right: 4px;
  top: -15px; /* antes -18px */
  font-size: 9.5px; /* antes 11px */
  color: #9e9e9e;
}

/* Status */
.status-msg {
  font-size: 11.5px; /* antes 13px */
  color: #80d8ff;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* =============================== */
/* GRID PRINCIPAL DOS SLOTS         */
/* =============================== */
#gridSlots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;       /* menor gap vertical e horizontal */
  padding: 16px;
  max-width: 700px; /* estilo app */
  margin: 0 auto;
  justify-content: center;
}

/* =============================== */
/* CARD SLOT - VIDRO FOSCO SUAVE E SEM REFLEXO */
/* =============================== */
.slot-card {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  padding: 10px;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  /* Fundo: imagem + vidro neutro */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0,0,0,0.35); /* fallback escuro */

  /* vidro leve */
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);

  /* remover sombras internas e bordas perceptíveis */
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);

  /* animação */
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* overlay uniforme, sem gradiente nem sombra */
.slot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* escurece todo o card uniformemente */
  backdrop-filter: blur(6px);
  z-index: 0;
}

/* Conteúdo acima do overlay */
.slot-card * {
  position: relative;
  z-index: 2;
}

/* hover: apenas clarear levemente, sem sombra */
.slot-card:hover::before {
  background: rgba(0,0,0,0.40);
}

/* animação de entrada */
.slot-card.mostrar {
  transform: translateY(0);
  opacity: 1;
}


/* =============================== */
/* NOME DO SLOT                     */
/* =============================== */
.slot-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;       /* nunca quebra linha */
  overflow: hidden;
  text-overflow: ellipsis;   /* mostra "..." se não couber */
  text-align: center;
}

/* =============================== */
/* CARD SLOT – VIDRO FOSCO + FUNDO ESCURO */
/* =============================== */
.slot-card {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  padding: 10px;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  /* vidro e fundo escuro */
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);

  /* sombra suave do card */
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);

  /* animação de entrada */
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* animação de mostrar */
.slot-card.mostrar {
  transform: translateY(0);
  opacity: 1;
}

/* =============================== */
/* SLOT THUMB – VIDRO FOSCO MODERNO */
/* =============================== */
.slot-thumb {
  position: relative;
  width: 100%;
  border-radius: 0.8rem;
  overflow: hidden;
  z-index: 2;

  /* leve sombra para dar profundidade */
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 8px rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* imagem suave e nítida */
.slot-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.8rem;

  /* sensação de vidro fosco e realce sutil */
  filter: brightness(1.05) contrast(1.05) saturate(110%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border: 1px solid rgba(255, 255, 255, 0.05);

  transition: transform 0.35s ease, filter 0.35s ease;
}

/* brilho suave passando – bem discreto */
.slot-thumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* hover: só uma sensação leve de movimento */
.slot-thumb:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 10px rgba(255, 255, 255, 0.04);
}

.slot-thumb:hover img {
  transform: scale(1.03);
  filter: brightness(1.1) contrast(1.08);
}

/* brilho ativo só no hover */
.slot-thumb:hover::before {
  opacity: 1;
  animation: subtleShine 2s ease-out forwards;
}

/* animação leve e curta do reflexo */
@keyframes subtleShine {
  0% {
    left: -60%;
    opacity: 0;
  }
  20% {
    opacity: 0.25;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

/* =============================== */
/* CONTEÚDO ACIMA DO VIDRO */
/* =============================== */
.slot-card * {
  position: relative;
  z-index: 3;
}

/* =============================== */
/* BARRAS FUTURISTAS - VERSÃO 2.0  */
/* =============================== */
.bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.bar-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.bar-container {
  position: relative;
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(255,255,255,0.1), inset 0 -1px 6px rgba(0,0,0,0.3);
}

/* barra preenchida com reflexo metálico animado */
.bar-fill {
  position: relative;
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding-right: 6px;
  overflow: hidden;
  
  background: linear-gradient(90deg, #0ff, #0f0, #00f);
  background-size: 200% 100%;
  animation: gradientShift 4s linear infinite;
  
  box-shadow:
    0 0 10px rgba(0, 255, 200, 0.4),
    inset 0 0 8px rgba(0,0,0,0.3);
  
  transition: width 0.5s ease;
}

/* efeito de reflexo correndo apenas na parte preenchida */
.bar-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: shine 3s infinite;
  mix-blend-mode: overlay;
}

/* leve pulsação luminosa */
.bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 70%);
  opacity: 0.3;
  animation: pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

@keyframes shine {
  0% { left: -60%; }
  100% { left: 110%; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.02); }
}

/* hover com brilho adicional */
.bar-fill:hover {
  filter: brightness(1.15);
  box-shadow:
    0 0 16px rgba(0, 255, 200, 0.6),
    inset 0 0 10px rgba(0,0,0,0.4);
}


/* =============================== */
/* APOSTAS / BADGES                 */
/* =============================== */
.aposta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;        /* menor gap entre linhas */
}

.aposta-line {
  display: flex;
  align-items: center;
  gap: 3px;           /* menor gap horizontal */
  font-size: 0.75rem;
}

.aposta-label {
  min-width: 55px;    /* menor */
  font-weight: 500;
}

.aposta-badges {
  display: flex;
  flex-wrap: wrap;   
  gap: 3px;
}

.aposta-badge {
  padding: 1px 3px;  
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: bold;
  color: #fff;
  flex: 0 0 auto;
}

/* cores */
.aposta-badge.red { background-color: #ef4444; }
.aposta-badge.yellow { background-color: #facc15; color:#000; }
.aposta-badge.green { background-color: #22c55e; }

.slot-thumb {
  position: relative;
  display: inline-block;
}

.slot-thumb img {
  display: block;
  width: 100%;
  border-radius: 8px; /* mesma borda da faixa */
  overflow: hidden;
}
/* ========== HOT BADGE ========== */

/* Faixa HOT triangular */
.slot-thumb .hot-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 45px solid #ff2b2b;
  border-right: 45px solid transparent;
  border-top-left-radius: 8px;
  z-index: 5; /* Fica acima da imagem e reflexo */
  pointer-events: none;
}

/* Texto dentro da faixa */
.slot-thumb .hot-badge span {
  position: absolute;
  top: -38px;
  left: -18px;
  width: 65px;
  text-align: center;
  transform: rotate(-45deg);
  font-size: 0.7rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* Efeito de brilho animado leve */
.slot-thumb .hot-badge::after {
  content: "";
  position: absolute;
  top: -45px;
  left: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0.4) 50%,
    transparent 100%
  );
  opacity: 0;
  animation: hotShine 3s ease-in-out infinite;
  transform: translateX(-100%);
  border-top-left-radius: 8px;
}

/* Animação de reflexo na faixa */
@keyframes hotShine {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  40% {
    opacity: 0.4;
    transform: translateX(100%);
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}



/* ============================================= */
/*           ROLETA FIXA AJUSTADA               */
/* ============================================= */

/* Container fixo no canto */
.roleta-fixa {
    position: fixed;
    bottom: 130px;
    right: 5px;
    z-index: 9999;
    display: inline-block;
    text-align: center;
}

/* Botão fixo */
.roleta-fixa button {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;

    /* evita herança e efeitos indesejados */
    color: unset !important;
    animation: none;
    
    /* o botão só responde ao clique no ícone real */
    pointer-events: none;
}

/* Container do Lottie (onde o clique realmente funciona) */
#icone-roleta {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
    pointer-events: auto; /* reativa clique só nessa área */
}

/* SVG ocupa toda a área real do ícone */
#icone-roleta svg {
    width: 100% !important;
    height: 100% !important;
    transform-origin: center center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover suave no botão — funciona porque o #icone-roleta é clicável */
#icone-roleta:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}


/* ============================================= */
/*           MODAL DA ROLETA                     */
/* ============================================= */
#modal-roleta {
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    z-index:9999;
    display:flex;
    flex-direction:column;
    align-items:center;
    pointer-events:auto;
    background:none;
}

.roleta-container {
    display:flex;
    flex-direction:column;
    align-items:center;
}

#canvas-roleta {
    border-radius:50%;
}

.roleta-botoes {
    display:flex;
    gap:10px;
    margin-top:10px;
}

#premio-resultado {
    margin-top:10px;
    font-weight:bold;
    color:#e74c3c;
    text-align:center;
}

/* Estilo base para botões do modal */
#modal-roleta button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.25s ease;
}

/* Botão Girar (verde) */
#girar-roleta {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 6px 14px rgba(39, 174, 96, 0.4);
}
#girar-roleta:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 18px rgba(39, 174, 96, 0.5);
}

/* Botão Fechar (vermelho) */
#fechar-roleta {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 6px 14px rgba(231, 76, 60, 0.4);
}
#fechar-roleta:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 18px rgba(231, 76, 60, 0.5);
}


/* 🎡 Aumentar tamanho da roleta */
#canvas-roleta {
  width: 330px;   /* exibe com 300px */
  height: 330px;  /* igual p/ manter redonda */
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 5%, #ddd 95%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  display: block;
}


/* =======================
   RESULTADO DENTRO DO MODAL
   ======================= */
#premio-resultado {
  display: none;
  margin-top: 15px;
  padding: 18px 20px;
  text-align: center;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;

  /* vidro escuro sutil */
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  animation: premioFadeIn 0.7s ease forwards;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}

/* destaque do prêmio */
#premio-resultado strong {
  display: inline-block;
  margin: 10px 0;
  font-size: 20px;
  color: gold;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.9);
  animation: pulseGold 1.5s infinite;
}

/* animações */
@keyframes premioFadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulseGold {
  0%   { text-shadow: 0 0 6px rgba(255, 215, 0, 0.5); }
  50%  { text-shadow: 0 0 16px rgba(255, 215, 0, 1); }
  100% { text-shadow: 0 0 6px rgba(255, 215, 0, 0.5); }
}

/* =======================
   BOTÕES LINKS
   ======================= */
/* container dos botões */
#premio-resultado .links {
  margin-top: 16px;   /* espaço entre a frase e os botões */
  margin-bottom: 12px; /* respiro embaixo */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

#premio-resultado a {
  flex: 1 1 auto;
  min-width: 120px;
  max-width: 160px;
  text-align: center;

  padding: 11px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Instagram */
#premio-resultado .btn-instagram {
  background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);
  background-size: 200% 200%;
  animation: instaFlow 4s ease infinite;
}
#premio-resultado .btn-instagram:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(150,47,191,0.7);
}

/* WhatsApp */
#premio-resultado .btn-whatsapp {
  background: linear-gradient(45deg, #25d366, #128c7e);
}
#premio-resultado .btn-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
}

/* animação gradiente Instagram */
@keyframes instaFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}




/* ================= MENU DE PROVEDORES ================= */
.menu-provedores-grid {
    display: flex;                 
    flex-wrap: wrap;               
    justify-content: center;       
    gap: 20px;                     /* espaçamento harmonioso */
    margin: 20px auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.filtro-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    /* remover padding para não criar borda interna */
    padding: 0;  
    will-change: transform;
    box-sizing: border-box;
}

.filtro-card img {
    width: 90%;          /* ou 80% se quiser mais folga */
    height: 90%;
    object-fit: contain;  /* mantém proporção, evita corte */
    border-radius: 50%;
    image-rendering: auto; /* deixa o browser otimizar suavemente */
}




.filtro-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.filtro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}



/* ================= CAMPO DE PESQUISA ================= */
.pesquisa-container {
    position: relative;
    max-width: 500px;  /* largura máxima proporcional */
    width: 90%;        /* ocupa 90% da tela */
    margin: 20px auto; /* centraliza horizontalmente */
    box-sizing: border-box; /* garante padding correto */
}

.pesquisa-container input {
    width: 100%;
    padding: 12px 45px 12px 15px; /* espaço para ícone à direita */
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: background 0.3s, transform 0.2s;
    box-sizing: border-box;
}

.pesquisa-container input::placeholder {
    color: rgba(255,255,255,0.7);
}

.pesquisa-container input:focus {
    background: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

/* Ícone de pesquisa SVG */
.icone-pesquisa {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #fff;
    pointer-events: none;
}



/* ============================================= */
/*                  MODAL ANUNCIO               */
/* ============================================= */

.modal-anuncio {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.modal-content-anuncio {
    position: relative;
    max-width: 380px;
    width: 90%;
}

.img-anuncio {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.close-anuncio {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================================= */
/*                  RESPONSIVIDADE               */
/* ============================================= */

/* ---------------- Menu Provedores e Pesquisa ---------------- */
@media (max-width: 600px) {
    .menu-provedores-grid {
        gap: 6px; /* mais próximo no mobile */
    }

    .filtro-card {
        width: 61px;
        height: 60px;
    }

    .filtro-card img {
        width: 90%;
        height: 90%;
    }

    .pesquisa-container {
        width: 95%; /* ocupa quase toda a tela, centralizada */
    }

    .pesquisa-container input {
        padding: 10px 40px 10px 12px;
        font-size: 0.95rem;
    }

    .icone-pesquisa {
        width: 18px;
        height: 18px;
    }
}

/* ---------------- Plataformas / Slots ---------------- */

/* ============================================= */
/*       Ajuste do card e imagem no mobile       */
/* ============================================= */

/* Tablet / telas médias até 800px */
/* Tablet / até 800px */
@media (max-width: 800px) {
    .grid-plataformas {
        grid-template-columns: repeat(2, auto); /* sempre 2 cards por linha */
        justify-content: center;
        gap: 20px;
    }

    .card-plataforma {
        width: auto;   /* card ajusta-se à imagem */
        padding: 0.75rem;
        text-align: center;
    }

    .plataforma-img-link img {
        max-width: 80px; /* limita tamanho sem perder qualidade */
        width: auto;
        height: auto;
    }
}

/* Extra pequeno mobile até 400px */
@media (max-width: 400px) {
    .grid-plataformas {
        grid-template-columns: repeat(2, auto);
        gap: 16px;
        justify-content: center;
    }

    .card-plataforma {
        width: auto;
        padding: 0.5rem;
        text-align: center;
    }

    .plataforma-img-link img {
        max-width: 70px; /* mantém nitidez */
        width: auto;
        height: auto;
    }
}

/* Extra pequeno mobile até 320px */
@media (max-width: 320px) {
    .grid-plataformas {
        grid-template-columns: repeat(2, auto);
        gap: 12px;
        justify-content: center;
    }

    .card-plataforma {
        width: auto;
        padding: 0.4rem;
        text-align: center;
    }

    .plataforma-img-link img {
        max-width: 60px; /* mantém nitidez mesmo pequeno */
        width: auto;
        height: auto;
    }
}

/* Tablets e notebooks pequenos */
@media (max-width: 1024px) {
  #contador-box {
    gap: 30px;
    padding: 22px 20px; /* padding horizontal menor para caber na tela */
    max-width: 95%;      /* garante que não ultrapasse a tela */
  }
}

/* Celulares grandes */
@media (max-width: 768px) {
  #contador-box {
    gap: 25px;
    padding: 20px 20px;
    max-width: 95%;
  }
}

/* Celulares médios */
@media (max-width: 600px) {
  #contador-box {
    gap: 20px;
    padding: 18px 15px; /* aumenta espaçamento lateral */
    max-width: 95%;
  }
}

/* Celulares pequenos */
@media (max-width: 400px) {
  #contador-box {
    gap: 15px;
    padding: 16px 10px; /* garante que não fique colado */
    max-width: 95%;
  }
}
