/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: 120px; /* Spacing for fixed header */
}

.page-promotions a {
  color: #FFD700; /* Primary brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: #DC143C;
}

.page-promotions__hero-banner {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(220, 20, 60, 0.2)), url('[GALLERY:promotions:khin789,online casino vietnam,hero_background_texture]') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;
  box-sizing: border-box;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.2; /* Subtle background image */
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold color for main title */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__intro-text {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Crimson red for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  background-color: #ff0000;
  transform: translateY(-3px);
}

.page-promotions__section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px;
  box-sizing: border-box;
}

.page-promotions__section--highlight {
  background-color: rgba(255, 215, 0, 0.1); /* Gold tint for highlight section */
}

.page-promotions__section--cta {
  background-color: rgba(220, 20, 60, 0.15); /* Red tint for CTA section */
  text-align: center;
}

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

.page-promotions__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__grid--alt {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions__card-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-text {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__card-button:hover {
  background-color: #ff0000;
  transform: translateY(-2px);
}

.page-promotions__cta-title {
  font-size: 40px;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-text {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 22px;
  margin-bottom: 20px;
}

.page-promotions__cta-subtext {
  font-size: 14px;
  color: #cccccc;
}

/* FAQ Section */
.page-promotions__section--faq {
  background-color: rgba(255, 255, 255, 0.08);
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: #FFD700;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #DC143C;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
  font-size: 15px;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  border-radius: 0 0 5px 5px;
}

/* Blog Section */
.page-promotions__section--blog {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-promotions__blog-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-promotions__blog-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__blog-title a {
  color: #FFD700;
}

.page-promotions__blog-title a:hover {
  color: #DC143C;
}

.page-promotions__blog-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions__blog-readmore {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.page-promotions__blog-readmore:hover {
  background-color: #ff0000;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 40px;
  }

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

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

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

  .page-promotions__faq-question h3 {
    font-size: 16px;
  }
  .page-promotions__blog-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important;
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-banner,
  .page-promotions__faq-list,
  .page-promotions__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-banner {
    padding: 60px 15px;
    min-height: 350px;
  }

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

  .page-promotions__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }

  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

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

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

  .page-promotions__card {
    padding: 20px;
  }

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

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

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

  .page-promotions__card-button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .page-promotions__cta-title {
    font-size: 28px;
  }

  .page-promotions__cta-text {
    font-size: 16px;
  }

  .page-promotions__cta-button--large {
    padding: 15px 30px;
    font-size: 20px;
  }

  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-promotions__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

  .page-promotions__faq-answer {
    padding: 0 15px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }

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

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

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

  .page-promotions__blog-excerpt {
    font-size: 14px;
  }
}