.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css, ensures contrast */
}

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

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

.page-register__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  background-color: #017439; /* Brand color for hero */
  color: #ffffff;
}

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

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

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

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

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

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  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 color for register */
  color: #FFFF00; /* Custom font color for register */
  border: 2px solid #C30808;
}

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

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

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

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Body background */
  color: #ffffff; /* Light text on dark background */
  position: relative;
  overflow: hidden;
}

.page-register__why-join-section .page-register__section-title,
.page-register__why-join-section .page-register__section-description {
  color: #ffffff;
}

.page-register__why-join-image {
  position: absolute;
  bottom: 0;
  right: -50px;
  opacity: 0.1;
  z-index: 0;
  width: 800px;
  height: 500px;
  object-fit: contain;
}

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

.page-register__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__feature-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-register__steps-section .page-register__section-title,
.page-register__steps-section .page-register__section-description {
  color: #ffffff;
}

.page-register__steps-image {
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 0;
  width: 800px;
  height: 600px;
  object-fit: contain;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFFF00; /* Custom color */
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Games Overview Section */
.page-register__games-overview-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Body background */
  color: #ffffff; /* Light text on dark background */
  position: relative;
  overflow: hidden;
}

.page-register__games-overview-section .page-register__section-title,
.page-register__games-overview-section .page-register__section-description {
  color: #ffffff;
}

.page-register__games-image {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 0;
  width: 1000px;
  height: 750px;
  object-fit: contain;
}

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

.page-register__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__game-title {
  font-size: 1.6rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__game-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-register__game-link {
  display: inline-block;
  color: #FFFF00; /* Custom color */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFFF00;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__game-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-register__promotions-section .page-register__section-title,
.page-register__promotions-section .page-register__section-description {
  color: #ffffff;
}

.page-register__promo-image {
  position: absolute;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 0;
  width: 600px;
  height: 400px;
  object-fit: contain;
}

.page-register__promo-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 450px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__promo-title {
  font-size: 1.8rem;
  color: #FFFF00; /* Custom color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__promo-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Body background */
  color: #ffffff; /* Light text on dark background */
}

.page-register__faq-section .page-register__section-title,
.page-register__faq-section .page-register__section-description {
  color: #ffffff;
}

.page-register__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #2a2a2a;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
}

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

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

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

/* Images */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-register__hero-title {
    font-size: 2.2rem;
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__section-title {
    font-size: 1.8rem;
  }
  .page-register__section-description {
    font-size: 0.95rem;
  }
  .page-register__feature-item,
  .page-register__step-item,
  .page-register__game-card,
  .page-register__promo-card {
    padding: 25px;
  }
  .page-register__why-join-image,
  .page-register__steps-image,
  .page-register__games-image,
  .page-register__promo-image {
    display: none;
  }
  .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-cta-buttons,
  .page-register__cta-buttons,
  .page-register__promo-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-title {
    font-size: 1.1rem;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8rem;
  }
  .page-register__hero-description {
    font-size: 0.9rem;
  }
  .page-register__section-title {
    font-size: 1.5rem;
  }
  .page-register__feature-title,
  .page-register__step-title,
  .page-register__game-title,
  .page-register__promo-title {
    font-size: 1.3rem;
  }
  .page-register__step-number {
    font-size: 2rem;
  }
}