/* styles.css */
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #00010a, #0b1020);
color: #c4d0f9;

  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

/* Container principal */
.container {
  max-width: 1000px;
  width: 100%;
  background: #0a0a14dd;
  border: 1px solid rgba(32, 56, 112, 0.4);
  border-radius: 20px;
  box-shadow: 0 0 30px 6px rgba(15, 30, 80, 0.9);
  padding: 30px 40px 40px;
}

/* Título */
h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 3rem;
  font-weight: 900;
color: #1f3db8; /* h1 */
text-shadow: 0 0 16px #1f3db8cc;
  user-select: none;
}
.animated-gaming {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  color: #00ffd5 !important;
  text-transform: uppercase;
  text-shadow: 0 2px 6px #005577;
  box-shadow: 0 6px 24px rgba(98, 63, 255, 0.25);
  background-color: rgba(0, 20, 40, 0.4);
  padding: 12px 20px;
  border-radius: 14px;
  margin-bottom: 30px;
  user-select: none;
}


@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 5px #00e0ff,
      0 0 10px #00e0ffcc,
      0 0 15px #00aaff,
      0 0 25px #0066ff;
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 30px #009dff,
      0 0 45px #0066ff;
    transform: scale(1.02);
  }
}

/* Mensagem quando não tem produtos */
.no-products {
  text-align: center;
  font-size: 1.3rem;
  color: #8889aa;
  padding: 30px 0;
}
.feedback-clientes {
    margin-top: 40px;
    padding: 20px;
    background: #101020;
    border-radius: 16px;
    box-shadow: 0 0 15px #3a5afe55;
}

.titulo-feedback {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #00ccff;
    text-align: center;
    text-shadow: 0 0 6px #0088ff88;
}

.feedback-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.video-tutorial {
    margin-top: 30px;
    text-align: center;
    max-width: 720px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    outline: none;
}

.video-tutorial h3 {
    color: #00ccff;
    text-shadow: 0 0 6px #0088ff88;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.video-tutorial video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(58, 90, 254, 0.6);
    background-color: #000;
    max-height: 405px; /* Mantém proporção 16:9 */
}

.feedback-item {
    background: #181833;
    border-radius: 12px;
    padding: 15px;
    border-left: 4px solid #3a5afe;
    color: #c0ccff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.feedback-item .estrelas {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.feedback-item .comentario {
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.4;
}

.feedback-item .cliente {
    font-weight: bold;
    color: #99aaff;
}

/* Grid de produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  width: 100%;
}

/* Produto individual */
.product {
  background: #0f1226;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(15, 45, 110, 0.8);
  padding: 16px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  outline-offset: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: text;
}

.product:focus,
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(58, 90, 255, 0.9);
  outline: none;
}

.product img {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 50, 0.4);
  background-color: #26264d;
  transition: filter 0.3s ease;
}

.product:hover img {
  filter: brightness(1.15);
}

.product-details {
  flex: 1;
  padding: 0;
  color: #c2c3ff;
}

.product-details h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  font-weight: 800;
  color: #00bef8;
  text-shadow: 0 0 6px #2500f7bb;
}

.product-details .descricao {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #969ac9;
  user-select: text;
}

.product-details p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 5px #000000;
}

/* Badge de garantia */
.garantia-box {
  display: flex;
  background-color: #161b38;
  align-items: center;
  background-color: #26264d;        /* Fundo escuro para contraste */
  border-left: 4px solid #1f3db8;
  box-shadow: inset 0 0 12px #1f3db877;  /* Azul vibrante */
  padding: 10px 14px;
  border-radius: 6px;
  margin: 12px 0;
}

.garantia-box svg {
  width: 20px;
  height: 20px;
  fill: #526cff;  /* Azul para combinar com acentos */
  margin-right: 8px;
}

.garantia-text {
  font-size: 0.95rem;
  color: #89a5ff;
  margin: 0;
}

/* Botão comprar */
.buy-button {
  background: linear-gradient(135deg, #1e40ff, #3755c6);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(58, 90, 255, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: auto;
  min-width: 140px;
  max-width: 100%;
}

.buy-button:hover,
.buy-button:focus {
  background: #526cff;
  box-shadow: 0 10px 30px rgba(82, 108, 255, 0.9);
  transform: translateY(-2px);
  outline: none;
}

/* Modal geral */
#modalEmail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 20, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
  user-select: none;
}

#modalEmail.active {
  display: flex;
}

/* Conteúdo modal */
#modalContent {
  background: #101426ee;
  padding: 28px 36px 36px;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(20, 40, 100, 0.9), inset 0 0 32px #1f3db888;
  max-width: 480px;
  width: 100%;
  color: #d1d6ff;
  position: relative;
  user-select: text;
}
#modalEmail #formEmail input[type="email"] {
    padding: 10px;
    width: 100%;
    border: 1px solid #3a5afe;
    background: #1a1a35;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    transition: border 0.3s;
}

#modalEmail #formEmail input[type="email"]:focus {
    outline: none;
    border-color: #00cc88;
}

#modalEmail #formEmail button[type="submit"] {
    background-color: #00cc88;
    color: #000;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

#modalEmail #formEmail button[type="submit"]:hover {
    background-color: #00ffae;
}

/* Botão fechar modal */
#modalClose {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
  font-weight: 900;
  color: #7f7fca;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

#modalClose:hover,
#modalClose:focus {
  color: #3a5afe;
  outline: none;
}

