.page-register {
  color: #ffffff; /* Body background is dark (#000), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000;
}

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

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

.page-register__light-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast with pure black */
  color: #ffffff;
}

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-register__hero-section .page-register__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

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

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

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #FFD700;
  color: #000;
}

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

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

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

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

/* Sections */
.page-register__form-section,
.page-register__benefits-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

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

/* Form Section */
.page-register__form-container {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.page-register__form-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__form-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-register__form-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__form {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  margin: 0 auto;
}

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

.page-register__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #f0f0f0;
}

.page-register__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #8B0000;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__input::placeholder {
  color: #aaa;
}

.page-register__verification-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-register__input--code {
  flex: 1;
}

.page-register__btn-get-code {
  padding: 12px 20px;
  background-color: #8B0000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__btn-get-code:hover {
  background-color: #6a0000;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.page-register__checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #FFD700;
}

.page-register__label-checkbox {
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-register__label-checkbox a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__label-checkbox a:hover {
  text-decoration: underline;
}

.page-register__btn-submit {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  transition: transform 0.3s ease;
}

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

.page-register__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-register__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-register__btn-text {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.page-register__btn-text:hover {
  border-color: #FFD700;
}

/* Security Section */
.page-register__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-register__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

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

.page-register__security-image {
  width: 80%;
  height: auto;
  max-width: 800px;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  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: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

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

.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;
  color: #f0f0f0;
}

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

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

.page-register__faq-image {
  width: 300px;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* CTA Section */
.page-register__cta-section {
  padding: 60px 0;
}

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

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

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

  .page-register__form-container,
  .page-register__form-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__form-image-wrapper,
  .page-register__form {
    max-width: 100%;
  }

  .page-register__security-image {
    width: 90%;
  }
}

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

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

  .page-register__main-title {
    font-size: 2.2em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

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

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 60px 0;
  }

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

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

  .page-register__benefits-grid,
  .page-register__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-register__container,
  .page-register__hero-section .page-register__container,
  .page-register__form-container,
  .page-register__form-content,
  .page-register__benefits-grid,
  .page-register__security-features,
  .page-register__faq-list,
  .page-register__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

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

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

  .page-register__form,
  .page-register__benefit-card,
  .page-register__feature-item,
  .page-register__faq-item {
    padding: 20px;
  }

  .page-register__faq-question {
    font-size: 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;
  }
}