.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
}

.page-register__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.page-register__hero-text-content {
    max-width: 800px;
    text-align: center;
}

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

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

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(50%);
}

/* General Section Styling */
.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__section-intro--large {
    font-size: 1.3em;
}

/* Buttons */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-register__btn-primary:hover {
  background-color: #f0c000;
  color: #6a0000;
  border-color: #f0c000;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-register__btn-primary--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

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

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

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

.page-register__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-register__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

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

/* How To Register Section */
.page-register__how-to-register-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 50px;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #8B0000;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-register__step-text {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 700px;
  margin-bottom: 30px;
}

.page-register__step-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Requirements and Tips Section */
.page-register__requirements-tips-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-register__info-card {
  background-color: rgba(139, 0, 0, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.3);
}

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

.page-register__info-list {
  list-style: none;
  padding: 0;
}

.page-register__info-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #cccccc;
}

.page-register__info-list li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-register__list-highlight {
    color: #FFD700;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  background-color: rgba(255, 215, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-register__faq-text {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #8B0000; /* Use secondary color for strong CTA */
  text-align: center;
  color: #ffffff;
  box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-title--large {
      font-size: 2.5em;
  }
}

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

  .page-register__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

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

  .page-register__hero-image-wrapper {
    display: none; /* Hide background image on small screens for better readability */
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-register__section-title--large {
      font-size: 2em;
  }

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

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-bottom: 15px; /* For stacked buttons */
  }
  
  .page-register__btn-secondary {
      margin-left: 0;
  }

  .page-register__cta-button:last-child {
      margin-bottom: 0;
  }

  .page-register__cta-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }

  .page-register__feature-grid, .page-register__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-register__feature-icon {
    max-width: 150px;
  }

  .page-register__step-title {
    font-size: 1.5em;
  }

  .page-register__step-text {
    font-size: 1em;
  }

  .page-register__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

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

  /* General mobile content padding */
  .page-register__container {
      padding-left: 15px;
      padding-right: 15px;
  }

  .page-register__why-join-section, 
  .page-register__how-to-register-section, 
  .page-register__requirements-tips-section, 
  .page-register__faq-section, 
  .page-register__cta-final-section {
      padding: 40px 0;
  }

  /* Ensure all images are responsive in content areas */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With !important */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }

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

  .page-register__cta-button {
    font-size: 0.9em;
  }

  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  .page-register__step-title {
    font-size: 1.3em;
  }
}