/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Body background is dark (#0a0a0a), so text must be light */
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom for content */
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit image height on desktop */
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-promotions__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
  background: #1e87b6;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.page-promotions__overview-section, .page-promotions__faq-section {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 20px;
}

.page-promotions__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: inherit;
}

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

.page-promotions__type-card {
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__detail-section {
  padding: 60px 20px;
}

.page-promotions__promotion-block {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-promotions__promotion-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 25px;
  color: #26A9E0;
}

.page-promotions__promotion-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-promotions__promotion-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  text-align: left;
}

.page-promotions__promotion-features, .page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  max-width: 900px;
  width: 100%;
}

.page-promotions__promotion-features li, .page-promotions__terms-list li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  color: #f0f0f0;
}

.page-promotions__feature-icon, .page-promotions__list-icon {
  color: #26A9E0;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

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

.page-promotions__faq-item {
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #eaf6fd;
  border-bottom: 1px solid #d8edfc;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333333;
  text-align: left;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 15px 40px;
  }

  .page-promotions__hero-image {
    max-height: 400px;
  }

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

  .page-promotions__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important; /* Ensure full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 20px;
  }

  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-promotions__type-card, .page-promotions__promotion-block {
    padding: 25px;
    margin-bottom: 25px;
  }

  .page-promotions__card-image, .page-promotions__promotion-image {
    height: auto !important;
    max-height: 250px;
    margin-bottom: 20px;
  }

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

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

  .page-promotions__card-button {
    font-size: 0.9rem;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__promotion-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    margin-bottom: 20px;
  }

  .page-promotions__promotion-text {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }

  .page-promotions__promotion-features li, .page-promotions__terms-list li {
    font-size: 0.9rem;
  }

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

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Mobile image and container responsiveness */
  .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,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__detail-section,
  .page-promotions__faq-section,
  .page-promotions__promotion-block,
  .page-promotions__promotion-types {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  /* Multiple buttons arrangement on mobile */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}