/* style/promotions.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --body-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--body-bg);
  color: var(--text-main);
  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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
  background: var(--deep-green);
}

.page-promotions__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Ensure it doesn't exceed typical screen width */
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 800px;
  margin-top: 20px;
  z-index: 1; /* Ensure content is above image wrapper if positioned */
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__btn-primary {
  display: inline-block;
  background: var(--btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: var(--body-bg);
}

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

.page-promotions__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promotions__feature-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-promotions__feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-promotions__types-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-promotions__promo-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);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-promotions__promo-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-promotions__promo-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-promotions__how-to-claim-section {
  padding: 60px 0;
  background-color: var(--body-bg);
}

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

.page-promotions__step-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--btn-gradient);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-promotions__cta-buttons {
  text-align: center;
  margin-top: 50px;
}

.page-promotions__terms-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__terms-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--body-bg);
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(var(--primary-color), 0.1);
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-promotions__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .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-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* For stacked buttons */
  }

  .page-promotions__cta-buttons, .page-promotions__btn-container {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    padding-top: 30px;
  }

  .page-promotions__section-description {
    margin-bottom: 30px;
  }

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

  .page-promotions__feature-item, .page-promotions__promo-card, .page-promotions__step-item {
    padding: 20px;
  }
  
  .page-promotions__feature-icon, .page-promotions__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__faq-question {
    font-size: 1rem;
  }

  .page-promotions__faq-answer {
    font-size: 0.9rem;
  }
}