/* ================================
   RESET BÁSICO
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #fff;
  background: #000;
}

body {
  background: url('../images/background.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ================================
   CONTAINER GERAL
================================ */
.page-wrapper {
  padding: 40px 15px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* ================================
   BOX PRINCIPAL
================================ */
.login-container {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 50px 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  border: 2px solid #900;
  margin-top: 30px;
  margin-bottom: 50px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.15);
}

/* ================================
   LOGO
================================ */
.logo-wrapper {
  text-align: center;
  margin-bottom: 25px;
}

.logo-image {
  max-width: 200px;
  width: 80%;
  height: auto;
  display: inline-block;
}

/* ================================
   TÍTULOS E TEXTOS
================================ */
.login-container h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: #ff0000;
}

.login-container p {
  color: #f44;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

/* ================================
   INPUTS E BOTÕES
================================ */
.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #900;
  border-radius: 5px;
  background-color: #111;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.login-container input:focus {
  outline: none;
  border-color: #ff2020;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #a30000, #ff0000);
  border: none;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-container button:hover {
  background: linear-gradient(90deg, #ff2020, #c00000);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* ================================
   CAPTCHA
================================ */
.captcha-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.captcha-wrapper input {
  flex: 1;
  text-align: center;
  letter-spacing: 2px;
  font-weight: bold;
}

.captcha-wrapper img {
  border: 1px solid #900;
  border-radius: 4px;
  background: #000;
  cursor: pointer;
  height: 40px;
  width: 120px;
  object-fit: cover;
  transition: 0.2s;
}

.captcha-wrapper img:hover {
  border-color: #f00;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

/* ================================
   BOTÕES DE AÇÃO (LINKS)
================================ */
.link-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  margin-top: 10px;
  background: linear-gradient(90deg, #a30000, #ff0000);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.link-button:hover {
  background: linear-gradient(90deg, #ff2020, #cc0000);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* ================================
   GRUPO DE BOTÕES (DISCORD / DOWNLOAD)
================================ */
.button-group {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.custom-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  border: 2px solid #900;
  background: #111;
  transition: all 0.3s ease;
}

.custom-button:hover {
  background-color: #900;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.custom-button i {
  font-size: 16px;
}

/* ================================
   LINKS E TOGGLE
================================ */
.toggle-link {
  display: block;
  text-align: center;
  color: #ff3c3c;
  margin-top: 15px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}

.toggle-link:hover {
  color: #ff6666;
}

/* ================================
   RESPONSIVIDADE
================================ */
@media (max-width: 600px) {
  .login-container {
    padding: 30px 20px;
  }

  .custom-button {
    width: 100%;
    justify-content: center;
  }

  .captcha-wrapper {
    flex-direction: column;
  }

  .captcha-wrapper img {
    width: 100%;
  }
}
