/* style/khuyen-mai.css */

/* Base Styles */
.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Default body background */
}

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

.page-khuyen-mai__section {
  padding: 60px 0;
  text-align: center;
}

.page-khuyen-mai__dark-bg {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-khuyen-mai__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Main brand color for titles */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-khuyen-mai__dark-bg .page-khuyen-mai__section-title {
  color: #ffffff;
}

.page-khuyen-mai p {
  margin-bottom: 1em;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f0f8ff; /* Light background for hero */
  text-align: center;
  position: relative;
}

.page-khuyen-mai__hero-image {
  max-width: 100%;
  overflow: hidden;
}

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

.page-khuyen-mai__hero-content {
  padding: 40px 15px;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size, not fixed large */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Main brand color */
  margin-bottom: 20px;
}

.page-khuyen-mai__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #333333;
}

/* CTA Buttons */
.page-khuyen-mai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-khuyen-mai__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-khuyen-mai__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Content Grid for sections with image and text */
.page-khuyen-mai__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-khuyen-mai__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-khuyen-mai__text-block,
.page-khuyen-mai__image-block {
  flex: 1;
  min-width: 0; /* Allow shrinking */
}

.page-khuyen-mai__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Specific Section Styles */
.page-khuyen-mai__introduction-section .page-khuyen-mai__section-title {
  color: #26A9E0;
}

.page-khuyen-mai__welcome-bonus-section {
  padding: 80px 0;
}

.page-khuyen-mai__deposit-bonus-section {
  padding: 80px 0;
}

.page-khuyen-mai__cashback-section {
  padding: 80px 0;
}

.page-khuyen-mai__event-promo-section {
  padding: 80px 0;
}

.page-khuyen-mai__daga-promo-section {
  padding: 80px 0;
}

.page-khuyen-mai__terms-section ul {
  list-style-type: disc;
  padding-left: 20px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
}

.page-khuyen-mai__terms-section li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-khuyen-mai__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  list-style: none; /* Hide default marker for details */
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-khuyen-mai__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate for open state */
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-khuyen-mai__faq-item:not([open]) .page-khuyen-mai__faq-answer {
  border-top: none; /* No border when closed */
}

/* Conclusion Section */
.page-khuyen-mai__conclusion-section .page-khuyen-mai__section-title {
  color: #26A9E0;
}