.page-register {
  color: #ffffff; /* Default light text for dark body background */
  background-color: #000000; /* Assuming body background is black */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1A202C;
  overflow: hidden;
  min-height: 600px;
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

/* General Section Styling */
.page-register__why-join-section,
.page-register__steps-section,
.page-register__form-section,
.page-register__promotions-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 60px 0;
  background-color: #000000; /* Dark background for content sections */
  color: #ffffff; /* Light text for dark background */
}

.page-register__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-intro,
.page-register__section-outro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-register__section-outro {
  margin-bottom: 0;
  margin-top: 40px;
}

/* Why Join Section */
.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: #1A202C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-register__feature-card:hover {
  transform: translateY(-10px);
}

.page-register__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-register__feature-description {
  color: #cccccc;
  font-size: 1em;
}

/* Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-card {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__step-number {
  font-size: 2.5em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__step-description {
  color: #cccccc;
  font-size: 1em;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-register__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Form Section */
.page-register__registration-form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  background-color: #1A202C;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.page-register__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFD700;
  font-weight: bold;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #0d0d0d;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-register__form-checkbox {
  margin-right: 10px;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  font-size: 0.95em;
  color: #cccccc;
}

.page-register__checkbox-group a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__checkbox-group a:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-register__login-prompt {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #cccccc;
}

.page-register__login-prompt a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-register__login-prompt a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-register__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__promo-card {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__promo-card:hover {
  transform: translateY(-10px);
}

.page-register__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-register__promo-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__promo-title a:hover {
  text-decoration: underline;
}

.page-register__promo-description {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-register__btn-tertiary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9em;
}

.page-register__btn-tertiary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

/* Security Section */
.page-register__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__security-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-register__security-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__security-list li {
  background-color: #1A202C;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-register__list-icon {
  color: #FFD700;
  font-size: 1.2em;
  margin-right: 15px;
  font-weight: bold;
  line-height: 1;
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #1A202C;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A202C;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #2a3447;
}

.page-register__faq-heading {
  margin: 0;
  font-size: 1em;
  color: #FFD700;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-register__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-register__final-cta-section {
  text-align: center;
  background-color: #1A202C;
  padding: 80px 0;
}

.page-register__btn-large {
  padding: 20px 40px;
  font-size: 1.5em;
  margin-top: 30px;
}

.page-register__contact-support {
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-register__contact-support a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-register__contact-support a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
    min-height: 500px;
  }

  .page-register__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
  }

  .page-register__why-join-section,
  .page-register__steps-section,
  .page-register__form-section,
  .page-register__promotions-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
  }

  .page-register__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__section-intro,
  .page-register__section-outro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__feature-card,
  .page-register__step-card,
  .page-register__promo-card {
    padding: 20px;
  }

  .page-register__feature-icon,
  .page-register__promo-image,
  .page-register__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
  }

  .page-register__registration-form {
    padding: 30px 20px;
  }

  .page-register__form-label {
    font-size: 1em;
  }

  .page-register__form-input,
  .page-register__submit-button {
    padding: 10px 12px;
    font-size: 1em;
  }

  .page-register__checkbox-group {
    font-size: 0.9em;
  }

  .page-register__security-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-register__security-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-register__faq-answer {
    padding: 0 20px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-register__btn-large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}