/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text color for dark body background */
  background-color: transparent; /* Inherit body background */
}

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Brand color gradient */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header, as per common fragment */
}

.page-register__hero-content {
  text-align: center;
  max-width: 700px;
  margin-bottom: 40px;
}

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

.page-register__description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-register__hero-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

/* General Section Styles */
.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #666; /* Darker text for intros on light backgrounds */
}

/* Dark Background Sections */
.page-register__dark-section {
  background-color: var(--dark-bg-1); /* Use shared dark background variable */
  padding: 80px 0;
  color: #f0f0f0;
}

.page-register__dark-section .page-register__section-title {
  color: #ffffff; /* White titles on dark background */
}

.page-register__dark-section .page-register__section-intro {
  color: #cccccc; /* Lighter text for intros on dark backgrounds */
}

.page-register__dark-bg {
  background-color: #26A9E0; /* Use brand color for specific dark backgrounds */
  padding: 80px 0;
  color: #ffffff;
}

.page-register__dark-bg .page-register__section-title {
  color: #ffffff;
}

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

/* Why FB88 Section */
.page-register__why-fb88-section {
  padding: 80px 0;
}

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

.page-register__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

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

.page-register__feature-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for feature titles */
}

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

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for steps */
  color: #333333; /* Dark text for light background */
}

.page-register__steps-section .page-register__section-title,
.page-register__steps-section .page-register__section-intro {
  color: #333333;
}

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

.page-register__step-card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-register__step-description {
  font-size: 0.95em;
  color: #555555;
}

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

.page-register__steps-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Benefits Odds Section */
.page-register__benefits-odds-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1); /* Dark background */
  color: #f0f0f0;
}

.page-register__benefits-odds-section .page-register__section-title {
  color: #ffffff;
}

.page-register__benefits-odds-section .page-register__section-intro {
  color: #cccccc;
}

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

.page-register__benefit-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-register__benefit-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color */
}

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

/* Video Section */
.page-register__video-section {
  position: relative;
  padding: 80px 0;
  background-color: var(--dark-bg-1); /* Dark background */
  color: #f0f0f0;
}

.page-register__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  display: block; /* Ensure it respects max-width: 100% on mobile */
}

.page-register__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

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

.page-register__faq-section .page-register__section-title,
.page-register__faq-section .page-register__section-intro {
  color: #333333;
}