.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--color-dark-background, #1A1A1A);
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-register__hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary, #FFD700);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

.page-register__btn-primary {
  display: inline-block;
  background-color: var(--color-primary, #FFD700);
  color: #1A1A1A;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--color-primary, #FFD700);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--color-primary, #FFD700);
  margin-left: 20px;
}

.page-register__btn-secondary:hover {
  background-color: var(--color-primary, #FFD700);
  color: #1A1A1A;
}

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

.page-register__form-section, 
.page-register__advantages-section, 
.page-register__cta-section, 
.page-register__faq-section, 
.page-register__about-platform, 
.page-register__video-section, 
.page-register__trust-section {
  padding: 60px 0;
  background-color: var(--color-dark-background, #1A1A1A);
  color: #ffffff;
  text-align: center;
}

.page-register__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary, #FFD700);
  margin-bottom: 20px;
}

.page-register__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-register__form-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-register__step-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
}

.page-register__step-icon {
  background-color: var(--color-primary, #FFD700);
  color: #1A1A1A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.5rem;
  color: var(--color-primary, #FFD700);
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #cccccc;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
}

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

.page-register__form-label {
  display: block;
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 8px;
}

.page-register__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #333;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.page-register__form-input:focus {
  border-color: var(--color-primary, #FFD700);
  outline: none;
}

.page-register__form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.page-register__form-checkbox input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary, #FFD700);
}

.page-register__form-checkbox .page-register__form-label a {
  color: var(--color-primary, #FFD700);
  text-decoration: none;
}

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

.page-register__btn-submit {
  width: 100%;
  background-color: var(--color-primary, #FFD700);
  color: #1A1A1A;
  padding: 15px 0;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-register__login-prompt {
  margin-top: 30px;
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
}

.page-register__login-prompt a {
  color: var(--color-primary, #FFD700);
  text-decoration: none;
  font-weight: 600;
}

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

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

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

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

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

.page-register__advantage-title {
  font-size: 1.6rem;
  color: var(--color-primary, #FFD700);
  margin-bottom: 15px;
}

.page-register__advantage-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

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

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

.page-register__faq-item {
  background-color: #2a2a2a;
  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;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f0f0;
  background-color: #333;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary, #FFD700);
  margin-left: 15px;
  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-out, padding 0.3s ease-out;
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.6;
}

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

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

.page-register__faq-answer a {
  color: var(--color-primary, #FFD700);
  text-decoration: none;
}

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

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

.page-register__highlight-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__highlight-item:hover {
  transform: translateY(-5px);
}

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

.page-register__highlight-title {
  font-size: 1.6rem;
  color: var(--color-primary, #FFD700);
  margin-bottom: 15px;
}

.page-register__highlight-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-register__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

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

.page-register__trust-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__trust-item:hover {
  transform: translateY(-5px);
}

.page-register__trust-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
}

.page-register__trust-title {
  font-size: 1.5rem;
  color: var(--color-primary, #FFD700);
  margin-bottom: 15px;
}

.page-register__trust-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-title {
    font-size: 2.2rem;
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-register__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-register__section-title {
    font-size: 1.8rem;
  }
  .page-register__section-description {
    font-size: 0.95rem;
  }
  .page-register__form-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-register__step-item {
    max-width: 100%;
  }
  .page-register__registration-form {
    padding: 30px 20px;
  }
  .page-register__advantages-grid,
  .page-register__platform-highlights,
  .page-register__trust-points {
    grid-template-columns: 1fr;
  }

  /* Image and Video Responsive - CRITICAL */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important; /* Added for explicit width */
    height: auto !important;
    display: block !important;
  }

  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Button Responsive - CRITICAL */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Ensure buttons take full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-register__container {
    padding: 0 15px;
  }

  /* Content area images: enforce min size */
  .page-register__advantage-image, 
  .page-register__highlight-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8rem;
  }
  .page-register__section-title {
    font-size: 1.5rem;
  }
  .page-register__step-title,
  .page-register__advantage-title,
  .page-register__highlight-title,
  .page-register__trust-title {
    font-size: 1.3rem;
  }
  .page-register__btn-submit {
    font-size: 1.1rem;
  }
}