/* style/promotions.css */

/* Custom Colors */
:root {
  --bg: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

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

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

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

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow);
}

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

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

.page-promotions__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  border: 1px solid var(--border);
}

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

.page-promotions__card-text {
  color: var(--text-secondary);
  font-size: 1em;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green);
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive H1 font size */
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

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

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

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: var(--bg);
}

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

.page-promotions__feature-card {
  text-align: center;
  padding: 30px;
}

.page-promotions__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Types of Promotions Section */
.page-promotions__types-section {
  padding: 80px 0;
  background-color: var(--deep-green);
}

.page-promotions__promo-category {
  margin-bottom: 60px;
}

.page-promotions__category-title {
  font-size: 2em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__promo-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
}

.page-promotions__promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions__promo-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-promotions__promo-details {
  flex: 1;
}

.page-promotions__promo-name {
  font-size: 1.8em;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-promotions__promo-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: var(--bg);
}

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

.page-promotions__step-card {
  text-align: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.page-promotions__step-number {
  font-size: 3em;
  color: var(--glow);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: var(--deep-green);
}

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

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

.page-promotions__terms-item:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--bg);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: var(--border);
}

.page-promotions__faq-qtext {
  font-weight: bold;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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: 20px;
  background-color: var(--card-bg);
  color: var(--text-secondary);
  font-size: 1.05em;
  border-top: 1px solid var(--border);
}

.page-promotions__faq-answer p {
  margin: 0;
}

/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green);
}

.page-promotions__cta-bottom-section .page-promotions__container {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 50px;
  border: 1px solid var(--border);
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
  color: var(--gold);
  margin-bottom: 20px;
}

.page-promotions__cta-bottom-section .page-promotions__section-description {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-promotions__promo-card {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__promo-card:nth-child(even) {
    flex-direction: column;
  }

  .page-promotions__promo-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

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

  .page-promotions__section-description {
    font-size: 0.95em;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px;
    margin-bottom: 10px; /* For stacked buttons */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__promo-image {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .page-promotions__promo-card {
    padding: 20px;
  }

  .page-promotions__promo-name {
    font-size: 1.5em;
  }

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

  .page-promotions__faq-answer {
    padding: 15px;
  }
}