body {
  background: #000;
  font-family: 'Arial', sans-serif;
  color: white;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: block;
}

.auth-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  
  box-shadow: 0 0 20px rgba(220, 53, 69, 0.1);
}

.auth-title {
  text-align: center;
  color: #dc3545;
  margin-bottom: 2rem;
  font-size: 2rem;
  letter-spacing: 1px;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.input-group input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #dc3545;
  background: #111;
  color: white;
}

.password-wrapper {
  position: relative;
}

.password-wrapper i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #dc3545;
}

.recaptcha-box {
  margin: 1.5rem 0;
  text-align: center;
}

.recaptcha-placeholder {
  font-size: 0.85rem;
  color: #dc3545;
  opacity: 0.7;
  font-style: italic;
}

.auth-button {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.auth-button:hover {
  background: #dc3545;
  color: black;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.switch-link {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

.switch-link a {
  color: #dc3545;
  text-decoration: none;
}

.alert {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #dc3545;
  padding: 0.75rem;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 1rem;
}

.hidden {
  display: none;
}
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 0;
  top: 0;
  left: 0;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  overflow: visible;
  padding: 1rem 2rem;
}
.logo img {
  font-size: 1.5rem;
  font-weight: bold;
  height:50px;
  width: auto;
  transform: scale(4);
  transform-origin: left center;
  color: #dc3545;
}
.nav-buttons {
  display: flex;
  gap: 1rem;
}
.nav-btn {
  background-color: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}
.nav-btn:hover {
  background-color: #dc3545;
  color: black;
}
.nav-btn.discord i {
  margin-right: 6px;

}

/* Thin Red Line */
.red-line {
  height: 2px;
  background-color: #dc3545;
  width: 100%;
}
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px); /* leave space for navbar */
  padding-top: 2rem;
}
.alert {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #dc3545;
  padding: 0.75rem;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.hidden {
  display: none;
}
.alert {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}
.alert.success {
  background-color: #28a74533;
  color: #28a745;
}
.alert.danger {
  background-color: #dc354533;
  color: #dc3545;
}
.policy-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #111;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: white;
  overflow-y: auto;
  max-height: 90vh;
}

.close-btn {
  color: #dc3545;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.input-group.policy-consent {
  display: flex;
  align-items: flex-start;   /* use center if you prefer perfect vertical centering */
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.input-group.policy-consent input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 2px;           /* aligns with first line of text */
}

.input-group.policy-consent .policy-text {
  line-height: 1.4;
}

.input-group.policy-consent .policy-link {
  color: #dc3545;
  margin: 0 0.3rem;
  text-decoration: underline;
}
