/* style/promotions.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-dark: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --divider-color: #1E3A2A;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page */
.page-promotions {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.2;
}

.page-promotions__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-promotions__text-block {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-promotions__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-promotions__btn-primary, .page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

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

.page-promotions__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
}

/* Introduction Section */
.page-promotions__introduction-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

/* Featured Promotions Section */
.page-promotions__featured-promotions-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

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

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(34, 199, 104, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--divider-color);
  min-height: 200px;
}

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

.page-promotions__card-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

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

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

.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-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(34, 199, 104, 0.3);
}

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

.page-promotions__step-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-promotions__terms-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-promotions__terms-list li {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-promotions__terms-list li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 24px;
  line-height: 1;
  top: -2px;
}

.page-promotions__terms-list strong {
  color: var(--text-main);
}

/* Tips Section */
.page-promotions__tips-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-promotions__tips-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-promotions__tips-list li {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-promotions__tips-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  top: 0;
}

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

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  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: 18px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
  position: relative; /* For custom marker */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-promotions__faq-question::marker {
  display: none; /* Hide default marker */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

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

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-promotions__cta-box {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 50px;
  text-align: center;
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 30px rgba(34, 199, 104, 0.2);
}

.page-promotions__cta-box .page-promotions__section-title {
  margin-bottom: 25px;
  color: var(--text-main);
}

.page-promotions__cta-box .page-promotions__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: 18px;
}

/* Responsive Design */
/* All images basic responsive styles */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px !important;
  }

  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-promotions__main-title {
    font-size: 32px;
  }

  .page-promotions__hero-description {
    font-size: 16px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-promotions__cta-button--centered {
    margin: 30px auto 0 auto !important;
  }

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

  .page-promotions__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__card-title {
    font-size: 20px;
  }

  .page-promotions__card-description {
    font-size: 15px;
  }

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

  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .page-promotions__step-title {
    font-size: 19px;
  }

  .page-promotions__text-block, .page-promotions__terms-list li, .page-promotions__tips-list li, .page-promotions__faq-answer p {
    font-size: 15px;
  }

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

  .page-promotions__cta-box {
    padding: 30px 20px;
  }

  /* Ensure all image containers are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-promotions__video-section {
    padding-top: 10px !important;
  }
  
  .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; /* For multiple buttons */
    gap: 10px;
  }
  
  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

/* Desktop video width for flex */
.page-promotions__video-container {
  width: 100%;
  max-width: 1200px; /* Example max-width for desktop */
}