.page-register {
  color: #333333; /* Default text color for light body background */
  background-color: var(--color-secondary, #ffffff); /* Ensure content area uses appropriate background */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero for contrast */
  color: #ffffff;
  position: relative;
  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;
  opacity: 0.3;
}

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

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-register__button--register {
  background-color: #ffffff; /* Register button uses white as per instructions */
  color: #000000;
  border: 2px solid #ffffff;
}

.page-register__button--register:hover {
  background-color: transparent;
  color: #ffffff;
}

.page-register__button--login {
  background-color: #FCBC45; /* Login button uses FCBC45 as per instructions */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-register__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-register__section-padding {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-register__value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.page-register__value-item:hover {
  transform: translateY(-10px);
}

.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.5em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-register__steps-container {
  margin-top: 50px;
}

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

.page-register__step-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-register__step-item:last-child {
  margin-bottom: 0;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-register__step-item--reverse {
  flex-direction: row-reverse;
}

.page-register__step-item--reverse::before {
  margin-left: 20px;
  margin-right: 0;
}

.page-register__step-content {
  flex: 1;
}

.page-register__step-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-register__step-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-register__conditions-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.page-register__conditions-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-register__conditions-text p {
  font-size: 1em;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 20px;
}

.page-register__conditions-text ul {
  list-style: none;
  padding: 0;
  margin-left: 20px;
}

.page-register__conditions-text ul li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #444444;
}

.page-register__conditions-text ul li::before {
  content: '✓';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-register__conditions-text ul li strong {
  color: #000000;
}

.page-register__faq-container {
  margin-top: 50px;
}

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px 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.1em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45;
}

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

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #eee;
}

.page-register__faq-item:not([open]) .page-register__faq-answer {
  border-top: none;
}

.page-register__cta-section {
  text-align: center;
  background-color: #000000; /* Dark background for CTA */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 50px auto;
}

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

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

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

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

  .page-register__step-item--reverse {
    flex-direction: column;
  }

  .page-register__step-item::before,
  .page-register__step-item--reverse::before {
    margin: 0 0 20px 0;
  }

  .page-register__conditions-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

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

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

  .page-register__button {
    width: 80%;
    max-width: 300px;
  }

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

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

  .page-register__value-item {
    padding: 25px;
  }

  .page-register__value-heading {
    font-size: 1.3em;
  }

  .page-register__step-item {
    gap: 20px;
  }

  .page-register__step-image {
    max-width: 100%;
  }

  .page-register__conditions-image {
    max-width: 100%;
  }

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

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

  .page-register__cta-section {
    padding: 60px 15px;
  }

  .page-register__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Mobile content area images must not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }

  .page-register {
    overflow-x: hidden;
  }
}

/* Ensure all content area images are at least 200px wide/high */
.page-register img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-register img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size even on mobile */
    min-height: 200px;
  }
}

/* No filter properties for images */
.page-register img {
  filter: none; /* Explicitly remove any potential filter */
}

.page-register__hero-image {
  filter: brightness(0.5) grayscale(0.2); /* Subtle filter for background image only, not color change */
}