/* Global layout */

body {
  margin: 0;
  padding: 0;
  background: #0b0b0d;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 640px;
  margin: 80px auto;
  padding: 0 1.5rem;
  text-align: center;
}

/* Headings */

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: normal;
  color: #c8c8c8;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Copy */

.pitch {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.subcopy {
  font-size: 0.95rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

/* Primary CTA */

.cta-button {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: #ffd147;
  color: #111111;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.15s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.cta-button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.modal-backdrop.visible {
  display: flex;
}

.modal {
  background: #15151a;
  border-radius: 14px;
  max-width: 420px;
  width: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* Modal header */

.modal-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.modal-subcopy {
  margin: 0;
  font-size: 0.9rem;
  color: #b0b0b0;
}

/* Wattle motif */

.wattle-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 209, 71, 0.1);
  margin-bottom: 0.75rem;
}

.wattle-icon {
  font-size: 1.4rem;
}

/* Close button */

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: none;
  background: transparent;
  color: #787878;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Form */

.register-form {
  text-align: left;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #d0d0d0;
}

.form-row input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #3a3a3f;
  background: #101015;
  color: #e0e0e0;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.form-row input:focus {
  outline: none;
  border-color: #ffd147;
}

/* Submit button */

.submit-button {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: #ffd147;
  color: #111111;
  font-weight: bold;
  font-size: 0.98rem;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: opacity 0.15s ease, transform 0.08s ease;
}

.submit-button:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.submit-button:active {
  transform: translateY(0);
}

/* Status text */

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #b0b0b0;
}

/* Responsive tweaks */

@media (max-width: 600px) {
  .container {
    margin: 60px auto;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .modal {
    max-width: 100%;
  }
}
