/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-promo__hero-section {
  background: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FCBC45; /* Highlight title with accent color */
}

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

.page-promo__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

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

.page-promo__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-promo__button--register:hover {
  background-color: #f0f0f0;
  color: #333333;
}

.page-promo__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__button--login:hover {
  background-color: #e0a53b;
  color: #000000;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  max-width: 1200px; /* Ensure image doesn't overflow */
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-promo__why-x777apk-promo-section,
.page-promo__types-section,
.page-promo__how-to-claim-section,
.page-promo__terms-section,
.page-promo__mobile-section,
.page-promo__faq-section,
.page-promo__cta-final-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-promo__section-intro {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-promo__features-grid,
.page-promo__promo-cards-grid,
.page-promo__faq-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-promo__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-promo__feature-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-promo__feature-card:hover {
  transform: translateY(-5px);
}

.page-promo__feature-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-promo__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-promo__promo-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-promo__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
}

.page-promo__promo-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promo__promo-card-title {
  font-size: 1.6em;
  color: #000000;
  padding: 20px 25px 10px;
  margin: 0;
}

.page-promo__promo-card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-promo__button--claim,
.page-promo__button--more-info,
.page-promo__button--download {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  margin: 0 25px 25px;
  text-align: center;
  border-radius: 8px;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-promo__button--claim:hover,
.page-promo__button--more-info:hover,
.page-promo__button--download:hover {
  background-color: #e0a53b;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promo__step-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.page-promo__step-description {
  font-size: 1.05em;
  color: #555555;
}

.page-promo__step-description a {
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
}

.page-promo__step-description a:hover {
  color: #FCBC45;
}

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

.page-promo__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-promo__button--primary:hover {
  background-color: #333333;
}

.page-promo__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promo__terms-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-promo__terms-item strong {
  color: #000000;
}

.page-promo__terms-outro a {
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
}

.page-promo__terms-outro a:hover {
  color: #FCBC45;
}

.page-promo__mobile-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

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

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

.page-promo__mobile-text-content .page-promo__section-title {
  color: #FCBC45;
  text-align: left;
}

.page-promo__mobile-text-content .page-promo__section-intro {
  color: #f0f0f0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-promo__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 250px;
}

.page-promo__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  width: 400px; /* HTML width attribute */
  height: 500px; /* HTML height attribute */
  object-fit: cover;
}

.page-promo__download-guide a {
  color: #FCBC45;
  font-weight: bold;
  text-decoration: underline;
}

.page-promo__download-guide a:hover {
  color: #FFFFFF;
}

.page-promo__faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-promo__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-promo__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-promo__faq-answer a {
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
}

.page-promo__faq-answer a:hover {
  color: #FCBC45;
}

.page-promo__cta-final-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-promo__cta-final-content .page-promo__section-title {
  color: #FCBC45;
}

.page-promo__cta-final-content .page-promo__section-intro {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-promo__button--large {
  font-size: 1.3em;
  padding: 20px 40px;
  margin: 0 15px;
}

.page-promo__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
}

.page-promo__button--secondary:hover {
  background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.8em;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-promo__hero-section {
    padding: 60px 15px 30px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-intro {
    font-size: 1em;
  }
  .page-promo__container {
    padding: 0 15px;
  }
  .page-promo__features-grid,
  .page-promo__promo-cards-grid,
  .page-promo__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-promo__mobile-content {
    flex-direction: column;
  }
  .page-promo__mobile-text-content,
  .page-promo__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-promo__mobile-text-content .page-promo__section-title {
    text-align: center;
  }
  .page-promo__mobile-text-content .page-promo__section-intro {
    text-align: center;
  }
  .page-promo__mobile-image {
    width: 300px; /* smaller fixed width for mobile display */
    height: 375px; /* maintain aspect ratio */
    max-width: 100%;
    height: auto;
  }
  .page-promo__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
    margin: 10px auto;
    width: 80%;
  }
  /* Enforce image sizing for mobile to prevent overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promo__promo-card-title {
    font-size: 1.4em;
  }
  .page-promo__step-title {
    font-size: 1.4em;
  }
  .page-promo__faq-question {
    font-size: 1.2em;
  }
}