/* style/resources-latest-promotions.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #121212;
  --card-background: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-resources-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so text should be light */
  background-color: var(--background-dark);
  padding-top: 0; /* Handled by specific sections */
}

.page-resources-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-latest-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-latest-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-latest-promotions__section-title--light {
  color: var(--text-color-light);
}

.page-resources-latest-promotions__text--light {
  color: var(--text-color-light);
}

/* Buttons */
.page-resources-latest-promotions__cta-button,
.page-resources-latest-promotions__btn-primary,
.page-resources-latest-promotions__btn-secondary,
.page-resources-latest-promotions__btn-small {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__cta-button--primary,
.page-resources-latest-promotions__btn-primary {
  background: var(--primary-color);
  color: var(--background-dark);
}

.page-resources-latest-promotions__cta-button--primary:hover,
.page-resources-latest-promotions__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

.page-resources-latest-promotions__btn-small {
  padding: 10px 20px;
  font-size: 15px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  border-radius: 5px;
}

.page-resources-latest-promotions__btn-small:hover {
  background: #6a0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

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

/* Video Section */
.page-resources-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 */
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-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;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-resources-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 4px 12px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-latest-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 */
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-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.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

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

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

.page-resources-latest-promotions__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--background-dark);
  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.15);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-promotions__play-now-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-resources-latest-promotions__hero-section {
  padding: 80px 0;
  text-align: center;
  background: var(--background-dark);
}

