/* style/promotions.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-bg-card: #11271B;
  --color-bg-main: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-promotions {
  color: var(--color-text-main);
  background-color: var(--color-bg-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__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.page-promotions__text-block {
  padding: 60px 0;
}

.page-promotions__dark-section {
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-promotions__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__btn-secondary:hover {
  background: var(--color-button-gradient-start);
  color: var(--color-text-main);
}

.page-promotions__intro-section {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  padding: 60px 0;
}

.page-promotions__intro-section p {
  max-width: 900px;
  margin: 20px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: var(--color-text-secondary);
}

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

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

.page-promotions__promotion-card {
  background-color: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-promotions__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  flex-grow: 1;
}

.page-promotions__card-button {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 12px 20px;
  margin-top: auto;
}

.page-promotions__claim-guide-section,
.page-promotions__terms-section,
.page-promotions__why-choose-section,
.page-promotions__cta-final-section {
  padding: 60px 0;
}

.page-promotions__guide-list,
.page-promotions__why-list {
  max-width: 900px;
  margin: 40px auto;
  list-style: none;
  padding: 0;
}

.page-promotions__guide-list li,
.page-promotions__why-list li {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--color-text-main);
  line-height: 1.7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-list li strong {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.page-promotions__guide-list li a {
  color: var(--color-button-gradient-start);
  text-decoration: none;
}

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

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

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

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

.page-promotions__faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

.page-promotions__faq-question .page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--color-divider);
}

.page-promotions__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-promotions__cta-buttons--final {
  margin-top: 30px;
}

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

  .page-promotions__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-promotions__hero-description {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

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

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

  .page-promotions__section-description,
  .page-promotions__intro-section p,
  .page-promotions__guide-list li,
  .page-promotions__why-list li,
  .page-promotions__faq-answer {
    font-size: 1rem;
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    width: calc(100% - 30px); /* Adjust for padding */
    box-sizing: border-box;
    padding: 25px 15px;
  }

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

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

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

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .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__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .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__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-promotions__promotions-grid {
    gap: 20px;
  }

  .page-promotions__promotion-card {
    margin-bottom: 0;
  }

  .page-promotions__claim-guide-section,
  .page-promotions__terms-section,
  .page-promotions__why-choose-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-promotions__card-title {
    font-size: 1.3rem;
  }

  .page-promotions__card-text {
    font-size: 0.9rem;
  }

  .page-promotions__card-button {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .page-promotions__guide-list li,
  .page-promotions__why-list li {
    font-size: 0.95rem;
    padding: 15px;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-promotions__faq-answer {
    font-size: 0.9rem;
    padding: 12px 15px;
  }
}