/* =======================================
   JOIN MEMBER PAGE SPECIFIC STYLES
   ======================================= */

.member-hero {
  background: linear-gradient(135deg, #061020 0%, #0a1931 100%);
  padding: 80px 5%;
  text-align: center;
  color: #ffffff;
  border-bottom: 2px solid rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.member-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  z-index: 1;
}

.member-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.member-hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.member-hero h1 span {
  color: #d4af37;
}

.member-hero p {
  font-size: 17px;
  color: #cccccc;
  line-height: 1.6;
}

/* FORM LAYOUT */
.form-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.form-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  padding: 45px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
}

.form-group label span {
  color: #eb5757;
  margin-left: 3px;
}

.form-group input {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  color: #111111;
  background: #fcfbfa;
  border: 1.5px solid #dde3ed;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input::placeholder {
  color: #888888;
}

.form-group input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  background: #ffffff;
}

/* SUBMIT BUTTON */
.btn-submit-form {
  background: #000000;
  color: #d4af37;
  border: 1.5px solid #000000;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.btn-submit-form:hover {
  background: #d4af37;
  color: #000000;
  border-color: #d4af37;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* LOADING OVERLAY */
.submitting-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: fadeIn 0.3s ease;
}

.submitting-overlay .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(212, 175, 55, 0.1);
  border-left-color: #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.submitting-overlay p {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SUCCESS CARD */
.success-card {
  display: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  padding: 50px 40px;
  text-align: center;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 24px;
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 14px;
}

.success-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #555555;
  max-width: 580px;
  margin: 0 auto 30px;
}

.btn-back-link {
  display: inline-block;
  color: #111111;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.btn-back-link:hover {
  color: #d4af37;
  border-color: #d4af37;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* RESPONSIVE DESIGN */
@media(max-width: 768px) {
  .member-hero {
    padding: 60px 5%;
  }
  
  .member-hero h1 {
    font-size: 34px;
  }
  
  .member-hero p {
    font-size: 15px;
  }
  
  .form-section {
    padding: 30px 15px;
  }
  
  .form-card {
    padding: 25px 20px;
    border-radius: 12px;
  }
  
  .success-card {
    padding: 35px 20px;
    border-radius: 12px;
  }
  
  .success-card h3 {
    font-size: 22px;
  }
}
