/* style/promotions.css */

/* Base styles and color scheme */
.page-promotions {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  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: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promotions__main-title {
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  /* H1 font size constraint: no fixed large font-size, rely on clamp if needed */
  font-size: clamp(2em, 4vw, 3.2em);
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__keyword {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button,
.page-promotions__text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary,
.page-promotions__card-button,
.page-promotions__btn-large {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-promotions__btn-primary:hover,
.page-promotions__card-button:hover,
.page-promotions__btn-large:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Lighter shade of primary for contrast */
  border: 2px solid #2AD16F; /* Lighter shade of primary */
}

.page-promotions__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
}

.page-promotions__btn-large {
    padding: 15px 30px;
    font-size: 1.2em;
}

.page-promotions__text-link {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-promotions__text-link:hover {
    color: #2AD16F; /* Button top color */
}

/* 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: #08160F; /* Background */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

/* Section common styles */
.page-promotions__introduction-section,
.page-promotions__features-section,
.page-promotions__terms-section,
.page-promotions__how-to-join-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

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

.page-promotions__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6; /* Text Main */
}

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

.page-promotions__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-promotions__card-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  margin-top: auto; /* Push button to bottom */
}

/* Lists */
.page-promotions__terms-list,
.page-promotions__steps-list,
.page-promotions__benefits-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-promotions__terms-list li,
.page-promotions__steps-list li,
.page-promotions__benefits-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.5;
  position: relative;
  padding-left: 45px;
}

.page-promotions__terms-list li strong,
.page-promotions__steps-list li strong,
.page-promotions__benefits-list li strong {
  color: #57E38D; /* Glow */
}

.page-promotions__steps-list li::before,
.page-promotions__benefits-list li::before {
    content: attr(data-icon);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #F2C14E; /* Gold */
    font-size: 1.2em;
    font-weight: bold;
}

.page-promotions__steps-list li:nth-child(1)::before { content: '1'; }
.page-promotions__steps-list li:nth-child(2)::before { content: '2'; }
.page-promotions__steps-list li:nth-child(3)::before { content: '3'; }
.page-promotions__steps-list li:nth-child(4)::before { content: '4'; }
.page-promotions__steps-list li:nth-child(5)::before { content: '5'; }

.page-promotions__benefits-list li::before {
    content: '✅';
    font-size: 1em;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-promotions__faq-question:hover {
  background-color: #13994A; /* Slightly lighter primary */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E; /* Gold */
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.5;
  border-top: 1px solid #2E7A4E; /* Divider */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-promotions__hero-section {
    padding: 40px 15px;
  }
  .page-promotions__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-promotions__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__card-button,
  .page-promotions__btn-large {
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__terms-list li,
  .page-promotions__steps-list li,
  .page-promotions__benefits-list li {
    padding: 15px 15px 15px 45px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 15px 20px;
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
  .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,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }
  .page-promotions__hero-description {
    font-size: 0.95em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__card-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-promotions__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
}