.page-register {
  background-color: #140C0C;
  color: #FFF1E8;
  min-height: 100vh;
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding, more bottom padding */
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.page-register__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain max width of the image */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-register__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(1.8rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFF1E8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-register__form-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #140C0C; /* Main background */
}

.page-register__form-container {
  background-color: #2A1212; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #6A1E1E; /* Border */
}

.page-register__form-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-register__form-group {
  margin-bottom: 20px;
}

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input::placeholder {
  color: rgba(255, 241, 232, 0.6);
}

.page-register__form-input:focus {
  border-color: #F3C54D; /* Gold */
  box-shadow: 0 0 0 3px rgba(243, 197, 77, 0.3);
  outline: none;
}

.page-register__form-group--checkbox {
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-register__form-checkbox {
  margin-right: 10px;
  min-width: 18px;
  min-height: 18px;
  cursor: pointer;
  accent-color: #FFB04A;
}

.page-register__form-checkbox-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF1E8;
}

.page-register__terms-link, .page-register__privacy-link {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__terms-link:hover, .page-register__privacy-link:hover {
  color: #FFB04A; /* Brighter gold/orange */
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(216, 106, 20, 0.4);
}

.page-register__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 106, 20, 0.6);
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95rem;
  color: #FFF1E8;
}

.page-register__login-link {
  color: #E53030; /* Auxiliary color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-register__login-link:hover {
  color: #FFB04A; /* Gold/Orange */
  text-decoration: underline;
}

.page-register__benefits-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #140C0C;
}

.page-register__benefits-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: #F3C54D; /* Gold */
  margin-bottom: 40px;
  font-weight: 700;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.page-register__benefit-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
  transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

.page-register__benefit-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__benefit-heading {
  font-size: 1.4rem;
  color: #E53030; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__benefit-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
  opacity: 0.85;
}

.page-register__view-promotions-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(216, 106, 20, 0.4);
  margin-top: 30px;
}

.page-register__view-promotions-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 106, 20, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 10px 15px 30px;
  }

  .page-register__hero-image {
    width: 100%;
    max-width: 100%; /* Ensure image scales down */
    height: auto;
  }

  .page-register__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-register__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-register__form-section {
    padding: 30px 15px;
  }

  .page-register__form-container {
    padding: 25px;
  }

  .page-register__form-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-register__form-input, .page-register__submit-button {
    font-size: 0.95rem;
  }

  .page-register__form-group--checkbox {
    flex-direction: row; /* Keep checkbox and label in a row */
    align-items: flex-start;
  }

  .page-register__form-checkbox {
    margin-top: 3px;
  }

  .page-register__form-checkbox-label {
    font-size: 0.85rem;
  }

  .page-register__login-prompt {
    font-size: 0.85rem;
  }

  .page-register__benefits-section {
    padding: 40px 15px;
  }

  .page-register__benefits-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr; /* Stack cards vertically on small screens */
  }

  .page-register__benefit-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 150px;
  }

  .page-register__benefit-heading {
    font-size: 1.2rem;
  }

  .page-register__benefit-description {
    font-size: 0.9rem;
  }

  .page-register__view-promotions-button {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ensure all images within .page-register do not fall below 200px width/height */
.page-register img {
  min-width: 200px;
  min-height: 200px;
}

.page-register__hero-image {
  min-width: unset; /* Hero image can be larger, overridden */
  min-height: unset;
}

/* Specific override for benefit icons to ensure minimums */
.page-register__benefit-icon {
  min-width: 200px;
  min-height: 150px; /* Specific aspect ratio for these, but still above 200px on one dimension */
}

/* Mobile specific image sizing for all images in content area */
@media (max-width: 768px) {
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-register__benefit-icon {
    max-width: 100%;
    height: auto;
  }
}