.page-register {
  color: #333333; /* Default text color for light body background */
}

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  min-height: 600px; /* Minimum height for hero section */
  text-align: center;
  background-color: #000000; /* Dark background for the hero section */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
}

.page-register__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF; /* Light text color for dark hero background */
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FCBC45; /* Highlight title with accent color */
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA button */
  color: #000000; /* Dark text for accent button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-register__value-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

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

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

.page-register__feature-icon {
  width: 250px; /* Min 200px */
  height: 200px; /* Min 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-register__feature-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

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

.page-register__steps-section {
  background-color: #F0F0F0;
  padding: 60px 0;
}

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 800px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-register__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 5px;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-register__steps-image {
  display: block;
  margin: 50px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__conditions-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 50px auto;
}

.page-register__condition-item {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

.page-register__condition-item strong {
  color: #000000;
}

.page-register__responsible-gaming-text {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-top: 40px;
}

.page-register__responsible-gaming-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-register__responsible-gaming-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-register__faq-section {
  background-color: #F0F0F0;
  padding: 60px 0;
}

.page-register__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}

.page-register__faq-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  justify-self: center;
}

.page-register__faq-items {
  width: 100%;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #FCBC45; /* Accent color for FAQ questions */
  color: #000000; /* Dark text for accent background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #FFFFFF;
}

.page-register__cta-final-section {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
}

.page-register__cta-final-content {
  color: #FFFFFF;
}

.page-register__cta-final-content .page-register__section-title {
  color: #FCBC45;
  margin-bottom: 25px;
}

.page-register__cta-final-content .page-register__section-description {
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 1.4em;
  border-radius: 10px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-register__faq-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
  .page-register__faq-image {
    position: sticky;
    top: calc(var(--header-offset, 120px) + 20px); /* Adjust based on header height */
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-register__features-grid {
    grid-template-columns: 1fr;
  }

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

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

  .page-register__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure content area images do not overflow */
  .page-register__hero-image,
  .page-register__feature-icon,
  .page-register__steps-image,
  .page-register__faq-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-register__content-area {
    padding: 20px 15px;
  }
  
  .page-register {
    overflow-x: hidden;
  }
}

/* Global image sizing for content area - ensure no small images */
.page-register img:not(.shared-header img):not(.shared-footer img) {
  min-width: 200px;
  min-height: 200px;
  /* Further responsive adjustments for images in content area */
  /* If an image's HTML width/height is larger than 200px, CSS should not shrink it below that. */
  /* Example: if HTML is width="400" height="300", CSS should not set */
}

.page-register__feature-icon,
.page-register__steps-image,
.page-register__faq-image {
  width: auto; /* Allow natural sizing or max-width */
  height: auto; /* Maintain aspect ratio */
}