.page-register {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-register__section-padding {
  padding: 60px 20px;
}

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

.page-register__text-center {
  text-align: center;
}

.page-register__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F3C54D;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-register__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  overflow: hidden;
}

.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;
  filter: brightness(0.5);
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-register__hero-title {
  font-size: clamp(38px, 5vw, 60px);
  color: #F3C54D;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-register__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF1E8;
  margin-bottom: 30px;
  opacity: 0.95;
}

.page-register__hero-cta-button,
.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__hero-cta-button:hover,
.page-register__cta-button:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
  transform: translateY(-2px);
}

/* Intro Section */
.page-register__intro-section {
  background-color: #140C0C;
}

/* Benefits Section */
.page-register__dark-section {
  background-color: #2A1212;
  color: #FFF1E8;
}

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

.page-register__benefit-card {
  background-color: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__benefit-title {
  font-size: 22px;
  color: #F3C54D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__benefit-description {
  font-size: 16px;
  color: #FFF1E8;
  opacity: 0.85;
}

/* How-to-Register Section */
.page-register__how-to-register-section {
  background-color: #140C0C;
}

.page-register__step-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.page-register__step-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #F3C54D;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__step-description {
  font-size: 17px;
  color: #FFF1E8;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-register__step-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF1E8;
  font-size: 17px;
}

.page-register__step-list li {
  margin-bottom: 8px;
  opacity: 0.9;
}

.page-register__step-list strong {
  color: #F3C54D;
}

.page-register__step-image-wrapper {
  margin: 20px auto;
  max-width: 800px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__step-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-register__step-button {
  align-self: flex-start;
}

/* Security Section */
.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-register__security-text {
  flex: 1;
}

.page-register__security-text p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
}

.page-register__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__security-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: #140C0C;
}

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

.page-register__promotion-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-register__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-register__promotion-content {
  padding: 25px;
  flex-grow: 1;
}

.page-register__promotion-title {
  font-size: 22px;
  color: #F3C54D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__promotion-description {
  font-size: 16px;
  color: #FFF1E8;
  opacity: 0.85;
}

.page-register__button-group {
  text-align: center;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #140C0C;
}
details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF1E8;
}
details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}
details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #2A1212;
}
.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}
.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #2A1212;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
  font-size: 16px;
}

/* Conclusion Section */
.page-register__conclusion-section {
  background-color: #140C0C;
}

.page-register__large-cta-button {
  padding: 18px 35px;
  font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 30px 15px;
  }
  .page-register__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-register__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-register__benefits-grid,
  .page-register__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-register__security-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-register__security-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-register__section-padding {
    padding: 40px 15px;
  }
  .page-register__container {
    padding: 0 10px;
  }
  .page-register__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-register__section-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    margin-bottom: 30px;
  }
  .page-register__text-block p,
  .page-register__step-description,
  .page-register__step-list li,
  .page-register__security-text p,
  .page-register__promotion-description {
    font-size: 15px;
  }

  /* HERO Section */
  .page-register__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-register__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    filter: brightness(0.6); /* Slightly brighter for better visibility of image content */
  }
  .page-register__hero-content {
    padding: 25px 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-register__hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .page-register__hero-description {
    font-size: clamp(15px, 3.5vw, 18px);
    margin-bottom: 25px;
  }
  .page-register__hero-cta-button,
  .page-register__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__button-group {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Images in content */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__step-image-wrapper,
  .page-register__security-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-register__benefit-icon {
    width: 60px;
    height: 60px;
  }

  /* Article body / Text blocks */
  .page-register__text-block,
  .page-register__security-text {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5px;
  }
  
  /* FAQ */
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }
  .page-register__faq-qtext {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 20px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
  }

  /* Card layouts - General */
  .page-register__benefit-card, .page-register__promotion-card {
    padding: 20px;
  }
  .page-register__promotion-image {
    height: 160px;
  }
  .page-register__promotion-title {
    font-size: 18px;
  }

  /* Conclusion CTA */
  .page-register__large-cta-button {
    padding: 15px 25px;
    font-size: 18px;
  }
}