/* Títulos do modal */
#stepEmail h3,
#stepCheckout h3 {
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 900;
  color: #7280ff;
  text-align: center;
  text-shadow: 0 0 10px #3a5afecc;
  user-select: none;
}

/* Formulário email */
#formEmail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#formEmail input[type="email"] {
  font-size: 1.2rem;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid #3a5afe;
  background: #0f0f2a;
  color: #e0e4ff;
  outline-offset: 3px;
  transition: border-color 0.3s ease;
  user-select: text;
}
#stepCheckout button {
  transition: background 0.3s ease;
}

#stepCheckout button:hover {
  background-color: #00ffae;
}

#formEmail input[type="email"]:focus {
  border-color: #7280ff;
  box-shadow: 0 0 10px #7280ffbb;
  outline: none;
}

#formEmail button {
  background: #3a5afe;
  color: white;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(58, 90, 255, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: auto;
  min-width: 140px;
  max-width: 100%;
  align-self: center;
}

#formEmail button:hover,
#formEmail button:focus {
  background: #526cff;
  box-shadow: 0 10px 30px rgba(82, 108, 255, 0.9);
  transform: translateY(-2px);
  outline: none;
}

/* Passo checkout PIX */
#stepCheckout {
  display: none;
  flex-direction: column;
  align-items: center;
  user-select: text;
}

#checkoutProduto {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #aabaff;
  text-align: center;
  text-shadow: 0 0 8px #526cffbb;
  user-select: text;
}

/* QR Code */
#pixQRCode {
  width: 260px;
  height: 260px;
  border-radius: 22px;
  box-shadow: 0 0 25px #3a5afecc;
  margin-bottom: 22px;
  display: none;
  user-select: none;
}

/* Container da chave PIX */
#pixInfo {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  max-height: 120px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #1a1a35;
  border: 2px solid #3a5afe;
  padding: 16px 22px;
  border-radius: 16px;
  font-weight: 700;
  color: #aabaff;
  margin-bottom: 20px;
  user-select: text;
  font-size: 1.05rem;
  box-shadow: inset 0 0 12px #2747d9aa;
}

/* Scrollbar do pixInfo */
#pixInfo::-webkit-scrollbar {
  width: 6px;
}

#pixInfo::-webkit-scrollbar-track {
  background: #121217;
  border-radius: 10px;
}

#pixInfo::-webkit-scrollbar-thumb {
  background: #3a5afecc;
  border-radius: 10px;
}

#pixInfo::-webkit-scrollbar-thumb:hover {
  background: #526cffee;
}

/* Botões no checkout */
#copyPixKey,
#stepCheckout > button {
  background: #3a5afe;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(58, 90, 255, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: auto;
  min-width: 140px;
  max-width: 100%;
  margin: 0 auto 15px;
  display: inline-block;
  user-select: none;
}

.logo {
  display: block;
  margin: 0 auto 18px auto;
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 0 8px #3a5afecc);
  user-select: none;
  cursor: default;
  transition: filter 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 15px #7280ffcc);
}

/* Botão WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 11000;
  transition: box-shadow 0.3s ease;
  animation: pulse 2.5s infinite;
}

.whatsapp-float img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.9);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.9);
  }
}

#copyPixKey {
  padding: 10px 18px;
  font-size: 0.95rem;
  min-width: 130px;
}

#copyPixKey:hover,
#copyPixKey:focus,
#stepCheckout > button:hover,
#stepCheckout > button:focus {
  background: #526cff;
  box-shadow: 0 10px 30px rgba(82, 108, 255, 0.9);
  transform: translateY(-2px);
  outline: none;
}

/* NOVO ESTILO PARA “Veja como nosso produto funciona” logo abaixo dos produtos */
.decoracao-below-products {
  margin-top: 40px;
  background: rgba(58, 90, 254, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(58, 90, 254, 0.4);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  color: #d0d8ff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.decoracao-below-products .titulo-below {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-shadow: 0 0 5px #0008;
  color: #dde1e7dd;
  width: 100%;
  text-align: center;
  user-select: text;
}



.decoracao-below-products .grid-imagens-below {
  display: flex;
  gap: 25px;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.decoracao-below-products .grid-imagens-below img {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 0 8px #445566bb);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.decoracao-below-products .grid-imagens-below img:hover {
  filter: drop-shadow(0 0 15px #667799cc);
  transform: scale(1.1);
}

/* Mensagem WhatsApp */
#mensagemWhatsapp {
  font-weight: 700;
  color: #ff0040;
  font-size: 1rem;
  text-align: center;
  margin-top: 15px;
  user-select: none;
}

/* Responsivo: melhor visual em telas pequenas */
@media (max-width: 480px) {
  .container {
    padding: 20px 20px 30px;
  }
  h1 {
    font-size: 2.2rem;
  }
  .product {
    flex-direction: column;
    align-items: flex-start;
  }
  .product img {
    width: 100%;
    height: 140px;
    border-radius: 18px;
  }
  #pixQRCode {
    width: 200px;
    height: 200px;
  }
  #pixInfo {
    max-height: 100px;
    font-size: 0.95rem;
    padding: 14px 16px;
  }
  #copyPixKey,
  #stepCheckout > button,
  .buy-button,
  #formEmail button {
    font-size: 0.9rem;
    padding: 10px 14px;
    min-width: 120px;
  }
  .decoracao-below-products {
    margin-top: 30px;
    padding: 16px;
  }
  .decoracao-below-products .grid-imagens-below img {
    width: 140px;
    height: 140px;
  }
}
