/* PAGE */
body.join-page {
  min-height: 100vh;
  margin: 0;

  /* RED MOON AS ENVIRONMENT */
  background:
    radial-gradient(circle at 25% 25%, rgba(255,0,0,0.15), transparent 60%),
    url("/assets/images/RedMoon.png");

  background-repeat: no-repeat;
  background-size: 1600px auto;
  background-position: -400px -300px;
  background-color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;

  overflow: hidden;
}

/* CARD */
.join-card {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 420px;
  padding: 28px 26px;
  background: #d4af37;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* HEADLINE */
.join-card h1 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 1.55rem;
  font-weight: 700;
}

/* SUBTEXT */
.join-subtext {
  text-align: center;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* FORM */
.join-form label {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.join-form input[type="text"],
.join-form input[type="email"],
.join-form input[type="password"] {
  width: 100%;
  padding: 11px 12px;
  margin-top: 6px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  background: #f5f5f5;
}

.join-form input::placeholder {
  color: #777;
}

/* EMAIL NOTE */
.email-note {
  margin: 4px 0 6px;
  font-size: 0.75rem;
}

/* CHECKBOX */
.join-form .checkbox {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
}

/* BUTTON */
.join-form button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #000;
  color: #d4af37;
}

/* FOOTNOTE */
.privacy-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
}

/* EXISTING USER BOX */
.login-box {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.15);
  text-align: center;
}

.login-text {
  margin-bottom: 6px;
  font-size: 14px;
  color: #222;
}

.login-link {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  text-decoration: underline;
}

.login-link:hover {
  opacity: 0.8;
}

/* MOBILE TUNING */
@media (max-width: 600px) {
  body.join-page {
    background-size: 1200px auto;
    background-position: -500px -250px;
  }
}
