/* styles.css otimizado NDSGames */
/* este body faz a pagina ocupar toda tela */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}
/* nao vi mudança em nada */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header organiza, posicionamento as primeiras linha do painel, inclusive permite aparecer a cor do painel */
header {
  background-color: #1d1d1d;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
/* não vi serventia neste header h1 */
header h1 {
  margin: 0;
  font-size: 1.8rem;
}
/* dá uma organizada em Serviços, sobre, contato e blog */
nav a {
  color: write;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

/* Hero - posso dizer que bagunça tudo sem isso..kkkk */
.hero {
  position: relative;
  background: url('background.webp') no-repeat center center;
  background-size: cover;
  color: #f0efef;
  text-align: center;
  padding: 100px 20px;
  min-height: 320px;
  overflow: hidden;
  perspective: 1000px;
}
/* Glassiano de leve inset: 0; no segundo painel de cima para baixo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero h2,
.hero p,
.hero .cta {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
  transform: translateZ(60px);
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  animation: flutuar 3s ease-in-out infinite;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

@keyframes flutuar {
  0%, 100% { transform: translateZ(60px) translateY(0); }
  50% { transform: translateZ(60px) translateY(-6px); }
}

/* Botão CTA */
.cta {
  margin-top: 20px;
  display: inline-block;
  background: linear-gradient(135deg, #25D366, #128C7E);
  padding: 14px 30px;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.2s ease-in-out;
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #128C7E, #0f664d);
}

/* Seções centraliza as coisas na pagina */
.section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.section h2,
.section h3,
.section h4,
.section p,
.section li {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
/* parece nao ter serventia */
#servicos h2 {
  color: #0a0a0a;
}

/* Features - autofit minmax 120px é o tamanho da caixinha escrita */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 13px;
  justify-items: center;
  align-items: stretch;
}
/* cor cinza da caixa de escritas dcdcdcdc */
.feature {
  background: linear-gradient(145deg, #f0f0f0, #dcdcdc);
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 4px 4px 15px rgba(0,0,0,0.2), -4px -4px 10px rgba(255,255,255,0.6);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 6px 6px 20px rgba(0,0,0,0.3), -4px -4px 12px rgba(255,255,255,0.7);
}

/* Galeria centraliza as caixas de consoles */
.galeria-imagens {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.galeria-imagens img {
  width: 170px;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 rgba(0, 174, 255, 0);
}
/* caixinha exclusiva do ps5 */
.galeria-imagens img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 174, 255, 0.9), 0 0 40px rgba(0, 174, 255, 0.5);
  z-index: 1;
}

/* Footer */
footer {
  background-color: #1d1d1d;
  color: #fcfbf9;
  text-align: center;
  padding: 30px 10px;
}

footer p {
  margin: 8px 0;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* Links com contraste */
.link-branco, .link-contraste {
  color: #ffffff !important;
  font-weight: bold;
}

/* Redes Sociais */
.redes-sociais {
  margin-top: 15px;
}

.redes-sociais a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.redes-sociais a:hover {
  transform: scale(1.2);
}

.selos-seguranca {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px auto;
  text-align: center;
}

/* Botão Flutuante WhatsApp */
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsivo */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  header nav a {
    margin-left: 0;
    margin-top: 10px;
  }

  .hero {
    padding: 60px 15px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    font-size: 0.95rem;
    padding: 14px;
  }

  .whatsapp-icon {
    display: block;
  }
}

@media screen and (min-width: 769px) {
  .whatsapp-icon {
    display: none;
  }
}

/* Neon */
.titulo-neon {
  font-weight: 800;
  font-size: 2.5rem;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #0ff, 2px 2px 6px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in-out;
}

.titulo-neon:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ccff, 0 0 70px #0099cc;
}

/* Títulos com 3D */
.section h2, .section h3, .section h4 {
  text-shadow: 1px 1px 2px #00000030, 2px 2px 5px #ffffff30;
  font-weight: 700;
  transform: translateZ(10px);
}

.console-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.console-card:hover .console-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px #00aaff);
}

/* Evita duplicação de sombra na imagem ativa (ex: PS5) */
.console-card.active img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 174, 255, 0.5), 0 0 25px rgba(0, 174, 255, 0.3);
}


