/* style/index-latest-promotions.css */
:root {
  --primary-color: #1A2E4E;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --bg-light-card: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-index-latest-promotions {
  color: var(--text-light); /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content background will come from body or sections */
}

.page-index-latest-promotions__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-latest-promotions__light-bg {
  background-color: var(--bg-light-card);
  color: var(--text-dark);
}

.page-index-latest-promotions h1,
.page-index-latest-promotions h2,
.page-index-latest-promotions h3,
.page-index-latest-promotions h4,
.page-index-latest-promotions h5,
.page-index-latest-promotions h6 {
  color: var(--text-light); /* Default for titles in dark sections */
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-latest-promotions__light-bg h1,
.page-index-latest-promotions__light-bg h2,
.page-index-latest-promotions__light-bg h3 {
  color: var(--primary-color); /* Titles in light sections */
}

.page-index-latest-promotions p {
  color: var(--text-light); /* Default for paragraphs in dark sections */
}

.page-index-latest-promotions__light-bg p {
  color: var(--text-dark); /* Paragraphs in light sections */
}

.page-index-latest-promotions a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-index-latest-promotions a:hover {
  text-decoration: underline;
}

.page-index-latest-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Video Section */
.page-index-latest-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: linear-gradient(135deg, var(--primary-color) 0%, #0d1a2d 100%);
}

.page-index-latest-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-index-latest-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 8px 24px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-index-latest-promotions__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on bright yellow */
  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.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-index-latest-promotions__play-now-button:hover {
  background: #e6c200; /* Slightly darker yellow */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

/* Module 1: H1 + CTA */
.page-index-latest-promotions__title-section {
  padding: 80px 20px;
  text-align: center;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-index-latest-promotions__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-latest-promotions__main-title {
  font-size: 42px;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-index-latest-promotions__title-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-index-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-latest-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 10px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-latest-promotions__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark text on bright yellow */
}

.page-index-latest-promotions__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-index-latest-promotions__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Module 2: FAQ Section */
.page-index-latest-promotions__faq-section {
  padding: 80px 20px;
  background-color: var(--bg-light-card);
  color: var(--text-dark);
}

.page-index-latest-promotions__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-latest-promotions__faq-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-index-latest-promotions__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index-latest-promotions__faq-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

.page-index-latest-promotions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

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

.page-index-latest-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: #fdfdfd;
  color: var(--text-dark);
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px dashed #eee;
  border-radius: 0 0 8px 8px;
}

/* Module 3: Brand Introduction */
.page-index-latest-promotions__brand-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d1a2d 100%);
  color: var(--text-light);
}

.page-index-latest-promotions__brand-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-latest-promotions__brand-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

.page-index-latest-promotions__brand-item {
  background: var(--bg-dark-card);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index-latest-promotions__brand-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-index-latest-promotions__brand-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-index-latest-promotions__brand-item p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Module 4: Blog List */
.page-index-latest-promotions__blog-section {
  padding: 80px 20px;
  background-color: var(--bg-light-card);
  color: var(--text-dark);
}

.page-index-latest-promotions__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-latest-promotions__blog-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

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

.page-index-latest-promotions__blog-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}