:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --light-bg: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-register {
  color: var(--text-on-dark); /* Default text color for dark body background */
  background-color: #0d121c; /* Inherited from body, but explicitly for clarity */
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color); /* Gold color for main titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-register__section-intro {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-on-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d121c 100%); /* Gradient background */
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any potential overlay */
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden; /* Ensure image corners are rounded */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: none; /* No filter property */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary-color); /* Gold color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color); /* Gold background for CTA */
  color: var(--primary-color); /* Dark text on gold */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-register__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__cta-button--secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-register__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-register__cta-button--large {
  padding: 20px 60px;
  font-size: 22px;
}


/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-on-dark);
}

.page-register__form-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__form-left {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-register__form-intro {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary-color); /* Gold for labels */
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-on-dark);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__form-input:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-register__verification-input-group {
  display: flex;
  gap: 10px;
}

.page-register__verification-code-input {
  flex: 1;
}

.page-register__get-code-button {
  padding: 12px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

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

.page-register__terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.page-register__checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color); /* Gold checkbox */
}

.page-register__checkbox-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.page-register__terms-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.page-register__submit-button {
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.page-register__login-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.page-register__form-right {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.page-register__form-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  filter: none; /* No filter property */
}

.page-register__form-image-caption {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #0d121c; /* Dark background */
  color: var(--text-on-dark);
}

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

.page-register__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__benefit-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__benefit-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-register__benefit-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.page-register__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-register__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  filter: none; /* No filter property */
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  padding-top: 80px; /* Space for number */
}

.page-register__step-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-register__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-register__step-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-register__step-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__step-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-register__guide-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-register__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  filter: none; /* No filter property */
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #0d121c;
  color: var(--text-on-dark);
}

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

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

.page-register__promotion-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__promotion-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-register__promotion-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-register__promotion-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__promotion-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-register__promotions-cta-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.page-register__promo-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-register__promotions-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  filter: none; /* No filter property */
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--secondary-color); /* Gold for FAQ questions */
}

.page-register__faq-question:hover {
  background: #2a3447; /* Slightly lighter primary color */
  border-color: var(--secondary-color);
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: inherit; /* Inherit color from parent */
}

.page-register__faq-toggle {
  font-size: 30px; /* Larger for better visibility */
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #e6c200; /* Darker gold when active */
  transform: rotate(45deg); /* Plus to X effect */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.03); /* Very subtle light on dark */
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Use !important and large value for expansion */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom CTA Section */
.page-register__cta-bottom {
  padding: 80px 0;
  background-color: #0d121c;
  text-align: center;
  color: var(--text-on-dark);
}