/* ==========================
   LITTLE BUGGERS CLUB – REGISTER PAGE (CLEAN + PREMIUM)
   ========================== */

:root {
  --bg: #0f0f10;
  --card: #111;
  --field: #1c1c1e;
  --border: #333;
  --text: #ffffff;
  --muted: #bdbdbd;
  --red: #ff0000;
  --red-dark: #c00000;
  --glow: rgba(255, 0, 0, 0.55);
  --glow-strong: rgba(255, 0, 0, 0.9);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 32px 16px;
}

/* =======================================================
   TOP NAV
   ======================================================= */

.top-nav {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 14px;
  z-index: 200;
}

.nav-btn {
  background: var(--red);
  color: white;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.65);
  transition: 0.25s ease;
}

.nav-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.9);
}

/* =======================================================
   MAIN CARD
   ======================================================= */

.register-container {
  width: 100%;
  max-width: 440px;
  padding: 34px 34px 30px;
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.45);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hover raise + glow */
.register-container:hover {
  transform: translateY(-12px);
  box-shadow:
    0 0 55px rgba(255, 0, 0, 0.9),
    0 0 90px rgba(255, 0, 0, 0.45);
}

/* Logo */
.signup-logo {
  width: 170px;
  margin-bottom: 12px;
  user-select: none;
}

h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
}

/* =======================================================
   FORM
   ======================================================= */

.signup-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.signup-form input {
  width: 100%;
  max-width: 340px;
  padding: 14px 16px;
  background: var(--field);
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: 0.25s ease;
}

/* Placeholder styling */
.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Focus glow */
.signup-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.55);
  transform: translateY(-1px);
}

/* Slightly stronger look for invite code (optional visual cue) */
.signup-form input[name="invite_code"] {
  border-color: rgba(255, 0, 0, 0.28);
}

/* =======================================================
   BUTTON
   ======================================================= */

.submit-btn {
  width: 100%;
  max-width: 340px;
  padding: 14px;
  background: var(--red);
  border: none;
  border-radius: 999px;
  margin-top: 6px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.75);
  transition: 0.25s ease;
}

.submit-btn:hover {
  background: var(--red-dark);
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.85);
  transform: translateY(-4px);
}

.submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

/* =======================================================
   ALT LINK
   ======================================================= */

.alt-link {
  margin-top: 18px;
  color: #aaa;
  font-size: 0.95rem;
}

.alt-link a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.alt-link a:hover {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.85);
}

/* =======================================================
   MOBILE FIXES
   ======================================================= */

@media (max-width: 520px) {
  .top-nav {
    top: 14px;
    right: 14px;
    gap: 10px;
  }

  .nav-btn {
    padding: 8px 18px;
    font-size: 0.95rem;
  }

  .register-container {
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  h2 {
    font-size: 1.75rem;
  }

  .signup-logo {
    width: 150px;
  }
}
