:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --card: #1c212b;
  --card-2: #232937;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #b4bcc9;
  --primary: #00c853;
  --primary-strong: #00e676;
  --primary-dark: #009b46;
  --accent: #00b0ff;
  --danger: #ff5252;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --fonte: 'Inter', sans-serif;
   
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--fonte);
  -webkit-tap-highlight-color: transparent;
  
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(0, 200, 83, 0.14), transparent 26%),
    linear-gradient(180deg, #11141a 0%, #0f1115 100%);
  color: var(--text);
  text-align: center;
  padding: 14px 12px 110px;

 ;
}

/* LOGO */
#logo {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  height: 54px;
  max-width: 70vw;
  object-fit: contain;
  z-index: 1000;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

/* ÁREA PRINCIPAL */
#main {
  width: 100%;
  max-width: 460px;
  margin: 84px auto 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(28, 33, 43, 0.96), rgba(19, 22, 29, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

h1 {
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-strong);
  text-shadow: 0 0 18px rgba(0, 200, 83, 0.18);
}

/* SECTIONS */
section,
.item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Tags customizadas do HTML */
linha,
linha2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Destaque do texto da primeira tela */
linha span {
  display: block;
  width: 100%;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.16), rgba(0, 176, 255, 0.10));
  border: 1px solid rgba(0, 200, 83, 0.25);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Inputs herdados do seu ecossistema */
.input-config,
.input-configAPIKEY,
.content-select {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: #10141b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  outline: none;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.input-config::placeholder,
.input-configAPIKEY::placeholder,
.content-select::placeholder {
  color: #8f98a8;
}

.input-config:focus,
.input-configAPIKEY:focus,
.content-select:focus,
.input-config:hover,
.input-configAPIKEY:hover,
.content-select:hover {
  border-color: rgba(0, 200, 83, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.12);
}

/* BOTÕES */
.action-button {
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(0, 200, 83, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.action-button:hover,
.action-button:active {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 200, 83, 0.28);
  filter: brightness(1.03);
}

#reset.action-button {
  background: linear-gradient(135deg, #2d3748, #1a202c);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

/* BLOCO DE TEXTO / STATUS */
.description,
.description2 {
  width: 100%;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  background: #121720;
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text);
  line-height: 1.5;
  font-size: 0.97rem;
}

.description {
  font-weight: 600;
}

.description2 {
  color: var(--muted);
  font-weight: 500;
}

/* CONTAINERS */
.container-item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GIF */
.description img {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* MAPA */
#RASTREADOR {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#mapa {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  background: #0b0d12;
}

/* LINKS */
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

#link {
  font-size: 1rem;
}

/* ÍCONES/TEMPORAIS JÁ EXISTENTES */
#MIC,
#STOP,
#passwordclasse {
  font-size: 1.45rem;
  cursor: pointer;
}

/* BOTÕES FLUTUANTES */
#whatsapp,
#instagram,
#youtube,
#tiktok {
  position: fixed;
  width: 48px;
  height: 48px;
  z-index: 1000;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  padding: 6px;
  object-fit: contain;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#whatsapp:hover,
#instagram:hover,
#youtube:hover,
#tiktok:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
}

#whatsapp { bottom: 18px; right: 14px; }
#instagram { bottom: 74px; right: 14px; }
#tiktok { bottom: 18px; left: 14px; }
#youtube { bottom: 74px; left: 14px; }

/* MENU BUTTON caso exista no menustyle */
#menu-button {
  position: fixed;
  top: 14px;
  right: 12px;
  width: 36px;
  height: 36px;
  z-index: 1001;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  padding: 6px;
  object-fit: contain;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #11151c;
}

::-webkit-scrollbar-thumb {
  background: #2c3442;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a4456;
}

/* RESPONSIVO */
@media screen and (max-width: 480px) {
  body {
    padding: 12px 10px 110px;
  }

  #logo {
    height: 48px;
    top: 8px;
  }

  #main {
    margin-top: 74px;
    padding: 14px;
    gap: 14px;
    border-radius: 20px;
  }

  h1 {
    font-size: 1.45rem;
  }

  section,
  .item {
    padding: 14px;
    border-radius: 16px;
    gap: 12px;
  }

  linha span,
  .description,
  .description2 {
    font-size: 0.93rem;
  }

  .action-button {
    min-height: 50px;
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  #mapa {
    height: 260px;
    border-radius: 14px;
  }

  #whatsapp,
  #instagram,
  #youtube,
  #tiktok {
    width: 46px;
    height: 46px;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  #main {
    max-width: 500px;
  }

  #mapa {
    height: 300px;
  }
}

@media screen and (min-width: 769px) {
  #main {
    max-width: 520px;
  }
  .legal-footer {
  width: calc(100% - 24px);
  max-width: 460px;
  margin: 16px auto 92px auto;
  padding: 12px 14px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #9ea8b8;
  text-align: center;
  background: linear-gradient(180deg, rgba(28, 33, 43, 0.92), rgba(19, 22, 29, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
}