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

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

.page-register__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background-color: #003366; /* Main brand color for hero */
  background-image: url('[GALLERY:hero:1920x1080:188bet,register_hero,online_betting_platform,dynamic_background]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-register__btn-primary {
  background-color: #FFD700; /* Gold accent button */
  color: #003366; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
  margin: 10px;
}

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

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #FFD700;
  margin: 10px;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-register__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-register__introduction-section,
.page-register__steps-section,
.page-register__support-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-register__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold accent for section titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-register__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-register__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-register__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-register__text-block a:hover {
  color: #e6c200;
}

.page-register__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
}

.page-register__image--center {
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__feature-card,
.page-register__management-item,
.page-register__product-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background for cards */
  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;
  color: #ffffff;
}

.page-register__feature-card:hover,
.page-register__management-item:hover,
.page-register__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-register__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__card-title a:hover {
  text-decoration: underline;
}

.page-register__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-register__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  flex-shrink: 0;
  line-height: 1;
}

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

.page-register__step-description {
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-register__verification-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-register__verification-text {
  flex: 1;
  min-width: 300px;
}

.page-register__verification-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-register__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-register__list li strong {
  color: #FFD700;
}

.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #003366;
  color: #ffffff;
}

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

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-register__faq-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__faq-title a:hover {
  text-decoration: underline;
}

.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: #e0e0e0;
}

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

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

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

  .page-register__section-title {
    font-size: 2em;
  }
}

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

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-register__hero-description {
    font-size: 1.1em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__sub-title {
    font-size: 1.5em;
  }

  .page-register__text-block,
  .page-register__card-text,
  .page-register__step-description,
  .page-register__list li,
  .page-register__faq-answer p {
    font-size: 1em;
  }

  .page-register__features-grid,
  .page-register__management-grid,
  .page-register__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-register__step-number {
    margin-bottom: 15px;
  }

  .page-register__verification-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-register__verification-text,
  .page-register__verification-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure containers with images/videos/buttons adapt */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__introduction-section,
  .page-register__why-section,
  .page-register__steps-section,
  .page-register__verification-section,
  .page-register__management-section,
  .page-register__products-section,
  .page-register__support-section,
  .page-register__faq-section,
  .page-register__cta-final-section,
  .page-register__feature-card,
  .page-register__management-item,
  .page-register__product-card,
  .page-register__step-item,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .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;
    margin: 10px 0 !important; /* Adjust margin for stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* FAQ specific mobile adjustments */
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

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

}

/* Ensure content area images are at least 200x200px */
.page-register__image,
.page-register__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* Keyword styling for emphasis, optional */
.keyword {
  color: #FFD700;
  font-weight: bold;
}