@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* Reset Moderno */
*, *:before, *:after {
  box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, strong, b, i, ul, li, form, label, article, aside, figure, footer, header, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, figure, footer, header, nav, section {
  display: block;
}

html {
  height: 100%;
}

/* Fundo Animado e Body (mantidos conforme o original) */
body {
  height: 100%;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.81);
  background-image: url("bg.webp");
  -webkit-text-size-adjust: none;
}

#bg-full {
  background-image: url("bg.webp");
  background-repeat: repeat; /* Adicionado: essencial para o scroll infinito */
  min-height: 100%;
  min-width: 100%;
  width: auto;
  height: auto;
  margin: 0;
  position: fixed;
  z-index: 0;
  /* Adicionado: aplica a animação */
  animation: scrollBackground 30s linear infinite; 
}

/* Adicionado: cria o movimento do background */
@keyframes scrollBackground {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 0px 1000px; 
  }
}

ul {
  list-style: none;
}

/* Tipografia Base Limpa */
body, input, select, textarea {
  color: #414f57;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

a {
  transition: color 0.2s ease, border-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #ff7496;
}

strong, b {
  color: #313f47;
  font-weight: 700;
}

p {
  margin: 0 0 1.5em 0;
  letter-spacing: 0.05em; /* Espaçamento mais agradável do que os 0.2em originais */
}

h1, h2, h3, h4, h5, h6 {
  color: #313f47;
  line-height: 1.4;
  margin: 0 0 0.75em 0;
}

h1 {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin: 25px 0 15px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Container Principal (O "Card" original) */
#main {
  position: relative;
  width: 100%;
  max-width: 450px;
  padding: 3em 2em;
  background: #ffffff;
  border-radius: 6px;
  cursor: default;
  opacity: 0.95;
  text-align: center;
}

/* Avatar Element & Linha de Fundo */
#main .avatar {
  position: relative;
  display: block;
  margin-bottom: 1.5em;
}

#main .avatar img {
  display: block;
  margin: 0 auto;
  border-radius: 100%;
  box-shadow: 0 0 0 4px #ffffff;
}

/* A linha horizontal por trás do avatar foi mantida */
#main .avatar:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -2em;
  width: calc(100% + 4em);
  height: 1px;
  z-index: -1;
  background: #c8cccf;
}

/* Wrapper de Alinhamento Global */
#wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  padding: 1.5em;
  z-index: 2;
}

/* Footer */
#footer {
  width: 100%;
  padding: 1.5em 0 0 0;
  color: rgba(255, 255, 255, 0.75);
  cursor: default;
  text-align: center;
}

/* Estilo do Botão Modernizado */
.btn-cta {
  display: block;
  width: 100%;
  padding: 15px 20px;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  white-space: normal;
  line-height: 1.2;
  word-wrap: break-word;

  /* Novas propriedades para o efeito */
  position: relative;
  overflow: hidden;
  animation: btn-pulse 2.5s infinite;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(0.85); 
}

.btn-cta:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  filter: brightness(0.95);
}

/* Efeito de brilho (shimmer) a passar */
.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: btn-shimmer 3s infinite;
}

/* Keyframes das Animações */
@keyframes btn-shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

@keyframes btn-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@media (min-width: 768px) {
  #main {
    max-width: 800px; 
  }
  
  .btn-cta {
    max-width: 400px;
    margin: 0 auto;
  }
}