/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8;
}

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  color: #ffffff; /* White text for hero section */
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
}

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

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__cta-button--centered {
  display: block;
  margin: 40px auto;
  max-width: fit-content;
}

.page-register__cta-button--large {
  padding: 20px 40px;
  font-size: 1.3em;
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep red for section titles */
  text-align: center;
  margin-bottom: 25px;
  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: #FFD700; /* Gold underline */
  border-radius: 2px;
}

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

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

.page-register__value-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__value-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__value-heading {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-register__value-text {
  font-size: 1em;
  color: #666666;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.page-register__steps-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-register__step-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700; /* Gold border */
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #8B0000; /* Deep red counter background */
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
  padding-left: 30px; /* Space for counter */
}

.page-register__step-text {
  font-size: 1em;
  color: #666666;
  padding-left: 30px;
}

.page-register__rules-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-register__rule-item {
  background-color: #ffffff;
  border-left: 5px solid #8B0000; /* Deep red border */
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-register__rule-heading {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-register__rule-text {
  font-size: 1em;
  color: #666666;
}

.page-register__rules-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-register__faq-container {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #8B0000; /* Deep red for FAQ question */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #fffaf0; /* Light gold tint on hover */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  color: #FFD700; /* Gold plus/minus sign */
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an 'x' or minus */
}

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

.page-register__faq-answer p, .page-register__faq-answer ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-register__faq-answer ul {
  list-style-type: disc;
  padding-left: 20px;
}

.page-register__faq-answer li {
  margin-bottom: 5px;
}

.page-register__faq-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-register__cta-final-section {
  background-color: #8B0000; /* Deep red background for final CTA */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-register__cta-final-section .page-register__section-title {
  color: #FFD700; /* Gold title on deep red background */
}

.page-register__cta-final-section .page-register__section-title::after {
  background-color: #ffffff;
}

.page-register__cta-final-section .page-register__section-description {
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-register__steps-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-heading {
    font-size: 1.2em;
  }
  .page-register__rule-heading {
    font-size: 1.2em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-toggle {
    font-size: 1.2em;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-register__hero-section .page-register__hero-image,
  .page-register__value-item .page-register__value-icon,
  .page-register__steps-image,
  .page-register__rules-image,
  .page-register__faq-image {
    max-width: 100%;
    height: auto;
  }
  /* Enforce min-width for content images to prevent small icons, for selected img */
  .page-register img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-register__step-item::before {
    width: 40px;
    height: 40px;
    font-size: 1.1em;
    left: -20px;
  }
  .page-register__step-heading {
    padding-left: 25px;
  }
  .page-register__step-text {
    padding-left: 25px;
  }
}

/* Global rule for images within .page-register to ensure minimum display size */
/* This is a safety net to prevent any image from being rendered too small in the content area */
.page-register img {
  min-width: 200px;
  min-height: 200px;
}