.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-register__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure no horizontal scroll */
}

.page-register__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 32, 44, 0.8); /* Dark overlay from primary color */
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-register__registration-form-wrapper {
  background-color: rgba(26, 32, 44, 0.95); /* Slightly darker, almost opaque primary color */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  margin: 0 auto;
}

.page-register__form-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-register__registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-register__form-group {
  text-align: left;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: 500;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-register__form-input::placeholder {
  color: #aaa;
}

.page-register__form-input:focus {
  border-color: #FFD700;
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.page-register__captcha-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-register__captcha-input {
  flex-grow: 1;
}

.page-register__captcha-image {
  background-color: #FFD700;
  color: #1A202C;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 2px;
  user-select: none;
}

.page-register__captcha-refresh-button {
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__captcha-refresh-button:hover {
  background-color: #e6c200;
}

.page-register__form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f0f0f0;
  text-align: left;
}

.page-register__form-checkbox input[type="checkbox"] {
  min-width: 18px;
  min-height: 18px;
  accent-color: #FFD700;
  cursor: pointer;
}

.page-register__terms-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__terms-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-register__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Why Join Section */
.page-register__why-join-section {
  background-color: #1A202C;
  padding-bottom: 80px;
}

.page-register__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__feature-icon {
  width: 100%; /* Make it responsive */
  height: auto;
  margin-bottom: 20px;
  max-width: 250px; /* Recommended max-width for feature icons */
  min-width: 200px; /* Enforce min-width */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}