.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__intro-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

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

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

.page-register__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-register__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-register__dark-bg .page-register__section-title {
  color: #ffffff;
}

.page-register__light-bg .page-register__section-title {
  color: #26A9E0;
}

.page-register__section-description {
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
  background-color: #d46b00;
  border-color: #d46b00;
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7ea5;
  border-color: #1a7ea5;
}

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

.page-register__feature-card,
.page-register__step-card,
.page-register__promo-card,
.page-register__game-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #333333;
}

.page-register__dark-bg .page-register__feature-card,
.page-register__dark-bg .page-register__step-card,
.page-register__dark-bg .page-register__promo-card,
.page-register__dark-bg .page-register__game-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__dark-bg .page-register__feature-title,
.page-register__dark-bg .page-register__step-title,
.page-register__dark-bg .page-register__promo-title,
.page-register__dark-bg .page-register__game-title {
  color: #ffffff;
}

.page-register__feature-icon,
.page-register__promo-image,
.page-register__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__step-number {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__feature-title,
.page-register__step-title,
.page-register__promo-title,
.page-register__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #26A9E0;
}

.page-register__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__game-title a:hover {
  text-decoration: underline;
}

.page-register__verification-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-register__verification-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-register__verification-text {
  flex: 1 1 400px;
}

.page-register__verification-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-register__support-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
  color: #ffffff;
}

.page-register__support-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-register__support-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__support-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-register__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-color: #ffffff; /* Icon color */
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.page-register__icon--chat {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}

.page-register__icon--phone {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.32.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.75-.25 1.02l-2.2 2.2z"/></svg>');
}

.page-register__icon--email {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.page-register__icon--faq {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.35 1.72-.93 2.35z"/></svg>');
}

.page-register__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-register__dark-bg .page-register__faq-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  border-bottom: 1px solid #e0e0e0;
}

.page-register__dark-bg .page-register__faq-question {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: 1px solid #ddd;
}

.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: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-register__dark-bg .page-register__faq-answer {
  color: #e0e0e0;
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already has padding-top */
  }

  .page-register__hero-content {
    padding: 15px;
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

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

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-register__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-register__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__promotions-grid,
  .page-register__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__feature-card,
  .page-register__step-card,
  .page-register__promo-card,
  .page-register__game-card {
    padding: 20px;
  }

  .page-register__verification-content,
  .page-register__support-info {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__verification-image,
  .page-register__support-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-register__container,
  .page-register__hero-image-wrapper,
  .page-register__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-register__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}

/* Ensure all images in content area are at least 200px wide for desktop */
.page-register__feature-icon, 
.page-register__promo-image, 
.page-register__game-image, 
.page-register__verification-image, 
.page-register__support-image {
  min-width: 200px;
  min-height: 200px;
}

/* General image sizing for content images */
.page-register__section img:not(.page-register__hero-image) {
  width: 100%;
  height: auto;
  object-fit: cover;
}