.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  background-color: #017439; /* Fallback for image loading */
}

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

.page-register__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom font color for register/login */
}

.page-register__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

.page-register__btn-primary {
  background-color: #C30808; /* Custom register color */
  color: #FFFF00; /* Custom register font color */
  border: 2px solid #C30808;
}

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

.page-register__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-register__btn-primary--large,
.page-register__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-register__section-spacing {
  padding: 60px 0;
}

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

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-register__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-register__section-title--light {
  color: #FFFF00; /* Custom font color for register/login */
}

.page-register__section-description--light {
  color: #FFFFFF;
}

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

.page-register__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-register__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-register__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-register__feature-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.page-register__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #FFFFFF;
  box-sizing: border-box;
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFFF00; /* Custom font color for register/login */
  color: #017439;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom font color for register/login */
}

.page-register__step-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

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

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

.page-register__security-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-register__security-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-register__security-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-register__security-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.page-register__security-footer {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  text-align: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-register__category-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-register__category-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-register__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-register__category-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  padding: 15px 20px 10px;
}

.page-register__category-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-register__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom font color for register/login */
}

.page-register__promo-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #FFFF00; /* Custom font color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.page-register__btn-outline:hover {
  background-color: #FFFF00; /* Custom font color for register/login */
  color: #017439;
}

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

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-item[open] .page-register__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-register__faq-answer p {
  margin: 0;
}

.page-register__final-cta {
  background-color: #f5f5f5;
}

.page-register__cta-buttons--center {
  margin-top: 40px;
}

/* --- General Image & Container Responsive Styles --- */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-register__section,
.page-register__card,
.page-register__container,
.page-register__hero-section,
.page-register__why-register,
.page-register__steps-section,
.page-register__security-section,
.page-register__games-preview,
.page-register__promotions-section,
.page-register__faq-section,
.page-register__final-cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

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

  .page-register__main-title {
    font-size: 2rem;
  }

  .page-register__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-outline,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for CTA buttons */
  }

  .page-register__section-spacing {
    padding: 40px 0;
  }

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-register__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-register__features-grid,
  .page-register__step-list,
  .page-register__security-grid,
  .page-register__game-categories,
  .page-register__promo-cards {
    grid-template-columns: 1fr; /* Single column layout for most grids */
    gap: 20px;
  }

  .page-register__feature-icon,
  .page-register__security-image,
  .page-register__category-image,
  .page-register__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-register__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }

  /* General image and container rules for mobile */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__why-register,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__games-preview,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

/* No specific long text gold border area (__home-content) in this page, so no mobile rule for it */
/* No game carousel (__slider-track) in this page, so no mobile rule for it */
/* No partner grid (__banners-top-wrapper) in this page, so no mobile rule for it */
/* No blog masonry (__blog-masonry) or blog slider (__blog-slider-track) in this page, so no mobile rule for it */