/* style.css - TEMA VERMELHO/PRETO/BRANCO MODERNO */
:root {
  --primary: #b60909;
  --primary-dark: #8b0000;
  --primary-light: #e51818;
  --secondary: #ffffff;
  --secondary-light: #f8f8f8;
  --accent: #ff4444;
  --success: #22c55e;
  --light: #000000;
  --dark: #000000;
  --gray: #666666;
  --border: #ddd;
  --card-shadow: 0 4px 15px rgba(182, 9, 9, 0.1);
  --hover-shadow: 0 8px 25px rgba(182, 9, 9, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;

  /* fundo claro com leve aquecimento dourado */
  background: linear-gradient(
    135deg,
    #f9f7f2 0%,
    #f1ede3 50%,
    #e8e2d4 100%
  );

  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: linear-gradient(135deg, #000, #333);
  border-bottom: 4px solid var(--primary);
}


/* ===============================
   🎯 BANNER PRINCIPAL RESPONSIVO
   =============================== */

.banner-principal {
  width: 100%;
  height: 460px;            /* Desktop / Notebook */
  position: relative;
  overflow: hidden;
  background: #000;
}

.banner-principal picture,
.banner-principal img {
  width: 100%;
  height: 106%;
  display: block;
}

.banner-principal img {
  object-fit: cover;        /* Preenche sem distorcer */
  object-position: center 45%;  /* Mantém foco no centro */
}

/* 💻 Notebook menor */
@media (max-width: 1200px) {
  .banner-principal {
    height: 460px;
  }
}

/* 📱 Celular */
@media (max-width: 768px) {
  .banner-principal {
    height: 560px;
  }

  .banner-principal img {
    object-position: center top; 
    /* sobe um pouco o foco (ideal p/ logo e texto) */
  }
}

/* 📱 Celulares pequenos */
@media (max-width: 480px) {
  .banner-principal {
    height: 320px;
  }
}






nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  background: rgba(20, 18, 18, 0.926);
  flex-wrap: wrap;
}




nav h1 {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;

  background: linear-gradient(
    180deg,
    #fff4b0 0%,
    #f5c542 35%,
    #d4af37 60%,
    #a67c00 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}



nav a {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.45);

  color: #d4af37;
  font-weight: 700;

  padding: 14px 26px;
  border-radius: 12px;

  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 100, 0.15),
    0 6px 18px rgba(0,0,0,0.35);

  transition: all 0.3s ease;
}



nav a:hover {
  background: linear-gradient(
    135deg,
    #fff4b0,
    #f5c542,
    #d4af37,
    #a67c00
  );

  color: #000;
  border-color: #f5c542;

  box-shadow:
    0 0 14px rgba(245, 197, 66, 0.7),
    0 8px 24px rgba(0,0,0,0.5);

  transform: translateY(-2px);
}







/* CONTAINER PRINCIPAL */
.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 20px;
}

/* SEÇÕES */
section {
  background: var(--secondary);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--primary);
}

section h2 {
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}



/* REGRAS MODERNO */
.regras-section {
  background: var(--secondary);
  border-radius: 16px;
  padding: 30px;
  margin-top: 2rem;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--primary);
}

.rules-content {
  line-height: 1.8;
  color: var(--light);
}

.rules-content h3 {
  color: var(--primary);
  margin: 20px 0 10px;
}

.rules-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.rules-content li {
  margin-bottom: 8px;
  color: var(--light);
}

.rules-content strong {
  color: var(--primary);
}

.btn-cadastro-regras {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 20px;
}
.btn-cadastro-regras:hover {
  background: linear-gradient(135deg, var(--primary-dark), #660000);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(182, 9, 9, 0.3);
}
 

/* RODAPÉ MODERNO */
.rodape {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #d4af37;
  padding: 40px 0 20px;
  margin-top: 50px;
  border-top: 4px solid #d4af37;
}


.container-rodape {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.coluna-rodape h4 {
  margin-bottom: 20px;
  font-weight: 800;

  background: linear-gradient(
    180deg,
    #fff4b0,
    #f5c542,
    #d4af37,
    #a67c00
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.coluna-rodape a {
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;

  background: linear-gradient(
    180deg,
    #f9f0c0,
    #f5c542,
    #d4af37
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  transition: all 0.3s ease;
}


.coluna-rodape a:hover {
  filter: brightness(1.25);
  text-shadow: 0 0 6px rgba(245, 197, 66, 0.6);
}


.icones-redes {
  display: flex;
  gap: 15px;
}

.icones-redes a {
  font-size: 1.5rem;
  color: rgba(249, 226, 17, 0.911);
  transition: color 0.3s ease;
}

.icones-redes a:hover {
  transform: translateY(-2px);
  filter: brightness(1.3);
}

.direitos,
.termos {
  color: #d4af37;
  opacity: 0.85;
}

/* ============================================================
   ✨ LASER DOURADO FINO – FOOTER
   ============================================================ */

.rodape {
  position: relative;
  overflow: hidden;
}

/* Laser dourado fino no topo do footer */
.rodape::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px; /* 🔥 fino como laser real */

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 235, 150, 0.25),
    rgba(245, 197, 66, 0.75),
    rgba(212, 175, 55, 1),
    rgba(245, 197, 66, 0.75),
    rgba(255, 235, 150, 0.25),
    transparent
  );

  box-shadow:
    0 0 3px rgba(245, 197, 66, 0.4),
    0 0 6px rgba(212, 175, 55, 0.25);

  animation: laserGoldThinFooter 4s linear infinite;
  z-index: 10;
}

@keyframes laserGoldThinFooter {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(50%);
  }
}


/* RESPONSIVIDADE */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    width: 100%;
    justify-content: center;
  }

  .jogos-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .banner-principal {
    height: 200px;
  }

  nav h1 {
    font-size: 1.2rem;
  }

  section {
    padding: 15px;
  }

  .tabela-palpites,
  .tabela-ranking {
    font-size: 0.9rem;
  }
}

