/* style/promotions.css */
.page-promotions {
  background-color: #08160F;
  color: #F2FFF6;
  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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__subtitle {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
  margin: 10px;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter green from the gradient */
  border: 2px solid #2AD16F;
  margin: 10px;
}

.page-promotions__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #F2FFF6;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8;
  text-align: justify;
}

.page-promotions__overview-section,
.page-promotions__current-promotions,
.page-promotions__sports-promotions,
.page-promotions__casino-promotions,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__responsible-gambling,
.page-promotions__faq-section,
.page-promotions__cta-section {
  padding: 80px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-promotions__card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-promotions__card-text {
  color: #A7D9B8;
  font-size: 1em;
}

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

.page-promotions__promo-card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-promotions__promo-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-promotions__promo-description {
  color: #A7D9B8;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-promotions__promo-content .page-promotions__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
  max-width: 200px; /* Limit button width within card */
  align-self: center;
}

.page-promotions__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #A7D9B8;
}

.page-promotions__promo-list li {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-list li strong {
  color: #F2FFF6;
  margin-right: 10px;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-promotions__steps-list li {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #A7D9B8;
  position: relative;
  counter-increment: step-counter;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__steps-list li::before {
  content: "Bước " counter(step-counter) ": ";
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-right: 10px;
}

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

.page-promotions__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: "−";
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__cta-section {
  text-align: center;
}

.page-promotions__cta-section .page-promotions__btn-primary,
.page-promotions__cta-section .page-promotions__btn-secondary {
  margin: 15px 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-promotions__hero-image-wrapper,
  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-promotions__subtitle {
    font-size: 1em;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-section .page-promotions__btn-primary,
  .page-promotions__cta-section .page-promotions__btn-secondary {
    display: block;
    margin: 10px auto;
  }

  .page-promotions__feature-cards,
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__promo-card,
  .page-promotions__promo-list li,
  .page-promotions__steps-list li,
  .page-promotions__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-promotions__promo-content .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
  }

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

  /* Ensure video containers also adapt */
  .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,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}