/* style/promotions.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-dark-alt: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so use light text */
  background-color: var(--bg-dark);
  line-height: 1.6;
}

.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions p {
  margin-bottom: 15px;
}

.page-promotions a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: var(--primary-color);
}

/* Shared container styling */
.page-promotions__title-container,
.page-promotions__list-container,
.page-promotions__why-choose-container,
.page-promotions__how-to-claim-container,
.page-promotions__faq-container,
.page-promotions__brand-container,
.page-promotions__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Video Section */
.page-promotions__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background-color: var(--bg-dark);
}

.page-promotions__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on <a> */
}

.page-promotions__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-promotions__video-link:hover .page-promotions__video-overlay {
  opacity: 1;
}

.page-promotions__video-click-hint {
  color: var(--text-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-promotions__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-promotions__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__play-now-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-promotions__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* H1 Title Section */
.page-promotions__title-section {
  background-color: var(--bg-dark);
  padding-bottom: 40px;
  text-align: center;
}

.page-promotions__main-title {
  font-size: 38px;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-promotions__title-description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-promotions__cta-button--primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Promotions List Section */
.page-promotions__list-section {
  background-color: var(--bg-dark-alt);
  padding-bottom: 80px;
}

.page-promotions__list-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__list-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.8;
}

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

.page-promotions__promo-card {
  background-color: var(--bg-dark);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-promotions__promo-card-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-promotions__promo-card-text {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-card-button:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.page-promotions__list-footer {
  font-size: 16px;
  text-align: center;
  margin-top: 50px;
  opacity: 0.7;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  background-color: var(--bg-dark);
  padding-bottom: 80px;
}

.page-promotions__why-choose-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

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

.page-promotions__why-choose-item {
  background-color: var(--bg-dark-alt);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__why-choose-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0.8;
}

.page-promotions__why-choose-item-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__why-choose-item-text {
  font-size: 15px;
  opacity: 0.8;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  background-color: var(--bg-dark-alt);
  padding-bottom: 80px;
}

.page-promotions__how-to-claim-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

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

.page-promotions__step-item {
  background-color: var(--bg-dark);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 16px;
  opacity: 0.85;
}

.page-promotions__cta-buttons--bottom {
  margin-top: 60px;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: var(--bg-dark);
  padding-bottom: 80px;
}

.page-promotions__faq-main-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-dark-alt);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-dark);
  border-radius: 8px;
  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, 255, 255, 0.08);
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.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;
  color: var(--text-light);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to hold content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

/* Brand Introduction Section */
.page-promotions__brand-section {
  background-color: var(--bg-dark);
  padding-bottom: 80px;
  text-align: center;
}

.page-promotions__brand-title {
  font-size: 32px;
  margin-bottom: 50px;
}

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

.page-promotions__brand-item {
  background-color: var(--bg-dark-alt);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__brand-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0.8;
}

.page-promotions__brand-item h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__brand-item p {
  font-size: 16px;
  opacity: 0.8;
}

.page-promotions__cta-buttons--brand {
  margin-top: 40px;
}

/* Blog List Section */
.page-promotions__blog-section {
  background-color: var(--bg-dark-alt);
  padding-bottom: 80px;
}

.page-promotions__blog-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__blog-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.8;
}

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

.page-promotions__blog-item {
  background-color: var(--bg-dark);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__blog-link {
  display: block;
  padding: 25px;
  text-decoration: none;
  color: var(--text-light);
}

.page-promotions__blog-item-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.page-promotions__blog-item-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__blog-item-excerpt {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.8;
  margin-bottom: 15px;
}

.page-promotions__blog-item-date {
  font-size: 14px;
  color: var(--secondary-color);
  opacity: 0.7;
  display: block;
}

.page-promotions__cta-buttons--blog {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 34px;
  }
  .page-promotions__list-title, .page-promotions__why-choose-title, .page-promotions__how-to-claim-title, .page-promotions__faq-main-title, .page-promotions__brand-title, .page-promotions__blog-title {
    font-size: 28px;
  }
}