.page-register {
  color: #ffffff; /* Body background is dark, so text is light */
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

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

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 30px;
  border-radius: 10px;
  background: rgba(1, 116, 57, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  line-height: 1.6;
}

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

.page-register__section-title {
  font-size: 2.8em;
  color: #FFFF00;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-register__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-register__benefits-section {
  background: #1a1a2e;
}

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

.page-register__benefit-card {
  background: rgba(1, 116, 57, 0.7);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
  flex-grow: 1;
}

.page-register__guide-section {
  background: #1a1a2e;
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #017439;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 15px;
  background: #017439;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 15px;
}

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

.page-register__games-section {
  background: #1a1a2e;
}

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

.page-register__game-card {
  background: rgba(1, 116, 57, 0.7);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-register__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-register__game-title a {
  color: #FFFF00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__game-title a:hover {
  color: #ffffff;
}

.page-register__game-text {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.6;
  flex-grow: 1;
}

.page-register__promotions-section {
  background: #1a1a2e;
}

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

.page-register__promotion-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-register__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__promotion-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-register__promotion-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  flex-grow: 1;
}

.page-register__faq-section {
  background: #1a1a2e;
}

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.1);
  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: #017439;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

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

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

.page-register__cta-section {
  background: #017439;
  text-align: center;
  padding: 80px 20px;
}

.page-register__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__cta-title {
  font-size: 3em;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-register__cta-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

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

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

.page-register__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Custom font color for Register/Login buttons */
  border: 2px solid #FFFF00;
}

.page-register__btn-secondary:hover {
  background: #FFFF00;
  color: #C30808;
  border-color: #FFFF00;
}

.page-register__hero-content .page-register__btn-primary, 
.page-register__hero-content .page-register__btn-secondary {
    margin-top: 20px;
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    height: auto;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-content {
    padding: 20px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
  }
  .page-register__content-area {
    padding: 40px 15px;
  }
  .page-register__benefits-grid, .page-register__guide-steps, .page-register__games-grid, .page-register__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-register__benefit-card, .page-register__step-item, .page-register__game-card, .page-register__promotion-card {
    padding: 20px;
  }
  .page-register__benefit-icon, .page-register__game-image, .page-register__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  .page-register__cta-title {
    font-size: 2em;
  }
  .page-register__cta-description {
    font-size: 1em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px 0;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__benefits-grid,
  .page-register__guide-steps,
  .page-register__games-grid,
  .page-register__promotions-grid,
  .page-register__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-question h3 {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__faq-question h3 {
    font-size: 1em;
  }
}