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

.page-promo__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promo__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promo__button {
  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, color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border-color: #FCBC45;
}

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

.page-promo__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
  border-color: #FFFFFF;
}

.page-promo__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-promo__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
  padding-top: 60px;
}

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

.page-promo__why-tg777 {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.page-promo__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promo__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promo__feature-image {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

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

.page-promo__promo-types {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-promo__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promo__promo-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__promo-image {
  width: 100%;
  max-width: 800px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promo__promo-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-promo__promo-card-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-promo__button--small:hover {
  background-color: #e0a53a;
}

.page-promo__how-to-claim {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.page-promo__claim-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

.page-promo__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  flex: 1 1 calc(50% - 30px);
  min-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promo__step-number {
  background-color: #000000;
  color: #FCBC45;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-promo__step-text {
  font-size: 1em;
  color: #555555;
}

.page-promo__claim-image {
  width: 100%;
  max-width: 1000px; /* Ensure images are not too small */
  height: auto;
  display: block;
  margin: 40px auto 60px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-promo__cta-claim {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #e0e0e0;
  border-radius: 10px;
}

.page-promo__cta-claim-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-promo__cta-claim-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.page-promo__safety-security {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-promo__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promo__security-image {
  flex: 1 1 40%;
  min-width: 300px; /* Ensure images are not too small */
  max-width: 800px; /* Ensure images are not too small */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-promo__security-text {
  flex: 1 1 50%;
  min-width: 300px;
  font-size: 1.05em;
  color: #333333;
}

.page-promo__security-text p {
  margin-bottom: 15px;
}

.page-promo__faq-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.page-promo__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-promo__faq-question {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: #1a1a1a;
}

.page-promo__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promo__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promo__faq-answer {
  padding: 0 25px;
  background-color: #FFFFFF;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promo__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-promo__cta-bottom {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
}

.page-promo__cta-bottom .page-promo__section-title {
  color: #FFFFFF;
}

.page-promo__cta-bottom .page-promo__section-description {
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding: 60px 20px;
  }

  .page-promo__hero-title {
    font-size: 2.5em;
  }

  .page-promo__hero-description {
    font-size: 1em;
  }

  .page-promo__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__button {
    width: 80%;
    max-width: 300px;
  }

  .page-promo__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promo__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-promo__features-grid,
  .page-promo__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promo__feature-card,
  .page-promo__promo-card,
  .page-promo__step-item {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-promo__security-content {
    flex-direction: column;
  }

  .page-promo__security-image,
  .page-promo__security-text {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-promo__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promo__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all images within .page-promo are responsive and don't overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Content area must not cause horizontal scroll */
  .page-promo {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 2em;
  }

  .page-promo__section-title {
    font-size: 1.6em;
  }

  .page-promo__button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-promo__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

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

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

/* Image size constraint checks (minimum 200px) */
.page-promo img:not([class*="__hero-image"]):not([class*="__claim-image"]):not([class*="__security-image"]):not([class*="__feature-image"]):not([class*="__promo-image"]) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific image dimensions for content areas */
.page-promo__feature-image {
  width: 100%;
  max-width: 600px;
  height: 400px; /* Example fixed height for consistency in grid */
}

.page-promo__promo-image {
  width: 100%;
  max-width: 800px;
  height: 600px; /* Example fixed height for consistency in grid */
}

.page-promo__claim-image {
  width: 100%;
  max-width: 1000px;
  height: 750px;
}

.page-promo__security-image {
  width: 100%;
  max-width: 800px;
  height: 600px;
}

/* Ensure no filter properties are used on images */
.page-promo img {
  filter: none !important; /* Override any potential shared filters */
}