.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f8f8; /* Light gray background, assuming --secondary-color is white */
}

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

.page-promotions__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-promotions__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-promotions__section-title--white {
  color: #ffffff;
}

.page-promotions__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__text-block--white {
  color: #ffffff;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Assuming body has padding-top from shared.css */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

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

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

.page-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-promotions__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-promotions__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-login:hover {
  background-color: #d86c00;
  border-color: #d86c00;
}

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

.page-promotions__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-promotions__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
  width: 100%;
  min-height: 200px;
}

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

.page-promotions__card-description {
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Game Specific Promos List */
.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__list-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__list-title {
  font-size: 22px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* How to Claim Steps */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.page-promotions__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 80px;
}

.page-promotions__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.page-promotions__step-title {
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f5f5f5;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  text-align: center;
  padding: 60px 0;
}

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

/* --- Responsive Styles --- */

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

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

  .page-promotions__section {
    padding: 30px 0;
  }

  .page-promotions__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-promotions__text-block {
    font-size: 15px;
  }

  /* HERO Section */
  .page-promotions__hero-section {
    min-height: 350px;
    padding-top: 10px; /* Consistent top padding */
  }

  .page-promotions__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    height: auto !important;
  }

  .page-promotions__hero-content {
    max-width: 100%;
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 10px;
  }

  .page-promotions__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-promotions__hero-cta-buttons,
  .page-promotions__cta-buttons--center {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-login,
  .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;
  }

  /* Promotion Types Grid (2 columns on mobile) */
  .page-promotions__grid {
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-promotions__card {
    padding: 15px;
  }

  .page-promotions__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min- /* Ensure images are not too small */
  }

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

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

  /* Game Specific Promos List */
  .page-promotions__list-item {
    padding: 20px;
  }

  .page-promotions__list-title {
    font-size: 18px;
  }

  /* How to Claim Steps */
  .page-promotions__step-item {
    padding: 20px 20px 20px 65px;
  }

  .page-promotions__step-item::before {
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

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

  /* FAQ Section */
  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 15px; }
  details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }

  /* Generic Image Responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
}

/* Tablet/Larger Mobile (up to 1024px) - Adjust grid if needed, but 768px is primary target */
@media (max-width: 1024px) {
  .page-promotions__container {
    padding: 20px;
  }

  .page-promotions__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    gap: 20px;
  }

  .page-promotions__hero-content {
    max-width: 90%;
  }
}