:root {
  --primary-color: #53b154;
  --secondary-color: #012f22;
  --bg-color: #121212;
  --text-color: #f7f1ed;
  --accent-glow: rgba(83, 177, 84, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.3;
}

header {
  padding: 2rem 5%;
}

#isp-logo {
  max-height: 4.5rem;
}

main {
  flex: 1;
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 2rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

h1 {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -0.1rem;
}

h1 .accent {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 400;
}

.tagline {
  font-size: 1.6rem;
  opacity: 0.5;
  letter-spacing: 0.2rem;
  margin-top: 1rem;
}

.status-container {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 80rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.server-card, .ip-info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 1.5rem 3rem;
  flex: 1;
  min-width: 30rem;
  text-align: center;
}

.label-mini {
  font-size: 1rem;
  letter-spacing: 0.2rem;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

#selected-server {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.ip-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.ip-value { font-size: 1.8rem; font-weight: 700; }

.isp-value {
  font-size: 1.2rem;
  padding: 0.2rem 1rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 5rem;
}

.controls {
  margin: 2rem 0;
}

#start-button {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1.5rem 5rem;
  font-size: 2rem;
  font-weight: 900;
  border-radius: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

#start-button:hover:not(.disabled) {
  background: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 0 30px var(--accent-glow);
}

#start-button.disabled { opacity: 0.2; cursor: not-allowed; }

.gauge-layout {
  display: flex;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.chart-wrapper { text-align: center; }

.chart-label {
  font-size: 1.4rem;
  letter-spacing: 0.4rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.chart-container {
  width: 45rem;
  height: 40rem;
}

.results-bar {
  display: flex;
  gap: 3rem;
  margin: 3rem 0;
  width: 100%;
  max-width: 80rem;
  justify-content: center;
}

.result-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 22rem;
  transition: 0.3s;
}

.result-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.card-icon {
  color: var(--primary-color);
  opacity: 0.8;
}

.result-card .label {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  opacity: 0.4;
  margin-bottom: 0.2rem;
}

.result-card .value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
}

.result-card .unit {
  font-size: 1.4rem;
  opacity: 0.3;
  margin-left: 0.2rem;
}

.actions {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.cta-button {
  padding: 1.5rem 4rem;
  border-radius: 5rem;
  font-weight: 700;
  text-decoration: none;
}

.cta-button.whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

footer { padding: 4rem; text-align: center; opacity: 0.3; font-size: 1.2rem; }

.hidden { display: none !important; }

/* Anúncios */
.ad-container {
  width: 100%;
  max-width: 80rem;
  margin: 3rem auto 0;
  display: flex;
  justify-content: center;
}

.ad-placeholder {
  width: 100%;
  height: 90px; /* Altura padrão para banners horizontais */
  background: var(--glass-bg);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  transition: border-color 0.3s;
}

.ad-placeholder:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 900px) {
  .chart-container { width: 100vw; height: 35rem; }
  .results-bar { flex-direction: column; align-items: center; }
}
