:root {
  --primary: #d92323;
  --primary-dark: #b01c1c;
  --transparent: #ffffff00;
  --white: #ffffff;
  --secondary: #03c7f8;
}

body {
  background: #f4f7f6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url(image/backgound.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.login-box {
  background: var(--transparent);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  width: 90%;
  text-align: center;
}
#resultado-container {
  display: none;
  margin-top: 25px;
  text-align: left;
}

h1 {
  color: var(--primary);
  margin-top: 0;
}

input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 1rem;
  transition: 0.3s;
  box-sizing: border-box;
}

input:focus {
  border-color: var(--primary);
  outline: none;
}

#btn-gerar {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#btn-gerar:hover {
  background: var(--primary-dark);
}

/* Estilo da área de resultado */
.hash-wrapper {
  display: flex;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  align-items: center;
  gap: 10px;
}

code {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  word-break: break-all;
  color: #444;
}

#btn-copiar {
  background: #444;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  white-space: nowrap;
}

#btn-copiar:hover {
  background: #000;
}

/* --- MENU FLUTUANTE --- */
.contato-wrapper {
  position: fixed;
  bottom: 80px; /* Acima do rodapé */
  right: 30px;
  z-index: 1000;
}

.menu-social {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 15px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(0); /* Escondido inicialmente */
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
}

.social-btn img {
  width: 24px;
  height: 24px;
}

/* Cores de Hover para cada botão */
.whatsapp:hover {
  background: #25d366;
}
.email:hover {
  background: #ea4335;
}
.github:hover {
  background: #333;
}
.doacao:hover {
  background: #ffd166;
}
.social-btn:hover img {
  filter: brightness(0) invert(1);
}

/* Botão Principal (+) */
.main-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  font-size: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animação ao passar o rato no conjunto */
.contato-wrapper:hover .social-btn {
  transform: scale(1);
  opacity: 1;
}

.contato-wrapper:hover .main-fab {
  transform: rotate(45deg);
  background: var(--primary-dark);
}

/* --- RODAPÉ STICKY --- */
.footer-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--transparent);
  padding: 15px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #eee;
  z-index: 999;
}