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

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

.page-register__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjusted padding-top to account for header offset, then add default padding */
  color: #ffffff;
  text-align: center;
  background-color: #1A202C;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 600px;
  box-sizing: border-box;
}

.page-register__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-register__hero-section > .page-register__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-register__registration-form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  margin: 0 auto 40px;
  box-sizing: border-box;
}

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

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

.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;
}

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

.page-register__form-agreement {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  text-align: left;
}

.page-register__checkbox {
  margin-right: 10px;
  margin-top: 4px; /* Align with text */
  min-width: 18px;
  min-height: 18px;
}

.page-register__checkbox-label {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-register__link {
  color: #FFD700;
  text-decoration: none;
}

.page-register__link:hover {
  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.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

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

.page-register__login-prompt {
  margin-top: 20px;
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-register__form-illustration {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-register__why-join-section, .page-register__security-section, .page-register__faq-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-register__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #FFD700;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #e0e0e0;
}

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

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

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

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

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__steps-section {
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-register__step-item {
  text-align: center;
  padding: 20px;
}

.page-register__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

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

.page-register__steps-illustration {
  margin-top: 60px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 50px;
  max-width: 800px;
  text-align: left;
}

.page-register__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-register__bonuses-section {
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-register__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-register__promotion-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__promotion-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

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

.page-register__promotion-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

.page-register__faq-answer p {
  margin: 0 0 10px 0;
  color: #e0e0e0;
}

.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-register__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Common card styling for general content */
.page-register__card {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__benefits-grid, .page-register__steps-grid, .page-register__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-register__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__registration-form-wrapper,
  .page-register__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-register__faq-title {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__benefit-title, .page-register__step-title, .page-register__promotion-title {
    font-size: 1.4em;
  }
  .page-register__hero-section {
    padding: 100px 0 60px; /* Adjust for smaller screens */
  }
}