.page-register-login {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-register-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register-login__hero {
  background: linear-gradient(135deg, #CC0000 0%, #FFCC00 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff; /* Ensure high contrast */
}

.page-register-login__hero-title .highlight {
  color: #FFCC00; /* Highlight keywords with auxiliary color */
}

.page-register-login__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #eee;
}

.page-register-login__hero-actions .page-register-login__btn {
  margin: 0 15px;
}

.page-register-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-register-login__btn--primary {
  background-color: #CC0000; /* Main brand color */
  color: #fff; /* High contrast for text */
}

.page-register-login__btn--primary:hover {
  background-color: #a30000;
  transform: translateY(-2px);
}

.page-register-login__btn--secondary {
  background-color: #FFCC00; /* Auxiliary brand color */
  color: #333; /* Dark text for light background */
}

.page-register-login__btn--secondary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-register-login__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-register-login__section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-register-login__section:nth-of-type(even) {
  background-color: #fff;
}

.page-register-login__section-title {
  font-size: 2.5em;
  color: #CC0000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-register-login__section-title .highlight {
  color: #FFCC00;
}

.page-register-login__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

.page-register-login__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* Why W88 Section */
.page-register-login__why-w88 {
  background-color: #fff;
}

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

.page-register-login__feature-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-register-login__feature-item:hover {
  transform: translateY(-5px);
}

.page-register-login__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-register-login__feature-item h3 {
  font-size: 1.5em;
  color: #CC0000;
  margin-bottom: 15px;
}

.page-register-login__feature-item p {
  color: #666;
  font-size: 0.95em;
}

/* Guide Steps Section */
.page-register-login__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-register-login__step-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register-login__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #CC0000;
  color: #fff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register-login__step-item h3 {
  font-size: 1.6em;
  color: #CC0000;
  margin-bottom: 15px;
}

.page-register-login__step-item p {
  color: #666;
  margin-bottom: 20px;
}

.page-register-login__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register-login__tip {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 15px 20px;
  margin-top: 40px;
  border-radius: 5px;
  color: #664d03;
  font-size: 0.95em;
}

.page-register-login__tip strong {
  color: #333;
}

/* App Download Section */
.page-register-login__app-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-register-login__app-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  width: 280px;
}

.page-register-login__app-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-register-login__app-item h3 {
  font-size: 1.6em;
  color: #CC0000;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-register-login__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register-login__promo-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
}

.page-register-login__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-register-login__promo-item h3 {
  font-size: 1.5em;
  color: #CC0000;
  margin: 20px 15px 10px;
}

.page-register-login__promo-item p {
  color: #666;
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-register-login__promo-item .page-register-login__btn {
  margin-bottom: 20px;
}

/* FAQ Section */
.page-register-login__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register-login__faq-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register-login__faq-question {
  font-size: 1.2em;
  color: #333;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-register-login__faq-question:hover {
  background-color: #e0e0e0;
}

.page-register-login__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #CC0000;
  transition: transform 0.3s ease;
}

.page-register-login__faq-item.active .page-register-login__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-register-login__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-register-login__faq-item.active .page-register-login__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-register-login__faq-answer p {
  color: #555;
  margin-bottom: 15px;
}

.page-register-login__faq-answer .page-register-login__btn {
  margin-top: 10px;
}

/* Related Pages Section */
.page-register-login__related-pages {
  background-color: #f0f0f0;
}

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

.page-register-login__detail-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease;
}

.page-register-login__detail-item:hover {
  transform: translateY(-5px);
}

.page-register-login__detail-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-register-login__detail-item h3 a {
  color: #CC0000;
  text-decoration: none;
}

.page-register-login__detail-item h3 a:hover {
  text-decoration: underline;
}

.page-register-login__detail-item p {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* Final CTA Section */
.page-register-login__final-cta {
  background-color: #CC0000;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-register-login__final-cta .page-register-login__section-title {
  color: #fff;
}

.page-register-login__final-cta .page-register-login__section-intro {
  color: #eee;
}

.page-register-login__final-actions .page-register-login__btn {
  margin: 0 15px;
}

.page-register-login__final-actions .page-register-login__btn--primary {
  background-color: #FFCC00;
  color: #333;
}

.page-register-login__final-actions .page-register-login__btn--primary:hover {
  background-color: #e6b800;
}

.page-register-login__final-actions .page-register-login__btn--secondary {
  background-color: #fff;
  color: #CC0000;
  border: 2px solid #CC0000;
}

.page-register-login__final-actions .page-register-login__btn--secondary:hover {
  background-color: #f0f0f0;
  color: #a30000;
  border-color: #a30000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register-login__hero-title {
    font-size: 2.8em;
  }
  .page-register-login__section-title {
    font-size: 2em;
  }
  .page-register-login__features, .page-register-login__guide-steps, .page-register-login__promo-grid, .page-register-login__detail-list {
    grid-template-columns: 1fr;
  }
  .page-register-login__app-options {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .page-register-login__hero {
    padding: 80px 0;
  }
  .page-register-login__hero-title {
    font-size: 2.2em;
  }
  .page-register-login__hero-description {
    font-size: 1em;
  }
  .page-register-login__hero-actions, .page-register-login__final-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-register-login__hero-actions .page-register-login__btn, .page-register-login__final-actions .page-register-login__btn {
    margin: 0;
    width: 100%;
  }
  .page-register-login__section {
    padding: 40px 0;
  }
  .page-register-login__section-title {
    font-size: 1.8em;
  }
  .page-register-login__section-intro {
    font-size: 0.95em;
  }
  .page-register-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register-login__faq-question::after {
    right: 20px;
  }
  .page-register-login__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register-login__hero-title {
    font-size: 1.8em;
  }
  .page-register-login__section-title {
    font-size: 1.5em;
  }
  .page-register-login__feature-item h3, .page-register-login__step-item h3, .page-register-login__app-item h3, .page-register-login__promo-item h3, .page-register-login__detail-item h3 {
    font-size: 1.3em;
  }
  .page-register-login__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
}