:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #1E90FF; /* Xanh đậm */
  --text-color-dark-bg: #ffffff; /* Cho nền tối */
  --text-color-light-bg: #333333; /* Cho nền sáng */
  --background-dark: #000000;
  --background-light: #f8f8f8;
  --card-background-dark-alpha: rgba(255, 255, 255, 0.1);
  --border-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

.page-promotions {
  color: var(--text-color-dark-bg); /* Body background is #000, so text needs to be light */
  background-color: var(--background-dark);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a); /* Dark gradient background */
  text-align: center;
  overflow: hidden;
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 4px 8px var(--shadow-color);
  line-height: 1.2;
}

.page-promotions__hero-subtitle {
  font-size: 1.3em;
  color: var(--text-color-dark-bg);
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
}

.page-promotions__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-secondary {
  background: none;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 500px;
  height: auto;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  max-width: 100%;
  display: block;
}

.page-promotions__overview-section,
.page-promotions__claim-guide-section,
.page-promotions__terms-section,
.page-promotions__why-okvip-section,
.page-promotions__faq-section,
.page-promotions__cta-bottom-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__overview-section {
  background-color: var(--background-dark);
  border-bottom: 1px solid var(--border-color);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px var(--shadow-color);
}

.page-promotions__text-content {
  font-size: 1.1em;
  color: var(--text-color-dark-bg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
  opacity: 0.8;
}

.page-promotions__categories-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
}

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

.page-promotions__category-card {
  background: var(--card-background-dark-alpha);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-promotions__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}

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

.page-promotions__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
  opacity: 0.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-color-dark-bg);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-color);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-promotions__claim-guide-section {
  background-color: var(--background-dark);
  padding: 80px 20px;
}

.page-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__guide-item {
  background: var(--card-background-dark-alpha);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow-color);
  border: 1px solid rgba(30, 144, 255, 0.2);
}

.page-promotions__guide-icon {
  font-size: 3em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--primary-color);
}

.page-promotions__guide-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__guide-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
  opacity: 0.7;
}

.page-promotions__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 50px auto 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__terms-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 900px;
  text-align: left;
}

.page-promotions__terms-list li {
  background: var(--card-background-dark-alpha);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px var(--shadow-color);
}

.page-promotions__terms-list li p {
  margin: 0;
  color: var(--text-color-dark-bg);
  font-size: 1em;
  opacity: 0.8;
}

.page-promotions__why-okvip-section {
  background-color: var(--background-dark);
  padding: 80px 20px;
}

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

.page-promotions__advantage-item {
  background: var(--card-background-dark-alpha);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow-color);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__advantage-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__advantage-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
  opacity: 0.7;
}

.page-promotions__faq-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-promotions__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 28px;
  height: 28px;
  transform: rotate(0deg);
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: var(--secondary-color);
}

.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 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color-dark-bg);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  opacity: 0.8;
}

.page-promotions__cta-bottom-section {
  background-color: var(--secondary-color);
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
  color: var(--text-color-dark-bg);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-bottom-section .page-promotions__text-content {
  color: var(--text-color-dark-bg);
  opacity: 0.9;
  margin-bottom: 40px;
}

.page-promotions__btn-large {
  padding: 18px 45px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__hero-image {
    width: 400px;
    bottom: -30px;
    right: -30px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 100px; /* Mobile padding-top for fixed header */
    padding-bottom: 60px;
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-subtitle {
    font-size: 1em;
  }
  .page-promotions__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__hero-image {
    position: static;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    opacity: 0.3;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__text-content,
  .page-promotions__card-description,
  .page-promotions__guide-description,
  .page-promotions__terms-list li p,
  .page-promotions__advantage-description,
  .page-promotions__faq-answer p {
    font-size: 0.95em;
  }
  .page-promotions__category-grid,
  .page-promotions__guide-steps,
  .page-promotions__advantage-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-image {
    height: 150px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
  .page-promotions__guide-image {
    margin-top: 30px;
  }
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-container,
  .page-promotions__overview-container,
  .page-promotions__categories-container,
  .page-promotions__claim-guide-container,
  .page-promotions__terms-container,
  .page-promotions__why-okvip-container,
  .page-promotions__faq-container,
  .page-promotions__cta-bottom-container,
  .page-promotions__hero-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__card-button,
  .page-promotions__btn-large {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__guide-icon {
    width: 60px;
    height: 60px;
    font-size: 2em;
  }
  .page-promotions__guide-title {
    font-size: 1.3em;
  }
  .page-promotions__advantage-icon {
    width: 80px;
    height: 80px;
  }
}