/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
  line-height: 1.6;
}

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

.page-register__hero-section {
  position: relative;
  background: linear-gradient(135deg, #017439, #004d27); /* Brand color gradient */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-content {
  max-width: 900px;
  z-index: 2;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #ffffff;
}

.page-register__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-register__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
  background-color: #FFFF00;
  color: #017439; /* Brand color */
  transform: translateY(-2px);
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-register__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #017439; /* Brand color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-register__section-description {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-register__benefits-section,
.page-register__guide-section,
.page-register__security-section,
.page-register__promotions-section,
.page-register__games-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for sections */
  color: #ffffff;
}

.page-register__benefits-grid,
.page-register__steps-grid,
.page-register__security-features,
.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__benefit-card,
.page-register__step-item,
.page-register__promotion-card,
.page-register__game-card {
  background-color: #2a2a2a; /* Slightly lighter dark background for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-card:hover,
.page-register__promotion-card:hover,
.page-register__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__benefit-icon,
.page-register__promotion-image,
.page-register__promotion-icon,
.page-register__game-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-register__card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for titles */
  margin-bottom: 15px;
}

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

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

.page-register__step-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for titles */
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__security-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-register__feature-item {
  background-color: #2a2a2a;
  border-left: 5px solid #017439; /* Brand color accent */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for titles */
  margin-bottom: 10px;
}

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

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

.page-register__card-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFFF00; /* Custom font color for links */
  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__card-link:hover {
  color: #017439; /* Brand color on hover */
  border-color: #017439;
}

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

.page-register__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for FAQ questions */
  cursor: pointer;
  background-color: #3a3a3a;
  border-bottom: 1px solid #4a4a4a;
}

.page-register__faq-question:hover {
  background-color: #4a4a4a;
}

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

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

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

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

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

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
}

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

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

  .page-register__hero-section {
    padding: 60px 20px;
    min-height: 500px;
  }

  .page-register__hero-title {
    font-size: 2.2em;
    color: #FFFF00;
  }

  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-register__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

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

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__security-features,
  .page-register__promotions-grid,
  .page-register__games-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__promotion-card,
  .page-register__game-card {
    padding: 25px;
  }

  .page-register__card-title,
  .page-register__step-title,
  .page-register__feature-title {
    font-size: 1.5em;
  }

  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  .page-register__security-image {
    max-height: 300px;
  }

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

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

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

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

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

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-image-wrapper,
  .page-register__container,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__security-section,
  .page-register__promotions-section,
  .page-register__games-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile hero */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}