.page-resources-latest-promotions__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-resources-latest-promotions__description {
  font-size: 19px;
  color: var(--text-color-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-resources-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Promotions Overview */
.page-resources-latest-promotions__promotions-overview {
  padding: 80px 0;
  background: linear-gradient(145deg, var(--background-dark) 0%, #0a0a0a 100%);
}

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

.page-resources-latest-promotions__promo-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-latest-promotions__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-latest-promotions__promo-card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-latest-promotions__promo-card-description {
  font-size: 16px;
  color: var(--text-color-light);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Detailed Promotions */
.page-resources-latest-promotions__detailed-promotions {
  padding: 80px 0;
  background: var(--background-dark);
}

.page-resources-latest-promotions__promo-category {
  background: var(--card-background);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__category-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-resources-latest-promotions__category-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-resources-latest-promotions__promo-category p {
  font-size: 17px;
  color: var(--text-color-light);
  margin-bottom: 20px;
}

.page-resources-latest-promotions__promo-category ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-resources-latest-promotions__promo-category ul li {
  font-size: 17px;
  color: var(--text-color-light);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-resources-latest-promotions__promo-category ul li::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 20px;
  line-height: 1;
}

/* How To Claim */
.page-resources-latest-promotions__how-to-claim {
  padding: 80px 0;
  background: linear-gradient(145deg, #0a0a0a 0%, var(--background-dark) 100%);
}

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

.page-resources-latest-promotions__step-item {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__step-icon {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(var(--primary-color), 0.3);
}

.page-resources-latest-promotions__step-title {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-latest-promotions__step-item p {
  font-size: 16px;
  color: var(--text-color-light);
  margin-bottom: 25px;
}

.page-resources-latest-promotions__terms-conditions {
  margin-top: 60px;
  background: rgba(var(--secondary-color), 0.2);
  border-left: 5px solid var(--primary-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__terms-conditions h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-latest-promotions__terms-conditions p {
  font-size: 17px;
  color: var(--text-color-light);
  margin-bottom: 20px;
}

/* Why Choose */
.page-resources-latest-promotions__why-choose {
  padding: 80px 0;
  background: var(--background-dark);
}

.page-resources-latest-promotions__advantage-list {
  list-style: none;
  padding-left: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-latest-promotions__advantage-list li {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__advantage-list li:hover {
  transform: translateY(-5px);
}

.page-resources-latest-promotions__advantage-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-latest-promotions__advantage-list p {
  font-size: 16px;
  color: var(--text-color-light);
}

/* FAQ Section */
.page-resources-latest-promotions__faq-section {
  padding: 80px 0;
  background: linear-gradient(145deg, var(--background-dark) 0%, #0a0a0a 100%);
}

.page-resources-latest-promotions__faq-list {
  margin-top: 50px;
}

.page-resources-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
}

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

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

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

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

.page-resources-latest-promotions__faq-item.active .page-resources-latest-promotions__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change to 'x' or rotate */
}

.page-resources-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: rgba(255, 255, 255, 0.05);
  color: var(--text-color-light);
}

.page-resources-latest-promotions__faq-item.active .page-resources-latest-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color);
}

.page-resources-latest-promotions__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-light);
}

/* Call to Action Bottom */
.page-resources-latest-promotions__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background: var(--background-dark);
}

.page-resources-latest-promotions__cta-bottom .page-resources-latest-promotions__container {
  background: var(--secondary-color);
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__cta-bottom .page-resources-latest-promotions__section-title {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-resources-latest-promotions__cta-bottom p {
  font-size: 19px;
  color: var(--text-color-light);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-promotions__main-title {
    font-size: 42px;
  }
  .page-resources-latest-promotions__section-title {
    font-size: 32px;
  }
  .page-resources-latest-promotions__category-title {
    font-size: 28px;
  }
  .page-resources-latest-promotions__promo-card-title {
    font-size: 22px;
  }
  .page-resources-latest-promotions__advantage-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-promotions__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources-latest-promotions__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-resources-latest-promotions__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-latest-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-resources-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain; /* Use contain for mobile to ensure video is fully visible */
  }
  
  .page-resources-latest-promotions__video-click-hint {
    font-size: 16px;
    padding: 10px 18px;
  }
  
  .page-resources-latest-promotions__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-resources-latest-promotions__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-latest-promotions__hero-section,
  .page-resources-latest-promotions__promotions-overview,
  .page-resources-latest-promotions__detailed-promotions,
  .page-resources-latest-promotions__how-to-claim,
  .page-resources-latest-promotions__why-choose,
  .page-resources-latest-promotions__faq-section,
  .page-resources-latest-promotions__cta-bottom {
    padding: 40px 0;
  }

  .page-resources-latest-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-promotions__main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .page-resources-latest-promotions__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-latest-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-promotions__cta-button,
  .page-resources-latest-promotions__btn-primary,
  .page-resources-latest-promotions__btn-secondary,
  .page-resources-latest-promotions__btn-small {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-promotions__promo-grid,
  .page-resources-latest-promotions__steps-grid,
  .page-resources-latest-promotions__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-latest-promotions__promo-card,
  .page-resources-latest-promotions__promo-category,
  .page-resources-latest-promotions__step-item,
  .page-resources-latest-promotions__advantage-list li,
  .page-resources-latest-promotions__terms-conditions,
  .page-resources-latest-promotions__faq-item {
    padding: 20px;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-promotions__promo-card-image,
  .page-resources-latest-promotions__category-image {
    height: 180px;
    border-radius: 4px;
  }

  .page-resources-latest-promotions__category-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-resources-latest-promotions__promo-category ul li,
  .page-resources-latest-promotions__promo-category p {
    font-size: 15px;
  }

  .page-resources-latest-promotions__step-title {
    font-size: 22px;
  }
  
  .page-resources-latest-promotions__terms-conditions h3 {
    font-size: 24px;
  }

  .page-resources-latest-promotions__faq-question {
    padding: 15px 20px;
  }

  .page-resources-latest-promotions__faq-question h3 {
    font-size: 17px;
  }

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

  .page-resources-latest-promotions__faq-item.active .page-resources-latest-promotions__faq-answer {
    padding: 15px 20px !important;
  }
  
  .page-resources-latest-promotions__faq-answer p {
    font-size: 15px;
  }

  .page-resources-latest-promotions__cta-bottom .page-resources-latest-promotions__container {
    padding: 40px 20px;
    border-radius: 10px;
  }

  .page-resources-latest-promotions__cta-bottom p {
    font-size: 16px;
    margin-bottom: 30px;
  }
}