/* ================== GLOBAL ================== */
* {
  box-sizing: border-box;
}

body,
.header {
  background: #000a15;
}

body {
  margin: 0;
  color: #fff;
  font-family: Poppins, sans-serif;
}

i.active {
  color: #007fdb; /* só o ícone fica azul */
}


/* ================== HEADER ================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 10, 21, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 125, 240, 0.5), transparent);
  opacity: 0.6;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Orbitron, sans-serif;
  font-size: 18px;
  color: #fff;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(30, 125, 240, 0.3));
  transition: filter 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(30, 125, 240, 0.5));
}

.saldo-depositar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.saldo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #e6f0ff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.saldo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.saldo:hover::before {
  left: 100%;
}

.saldo i {
  font-size: 16px;
  color: #00e676;
  filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.5));
}

.btn-depositar,
.header .btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-depositar {
  background: linear-gradient(135deg, #1e7df0 0%, #1565c0 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 125, 240, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-depositar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-depositar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 125, 240, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  filter: brightness(1.1);
}

.btn-depositar:hover::before {
  left: 100%;
}

.btn-depositar:active {
  transform: translateY(0);
}

.btn-depositar i {
  font-size: 14px;
}

.header .btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e6f0ff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header .btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header .btn-primary {
  background: linear-gradient(135deg, #1e7df0 0%, #1565c0 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 125, 240, 0.3);
}

.header .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(30, 125, 240, 0.4);
  filter: brightness(1.1);
}

.header .btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .header {
    padding: 10px 15px;
  }
  
  .logo img {
    height: 36px;
  }
  
  .saldo {
    padding: 6px 12px;
    font-size: 13px;
    gap: 6px;
  }
  
  .saldo i {
    font-size: 14px;
  }
  
  .btn-depositar,
  .header .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .header .btns {
    gap: 8px;
  }
}

/* ================== BANNERS ================== */
.banners,
.container,
.raspadinha-info {
  padding: 10px;
}

.banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 0;
}

/* ================== GANHADORES ================== */
.ganhadores {
  background: #111;
  padding: 0;
  border-radius: 12px;
  margin: 15px;
  color: #fff;
  font-family: Arial, sans-serif;
}

.ganhadores h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}

.ganhador {
  background: #1a1a1a;
  border-left: 5px solid #00c20f;
  border-radius: 10px;
  padding: 18px 25px;
  margin-bottom: 12px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  animation: 0.7s ease-out forwards fadeInSlide;
}

.ganhador:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px #007fdb;
}

.ganhador strong {
  color: #fff;
  font-weight: 700;
}

.ganhador span {
  color: #0f6;
  font-weight: 700;
}

.ganhador small {
  display: block;
  color: #aaa;
  font-size: 12px;
  margin-top: 5px;
}

.ganhador::before {
  content: "🏆";
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 18px;
  animation: 1.5s ease-in-out infinite brilho;
}

/* Animações */
@keyframes fadeInSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brilho {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ================== CTA ================== */
.cta-bloco {
  background: #121419;
  padding: 20px;
  margin: 10px;
  border-radius: 12px;
  text-align: center;
}

.cta-bloco h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.cta-bloco p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #ccc;
}

/* ================== BOTÕES ================== */
.btn-jogar,
a.btn-jogar {
  background: #007fdb;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  display: block;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

.btn-jogar {
  font-size: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-family: Poppins, sans-serif;
  color: #121419;
  border: none;
}

.btn-jogar-mini {
  background: red;
  color: #fff;
  padding: 5px 12px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}

/* ================== RASPADINHAS ================== */
/* Container das raspadinhas */
.raspadinha-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 10px;
}

/* Card */
.raspadinha-card {
  background: #000b17;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px #00000055;
  text-align: center;
  padding: 0;
  position: relative; /* importante para sobreposição */
}

/* Imagem do card (tamanho controlado pelo index.php) */
.raspadinha-card img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Label de valor */
.valor-label {
  position: absolute;
  background: #000000;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 6px;
  top: 5px;
  right: 0;
  border-radius: 4px;
  font-family: Poppins, sans-serif;
  font-weight: 700;
}

