/* --------------------------------------------------
   Sessão Hero (cabeçalho da página de contos)
-------------------------------------------------- */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&q=80&w=1500')
    no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  margin-top: 90px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* --------------------------------------------------
   Névoa (canvas animado)
-------------------------------------------------- */
#fogCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;

  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------
   Títulos e texto dentro do Hero
-------------------------------------------------- */
.hero h2 {
  position: relative;
  font-size: 3rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  margin-bottom: 15px;
  z-index: 5;

  text-shadow: 0 0 20px #00ff99;
}

.hero p {
  position: relative;
  font-size: 1.2rem;
  max-width: 600px;
  line-height: 1.6;
  z-index: 5;

  text-shadow: 0 0 10px #009966;
}

/* --------------------------------------------------
   Cabeçalhos de seções abaixo do Hero
-------------------------------------------------- */
.content h3 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 40px;

  color: #00ff99;
  text-shadow: 0 0 10px rgba(0, 255, 153, 0.3);
}

/* --------------------------------------------------
   Sessão de envio de contos
-------------------------------------------------- */
.enviar-conto-container {
  margin-top: 80px;
  text-align: center;
}

.enviar-conto-container h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* --------------------------------------------------
   Botão “Enviar Conto”
-------------------------------------------------- */
.btn-enviar-conto {
  display: inline-block;

  padding: 7px 21px;
  margin-top: 8px;

  background: #0d0d0d;
  color: #00ff99;

  border: 1px solid rgba(0, 255, 153, 0.7);
  border-radius: 4px;

  font-size: 0.75rem;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;

  animation: glowPulseMedium 2.8s ease-in-out infinite;
  transition: 0.25s ease;
}

/* Animação do botão */
@keyframes glowPulseMedium {
  0% {
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.35);
  }
  50% {
    box-shadow: 0 0 22px rgba(0, 255, 153, 0.75);
  }
  100% {
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.35);
  }
}

.btn-enviar-conto:hover {
  background: #111;
  border-color: #00ff99;
  box-shadow: 0 0 28px rgba(0, 255, 153, 0.8);
  transform: scale(1.05);
}
