.page-register {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #0D0D1A; /* Match body background for consistency */
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A2E 0%, #0D0D1A 100%);
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-register__main-title {
  font-size: 3.5em;
  color: #E94560;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(233, 69, 96, 0.6);
  font-weight: 700;
}

.page-register__intro-text {
  font-size: 1.25em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #E94560 0%, #FF7F50 100%);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
  border: none;
  cursor: pointer;
  min-width: 200px;
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(233, 69, 96, 0.6);
  background: linear-gradient(90deg, #FF7F50 0%, #E94560 100%);
}

.page-register__cta-button--secondary {
  background: linear-gradient(90deg, #1A1A2E 0%, #3a3a5a 100%);
  box-shadow: 0 8px 20px rgba(26, 26, 46, 0.4);
}

.page-register__cta-button--secondary:hover {
  background: linear-gradient(90deg, #3a3a5a 0%, #1A1A2E 100%);
  box-shadow: 0 12px 25px rgba(26, 26, 46, 0.6);
}

.page-register__cta-button--tertiary {
  background: #E94560;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
}

.page-register__cta-button--tertiary:hover {
  background: #ff6b81;
  box-shadow: 0 12px 25px rgba(233, 69, 96, 0.6);
}

.page-register__cta-button--app-download {
  background: #1A1A2E;
  box-shadow: 0 8px 20px rgba(26, 26, 46, 0.4);
}

.page-register__cta-button--app-download:hover {
  background: #3a3a5a;
  box-shadow: 0 12px 25px rgba(26, 26, 46, 0.6);
}

.page-register__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #E94560;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1A1A2E;
  border-radius: 2px;
}

.page-register__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 20px;
  text-align: justify;
}

.page-register__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  min-width: 200px; /* Ensure minimum display size */
  min-height: 200px; /* Ensure minimum display size */
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__step-item {
  background-color: #1A1A2E;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #E94560;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-register__step-title {
  font-size: 1.5em;
  color: #E94560;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-description {
  font-size: 1em;
  color: #b0b0b0;
  line-height: 1.7;
}

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

.page-register__condition-item {
  background-color: #1A1A2E;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid #E94560;
}

.page-register__condition-title {
  font-size: 1.4em;
  color: #E94560;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__condition-description {
  font-size: 0.95em;
  color: #b0b0b0;
  line-height: 1.6;
}

.page-register__faq-container {
  margin: 40px 0;
}

.page-register__faq-item {
  background-color: #1A1A2E;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #E94560;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #E94560;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
}

.page-register__text-link {
  color: #E94560;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-register__text-link:hover {
  color: #ff7f50;
  text-decoration: underline;
}

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

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

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is below fixed header */
  }

  .page-register__hero-section {
    min-height: 450px;
    padding: 60px 15px;
  }

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

  .page-register__intro-text {
    font-size: 1.1em;
  }

  .page-register__cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }

  .page-register__content-area {
    padding: 40px 15px;
    gap: 40px;
  }

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

  .page-register__paragraph {
    font-size: 1em;
  }

  .page-register__steps-list,
  .page-register__conditions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__step-item,
  .page-register__condition-item {
    padding: 25px;
  }

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

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

  .page-register__faq-question::after {
    right: 20px;
  }

  .page-register__faq-answer {
    padding: 0 20px 18px;
  }

  /* Mobile image sizing to prevent overflow */
  .page-register__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Still maintain minimum display size */
    min-height: 200px; /* Still maintain minimum display size */
  }
}

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

  .page-register__intro-text {
    font-size: 0.95em;
  }

  .page-register__cta-button {
    width: 100%;
    box-sizing: border-box;
  }

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

  .page-register__paragraph {
    font-size: 0.9em;
  }
}