/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero_register:1920x1080:online betting,registration,welcome bonus,ga kinh 79]') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-register__hero-content {
  flex: 1;
  max-width: 600px;
  margin-right: 40px;
  text-align: left;
}

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

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

.page-register__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

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

/* Benefits Section */
.page-register__benefits-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: #2a2a2a; /* Card background for dark theme */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-register__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__card-description {
  font-size: 1em;
  color: #cccccc;
}

/* Steps Section */
.page-register__steps-section {
  background-color: #017439; /* Brand color as dark background */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__step-item {
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent background for steps */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Highlight color for step number */
  margin-bottom: 15px;
}

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

.page-register__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-register__process-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-register__games-section {
  background-color: #121212;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__game-card {
  background-color: #2a2a2a; /* Card background for dark theme */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-register__game-card:hover {
  transform: translateY(-10px);
}

.page-register__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-register__game-card .page-register__card-title {
  padding: 15px 20px 0;
  font-size: 1.4em;
  color: #ffffff;
}

.page-register__game-card .page-register__card-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-register__game-card .page-register__card-title a:hover {
  color: #017439;
}

.page-register__game-card .page-register__card-description {
  padding: 0 20px 20px;
  color: #cccccc;
}

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

.page-register__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__promo-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-register__promo-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Security Section */
.page-register__security-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__security-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #017439;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__faq-item {
  background-color: rgba(0, 0, 0, 0.2);
  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: #017439; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  margin: 0;
  color: #ffffff;
}

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

.page-register__faq-item.active .page-register__faq-question .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-out, padding 0.3s ease-out;
  background-color: #2a2a2a; /* Answer background for dark theme */
  color: #cccccc;
}

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

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

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

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

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__hero-content {
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
  }
  .page-register__benefits-grid, .page-register__steps-grid, .page-register__games-grid, .page-register__security-grid, .page-register__promo-list {
    grid-template-columns: 1fr;
  }
  .page-register__game-image {
    height: 180px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  /* Mobile responsive for images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for video (if any) */
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Mobile responsive for buttons */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .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;
  }
  
  /* General content containers for mobile */
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-register__card-title {
    font-size: 1.3em;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__promo-title {
    font-size: 1.6em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px;
  }
  .page-register__cta-title {
    font-size: 2em;
  }
  .page-register__cta-description {
    font-size: 1em;
  }
}