/* style/promotions.css */

/* Base styles for page-promotions */
.page-promotions {
  color: var(--text-main);
  background-color: var(--background-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__section {
  padding: 60px 0;
}

.page-promotions__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__section-description,
.page-promotions__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles --header-offset, so only small top padding here */
  position: relative;
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 40px;
}

.page-promotions__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  color: var(--text-main);
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--border-color);
  color: #ffffff;
}

/* Why Choose Section */
.page-promotions__why-choose {
  background-color: var(--background-color);
  color: var(--text-main);
}

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

.page-promotions__feature-item {
  text-align: center;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  color: var(--text-secondary);
}

/* Featured Promotions Section */
.page-promotions__featured-promos {
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-promotions__card-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-list {
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-promotions__card-list li {
  margin-bottom: 8px;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  background-color: var(--background-color);
  color: var(--text-main);
}

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

.page-promotions__step-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-promotions__step-list {
  color: var(--text-secondary);
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-promotions__step-list li {
  margin-bottom: 10px;
}

.page-promotions__step-list a {
  color: var(--glow);
  text-decoration: none;
}

.page-promotions__step-list a:hover {
  text-decoration: underline;
}

/* Safety Fairness Section */
.page-promotions__safety-fairness {
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-promotions__safety-item {
  text-align: center;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__safety-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__safety-title {
  font-size: 1.5em;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-promotions__safety-text {
  color: var(--text-secondary);
}

/* FAQ Section */
.page-promotions__faq {
  background-color: var(--background-color);
  color: var(--text-main);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: none;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 1.05em;
  line-height: 1.6;
}

.page-promotions__faq-answer p {
  margin: 0;
  padding-top: 15px;
}

.page-promotions__faq-answer a {
  color: var(--glow);
  text-decoration: none;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-promotions__conclusion {
  background-color: var(--deep-green);
  color: var(--text-main);
  text-align: center;
}

/* Dark background general styles */
.page-promotions__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-promotions__dark-section .page-promotions__section-title {
  color: var(--gold);
}

.page-promotions__dark-section .page-promotions__section-description,
.page-promotions__dark-section .page-promotions__text-block {
  color: var(--text-secondary);
}

/* Light background general styles */
.page-promotions__light-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-promotions__light-bg .page-promotions__section-title {
  color: var(--gold);
}

.page-promotions__light-bg .page-promotions__section-description,
.page-promotions__light-bg .page-promotions__text-block {
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }

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

  .page-promotions__section-description,
  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset, so only small top padding here */
  }

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

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__why-choose,
  .page-promotions__featured-promos,
  .page-promotions__how-to-claim,
  .page-promotions__safety-fairness,
  .page-promotions__faq,
  .page-promotions__conclusion,
  .page-promotions__promo-card,
  .page-promotions__feature-item,
  .page-promotions__step-card,
  .page-promotions__safety-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__features-grid,
  .page-promotions__promo-cards-grid,
  .page-promotions__steps-grid,
  .page-promotions__safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__faq-question {
    font-size: 1.1em;
  }

  .page-promotions__faq-toggle {
    font-size: 1.3em;
  }

  .page-promotions__faq-answer {
    font-size: 1em;
  }
}

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
}

/* Custom Colors */
.page-promotions__dark-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__card-title,
.page-promotions__dark-section .page-promotions__feature-title,
.page-promotions__dark-section .page-promotions__step-title,
.page-promotions__dark-section .page-promotions__safety-title {
  color: var(--gold);
}

.page-promotions__dark-section .page-promotions__section-description,
.page-promotions__dark-section .page-promotions__text-block,
.page-promotions__dark-section .page-promotions__card-text,
.page-promotions__dark-section .page-promotions__feature-text,
.page-promotions__dark-section .page-promotions__card-list,
.page-promotions__dark-section .page-promotions__step-list,
.page-promotions__dark-section .page-promotions__safety-text {
  color: var(--text-secondary);
}

.page-promotions__promo-card,
.page-promotions__feature-item,
.page-promotions__step-card,
.page-promotions__safety-item,
.page-promotions__faq-item {
  background-color: var(--card-bg);
}

.page-promotions__faq-question {
  background-color: var(--card-bg);
  border-bottom-color: var(--divider);
}

.page-promotions__faq-qtext,
.page-promotions__faq-question {
  color: var(--text-main);
}

.page-promotions__faq-toggle {
  color: var(--gold);
}

.page-promotions__faq-answer {
  color: var(--text-secondary);
}

.page-promotions__faq-answer a,
.page-promotions__step-list a {
  color: var(--glow);
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid var(--border-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--border-color);
  color: #F2FFF6;
}