/* LINHAS SEPARADORAS */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 30px 0;
}

/* ============================================================




/* ===========================
   📱 Responsivo
   =========================== */
@media (max-width: 768px) {
  .placar {
    width: 45px;
    height: 30px;
    font-size: 0.85rem;
  }

  .tabela-palpites th,
  .tabela-palpites td {
    padding: 8px;
  }
}

/* ============================================================
   🧭 SCROLL PERSONALIZADO - ESTILO CLUB DO BOLÃO
   ============================================================ */

/* 🔹 Classe genérica para áreas com rolagem */
.scrollable {
  max-height: 420px;
  /* altura ajustável */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #111;
  /* Firefox */
  border-radius: 10px;
}

/* 🔹 Scroll Chrome / Edge / Safari */
.scrollable::-webkit-scrollbar {
  width: 10px;
}

.scrollable::-webkit-scrollbar-track {
  background: #111;
  border-radius: 10px;
}

.scrollable::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
  border-radius: 10px;
  border: 2px solid #111;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
}

.scrollable::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

/* 🔹 Animação suave ao rolar */
html {
  scroll-behavior: smooth;
}

.exemplo-jogos {
  text-align: center;
  margin: 25px 0;
}

.exemplo-palpite_errado,
.exemplo-valido,
.exemplo-valido1,
.exemplo-palpite_certo {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}


.exemplo-cartela {
  text-align: center;
  margin: 25px 0;
}

.exemplo-ranking {
  text-align: center;
  margin: 25px 0;
}

.exemplo-solicitarPremio {
  text-align: center;
  margin: 25;
}

.exemplo-enviarSolicitacao {
  text-align: center;
  margin: 25;
}
.exemplo-repeticao{
  text-align: center;
  margin: 25;

}
.exemplo-repeticao1{margin: 25;
  text-align: center;
  margin: 25;

}




.exemplo-ranking img {
  text-align: center;
  margin: 25px;
}

/* ============================================================
   ✅ IMAGENS RESPONSIVAS – NÃO ESTOURAM O CARD
   ============================================================ */

.exemplo-jogos img,
.exemplo-cartela img,
.exemplo-ranking img,
.exemplo-palpite_errado img,
.exemplo-palpite_certo img,
.exemplo-repeticao img,
.exemplo-repeticao1 img,
.exemplo-valido img,
.exemplo-valido1 img,
.exemplo-solicitarPremio img,
.exemplo-enviarSolicitacao img {
  max-width: 100%;
  width: 100%;
  height: auto;

  display: block;
  margin: 0 auto;

  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--primary);
}




/* Ajuste especial para celulares muito pequenos */
@media (max-width: 460px) {

  .exemplo-jogos img,
  .exemplo-cartela img,
  .exemplo-ranking img,
  .exemplo-palpite_errado img,
  .exemplo-palpite_certo img,
  .exemplo-valido img,
  .exemplo-valido1 img,
  .exemplo-solicitarPremio img,
  .exemplo-enviarSolicitacao img {
    max-width: 375px !important;
  }
}

@media (max-width: 460px) {
  .exemplo-ranking img {
    max-width: 480px;
    min-height: 220px;
    /* aumenta mais no celular */
  }
}

@media (min-width: 768px) {

  .exemplo-jogos img,
  .exemplo-cartela img,
  .exemplo-ranking img,
  .exemplo-palpite_certo img,
  .exemplo-palpite_errado img,
  .exemplo-repeticao img,
  .exemplo-repeticao1 img,
  .exemplo-valido img,
  .exemplo-valido1 img,
  .exemplo-solicitarPremio img,
  .exemplo-enviarSolicitacao img {
    max-width: 520px;
    width: 100%;
  }

}


/* AJUSTE DA LISTA NUMERADA */
.rules-content ol {
  padding-left: 28px;        /* empurra os números para dentro */
  margin-top: 15px;
}

.rules-content li {
  margin-bottom: 10px;       /* espaço entre itens */
  padding-left: 6px;         /* distância texto ↔ número */
}
.rules-content ol {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

.rules-content li {
  margin-bottom: 12px;
  padding-left: 10px;
}
