/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CORPO */
body {
  background: #000; /* Fundo preto */
  color: #fff;      /* Texto branco */
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

/* CONTAINER CENTRALIZADO */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 2rem;  /* Espaço interno no desktop */
  text-align: center;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: transparent;
}
.logo {
  font-family: 'Voltaire', sans-serif;
  font-size: 35px;
  font-weight: 400;
  color: #fff;
}
.btn-main-site {
  background-color: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
}
.btn-main-site:hover {
  background-color: #f0f0f0;
}

/* BLOCO: USUÁRIOS ONLINE */
.online-status {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.country-status {
  background: #111;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.flag-icon {
  width: 28px;
  height: auto;
  object-fit: contain;
}
.info-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ping-indicator {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: ping 1.5s infinite;
  margin-left: auto;
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: 1;   }
  50%  { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1);   opacity: 1;   }
}


.download-box h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: -0.5rem;
  text-align: center;
}
.subtitle {
  color: #ccc;
  margin-bottom: 1rem;
}
.download-box p {
  margin-bottom: 1.7rem;
  line-height: 1.6;
}

/* ACEITO OS TERMOS */
.license-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* <-- centraliza horizontalmente */
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  line-height: 1;
  
}
.license-label input[type="checkbox"] {
  accent-color: #10b981;
  
}
.license-link {
  color: #10b981;
  text-decoration: none;
}
.license-link:hover {
  text-decoration: underline;
  
  
  
}

/* ÁREA DE CENTRALIZAÇÃO DO BOTÃO */
.wrap {
  display: flex;
  align-items: center;
  justify-content: center; /* <--- mudou aqui */
  margin-top: -20px;
  
}

/* BOTÃO DE DOWNLOAD */
.btn-download {
  min-width: 300px;
  min-height: 60px;
  display: inline-flex;
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #1a1919;
  background: linear-gradient(90deg, rgb(133, 150, 147) 0%, rgb(158, 177, 175) 100%);
  border: none;
  border-radius: 1000px;
  box-shadow: 12px 12px 24px rgba(116, 155, 137, 0.64);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
  overflow: hidden;
  
}
.btn-download::before {
  content: '';
  border-radius: 1000px;
  min-width: calc(300px + 12px);
  min-height: calc(60px + 12px);
  border: 6px solid #ff9900;
  box-shadow: 0 0 60px rgba(255, 230, 0, 0.64);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  
}
.btn-download:hover,
.btn-download:focus {
  color: #387daa;
  transform: translateY(-6px);
}
.btn-download:hover::before,
.btn-download:focus::before {
  opacity: 1;
}
.btn-download::after {
  content: '';
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: 6px solid #1477b1;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}
.btn-download:hover::after,
.btn-download:focus::after {
  animation: none;
  display: none;
}
@keyframes ring {
  0%   { width: 30px;  height: 30px;  opacity: 1; }
  100% { width: 300px; height: 300px; opacity: 0; }
}
.progress-bar {
  position: absolute;
  height: 10px;
  width: 0;
  bottom: 0;
  left: 0;
  border-radius: 200px;
  background: #1472b1;
  transition: width 2s linear;
}
.button-text {
  position: relative;
  z-index: 1;
  
  
}
.btn-download:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  
}
.btn-download:disabled:hover {
  transform: none;
}

/* INFORMAÇÕES DE VERSÃO */
.info-version p {
  margin-bottom: 0rem;
  line-height: 1.4;
  text-align: center;
}
.download-box .main-text {
  font-size: 0.8rem;
  margin-bottom: 2.2rem;
  line-height: 1.3;
  text-align: center;
}


/* ========== RESPONSIVO (MOBILE) ========== */
  @media screen and (max-width: 800px) {
  .container {
    padding: 1.5rem;
  }
  .download-box .main-text {
      font-size: 0.8rem;
      margin-bottom: 2.2rem;
      line-height: 1.3;
      text-align: center;
    }
    
    .site-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1.5rem;
    }

  .logo {
    font-size: 1.8rem;
    text-align: center;
  }

  .btn-main-site {
    font-size: 14px;
    padding: 6px 12px;
  }

  .online-status {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .country-status {
    background: #111;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    min-width: 100px;
    font-size: 0.75rem;
  }

  .flag-icon {
    width: 18px;
    height: auto;
  }

  .info-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
  }

  .user-count {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .user-label {
    display: none; /* esconde 'usuários online' */
  }

  .user-label-mobile {
    display: inline; /* exibe só no mobile */
  }

  .ping-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: ping 1.5s infinite;
  }

  @keyframes ping {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  
  


  .download-box {
    background: none;         /* remove fundo no mobile */
    padding: 0;
    border-radius: 0;
    max-width: 100%;
    margin: 0;
    text-align: center;
  }

  .download-box h1 {
    font-size: 2rem;
    margin-bottom: -0.5rem;
    text-align: center;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .download-box p {
    font-size: 0.7rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .license-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* <-- centraliza horizontalmente */
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    line-height: 1;
  }
  

  .info-version p {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 0rem;


  }

  .wrap {
    font-size: 2.0rem;
    justify-content: center;
    margin-top: 1rem;
  }

  .btn-download {
    min-width: 100%;
    max-width: 100%;
    font-size: 20px;
  }

  .btn-download::before {
    min-width: calc(100% + 12px);
  }

  .wrap {
    justify-content: center !important;
  }

  .btn-download {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
