/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}
/* BODY */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
  color: #f1f1f1;
  padding: 20px;
  text-align: center;
}

/* LOGO */
#logo {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  cursor: pointer;
  animation: pulse 3s infinite;
}

/* MAIN */
#main {
  margin-top: 120px;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.4);
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

/* SECTION BASE */
section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #00ff99;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

/* TEXTAREA */
.textarea {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #00ff99;
  font-size: 1.2rem;
  border: 2px solid #00ff99;
  transition: 0.3s;
}

.textarea::placeholder {
  color: #00ff9966;
}

.textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  box-shadow: 0 0 10px #00ff99;
}

/* INPUT CONFIG */
.input-configAPIKEY {
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid #00ff99;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  margin: 10px 0;
  width: 80%;
}

/* BUTTON */
.action-button {
  margin-top: 20px;
  padding: 15px;
  width: 80%;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 114, 255, 0.6);
}

.action-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.8);
}

/* MICROFONE */
.microfone {
  display: block;
bottom: 70px;
  right: 10px;
  position: relative;
  font-size: 2rem;
  cursor: pointer;
  animation: tremida2 5s infinite;
}

/* TÍTULOS */
h1 {
  font-size: 3rem;
  color: #00ff99;
  margin-bottom: 20px;
  animation: pulse 3s infinite;
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #00e0ff;
}

/* LINHA E COLUNA */
linha,
coluna {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  gap: 10px;
}


/* WHATSAPP E ÍCONES FLUTUANTES */
#whatsapp,
#instagram,
#youtube,
#tiktok {
  width: 50px;
  position: fixed;
  bottom: 20px;
}

#whatsapp { right: 10px; }
#instagram { right: 70px; }
#youtube { left: 130px; }
#tiktok { left: 190px; }

/* ANIMAÇÕES */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes tremida2 {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-3px); }
  50% { transform: translateY(3px); }
  75% { transform: translateY(-1.5px); }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .textarea,
  .input-configAPIKEY,
  .action-button {
    font-size: 1rem;
    width: 100%;
  }
}
