.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding for first section */
}

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Adjusted padding-top to 10px */
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  margin-top: -150px; /* Overlap slightly for visual effect, ensuring text is not on image */
  padding: 20px;
  max-width: 800px;
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-register__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-register__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__why-join-section,
.page-register__how-to-register-section,
.page-register__app-download-section,
.page-register__bonuses-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-register__why-join-section {
  background-color: #11271B; /* Card BG */
}

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

.page-register__feature-card,
.page-register__step-card,
.page-register__bonus-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-register__feature-icon,
.page-register__step-image,
.page-register__bonus-image {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__feature-title,
.page-register__step-title,
.page-register__bonus-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-text,
.page-register__step-text,
.page-register__bonus-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-register__step-number {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  border: 2px solid #57E38D; /* Glow */
}

.page-register__step-image {
  max-width: 100%;
  margin-top: 20px;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-register__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid #2E7A4E; /* Border */
}

.page-register__app-info {
  text-align: center;
  max-width: 600px;
}

.page-register__app-subtitle {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
}

.page-register__app-features-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-register__list-icon {
  color: #57E38D; /* Glow */
  font-size: 1.2em;
  margin-right: 10px;
}

.page-register__security-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid #2E7A4E; /* Border */
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 600px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
}

.page-register__security-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.page-register__security-disclaimer {
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 40px;
  font-size: 1em;
}

.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #13994A; /* Darker green from button gradient */
}

.page-register__faq-question:hover {
  background-color: #11A84E; /* Main color */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-register__faq-item[open] .page-register__faq-toggle {
  color: #F2C14E; /* Gold */
}

.page-register__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-register__final-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-register__btn-lg {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-register__hero-section {
    padding-top: 10px;
  }
  .page-register__app-content,
  .page-register__security-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .page-register__app-info,
  .page-register__security-list {
    text-align: left;
    padding-left: 40px;
  }
  .page-register__app-image {
    order: 1;
  }
  .page-register__app-info {
    order: 2;
  }
  .page-register__security-image {
    order: 2;
  }
  .page-register__security-list {
    order: 1;
  }
  .page-register__feature-icon,
  .page-register__step-image,
  .page-register__bonus-image {
    height: 200px; /* Fixed height for consistency on desktop */
    object-fit: contain; /* Ensure full image is visible */
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 15px;
  }

  .page-register__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-register__hero-content {
    margin-top: -80px;
    padding: 15px;
  }

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

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

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

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto;
    max-width: 300px;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }

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

  .page-register__why-join-section,
  .page-register__how-to-register-section,
  .page-register__app-download-section,
  .page-register__bonuses-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
  }

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

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

  .page-register__app-content,
  .page-register__security-content {
    flex-direction: column;
  }

  .page-register__app-info,
  .page-register__security-list {
    padding-left: 0;
    text-align: center;
  }

  .page-register__app-features-list,
  .page-register__security-list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px; /* Constrain list width for readability */
  }

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

  .page-register__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

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

  /* Container responsiveness for images and buttons */
  .page-register__hero-section,
  .page-register__why-join-section,
  .page-register__how-to-register-section,
  .page-register__app-download-section,
  .page-register__bonuses-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__final-cta-section,
  .page-register__container,
  .page-register__feature-card,
  .page-register__step-card,
  .page-register__bonus-card,
  .page-register__app-content,
  .page-register__app-info,
  .page-register__security-content,
  .page-register__security-list,
  .page-register__faq-item,
  .page-register__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-register__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
}

/* Ensure details summary toggle works */
.page-register__faq-item summary {
  list-style: none;
}
.page-register__faq-item summary::-webkit-details-marker {
  display: none;
}