/* Novo título sobre a imagem */
.raspadinha-titulo {
  position: absolute;
  bottom: 5px;            /* fica embaixo da imagem */
  left: 50%;              /* centralizar */
  transform: translateX(-50%);
  background: #000000; /* fundo azul com transparência */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0px;
  border-radius: 4px;
  font-family: Poppins, sans-serif;
  text-align: center;
  min-height: 20px;       /* você pode controlar altura aqui */
  line-height: 1.2;
  white-space: nowrap;

}

/* Texto extra */
.premio-max {
  color: orange;
  font-size: 12px;
  margin-top: 5px;
}

.raspadinha-nome {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 5px;
}


/* ================== RODAPÉ ================== */
.rodape-info {
  background: #000a15;
  padding: 20px;
  color: #aaa;
  margin-bottom: 80px;
  font-size: 13px;
}

.rodape-logo {
  font-family: Orbitron, sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.rodape-info h4 {
  color: #fff;
  margin: 15px 0 5px;
}

.rodape-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rodape-info ul li {
  margin-bottom: 5px;
}

.rodape-info a {
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
}

.rodape-info a:hover {
  text-decoration: underline;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 10, 21, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.footer a {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 60px;
}

.footer a i {
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.footer a:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.footer a:hover i {
  transform: scale(1.1);
}

.footer a.active {
  color: #007fdb;
  background: rgba(0, 127, 219, 0.15);
}

.footer a.active i {
  color: #007fdb;
  transform: scale(1.15);
}

.footer a.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #007fdb;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 127, 219, 0.6);
}

/* 🔹 Destaque do botão Depositar */
.footer a.deposito-btn {
  position: relative;
  margin-top: -28px;
  background: linear-gradient(135deg, #007fdb 0%, #0056b3 100%);
  color: #fff !important;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 127, 219, 0.4), 0 0 0 4px rgba(0, 127, 219, 0.1);
  font-size: 13px;
  flex-direction: column;
  gap: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer a.deposito-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 127, 219, 0.3), rgba(0, 86, 179, 0.3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.footer a.deposito-btn i {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer a.deposito-btn:hover {
  background: linear-gradient(135deg, #0095ff 0%, #007fdb 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 127, 219, 0.5), 0 0 0 6px rgba(0, 127, 219, 0.15);
}

.footer a.deposito-btn:hover::before {
  opacity: 1;
}

.footer a.deposito-btn:active {
  transform: translateY(-2px) scale(1.02);
}


/* ================== RESPONSIVIDADE ================== */
@media (max-width: 480px) {
  .cta-bloco h3,
  .logo {
    font-size: 16px;
  }

  .btn-depositar {
    font-size: 15px;
    padding: 5px 10px;
  }

  .saldo {
    font-size: 15px;
  }

  .cta-bloco p,
  .ganhador,
  .rodape-info h4 {
    font-size: 13px;
  }

  .footer a {
    font-size: 10px;
    padding: 6px 10px;
    min-width: 50px;
  }
  
  .footer a i {
    font-size: 18px;
  }
  
  .footer a.deposito-btn {
    width: 56px;
    height: 56px;
    margin-top: -24px;
  }
  
  .footer a.deposito-btn i {
    font-size: 22px;
  }

  .btn-jogar {
    font-size: 14px;
    padding: 10px 95px;
  }

  .rodape-info {
    font-size: 12px;
  }

  .raspadinha-info {
    grid-template-columns: 1fr;
  }
}

/* ====== como funciona ======== */

.como-funciona-container {
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  margin: 20px auto;
  color: #fff;
  font-family: Poppins, sans-serif;
  text-align: center;
}

.como-funciona-container h2 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #007fdb;
}

.como-funciona-container h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #fff;
}

.como-funciona-container p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
}

.passo {
  margin-bottom: 25px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.passo h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #ffffff;
}

.passo p {
  font-size: 13px;
  color: #ddd;
  margin-bottom: 10px;
}

.passo img {
  width: 90%;       /* 👈 controla o tamanho da imagem */
  max-width: 250px; /* 👈 limite no desktop */
  height: auto;
  border-radius: 8px;
}

