/* style/promotions-latest-details.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light-card: #ffffff;
  --background-light-section: #f1f3f5;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-promotions-latest-details {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-promotions-latest-details__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-promotions-latest-details__section-description {
  font-size: 18px;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-details__highlight-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions-latest-details__highlight-link:hover {
  color: #FFD700; /* Slightly brighter gold on hover */
  text-decoration: underline;
}

.page-promotions-latest-details__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-promotions-latest-details__cta-button:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Hero Banner Section */
.page-promotions-latest-details__hero-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a72 100%);
  position: relative;
  overflow: hidden;
}

.page-promotions-latest-details__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-promotions-latest-details__main-title {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-latest-details__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions-latest-details__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  z-index: 1;
}

.page-promotions-latest-details__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-promotions-latest-details__intro-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

/* Promotions Grid Section */
.page-promotions-latest-details__promotions-grid {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-promotions-latest-details__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-promotions-latest-details__promo-card {
  background: var(--background-light-card);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-latest-details__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-details__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions-latest-details__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

.page-promotions-latest-details__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-promotions-latest-details__promo-description {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-latest-details__promo-features {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #666666;
  font-size: 15px;
}

.page-promotions-latest-details__promo-features li {
  margin-bottom: 5px;
}

/* Games Promo Section */
.page-promotions-latest-details__games-promo-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-promotions-latest-details__game-category-card {
  background: var(--background-light-card);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
  overflow: hidden;
  text-align: center;
  padding: 30px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions-latest-details__category-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-latest-details__category-description {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-latest-details__cta-button--small {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: auto; /* Push button to bottom */
}

/* FAQ Section */
.page-promotions-latest-details__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-promotions-latest-details__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-latest-details__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions-latest-details__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 15px;
  opacity: 0;
}

.page-promotions-latest-details__faq-item.active .page-promotions-latest-details__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

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

.page-promotions-latest-details__faq-question:hover {
  background: #1a3a72;
  border-color: #2a4a82;
}

.page-promotions-latest-details__faq-question:active {
  background: #2a4a82;
}

.page-promotions-latest-details__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-promotions-latest-details__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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions-latest-details__faq-item.active .page-promotions-latest-details__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

/* Latest News Section */
.page-promotions-latest-details__latest-news-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-promotions-latest-details__news-card {
  background: var(--background-light-card);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-latest-details__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-details__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions-latest-details__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

.page-promotions-latest-details__news-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-promotions-latest-details__news-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-promotions-latest-details__news-link:hover {
  text-decoration: underline;
  color: #1a3a72;
}

.page-promotions-latest-details__news-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions-latest-details__news-date {
  font-size: 13px;
  color: #888888;
  text-align: right;
}

.page-promotions-latest-details__more-news {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-latest-details__main-title {
    font-size: 40px;
  }
  .page-promotions-latest-details__hero-description {
    font-size: 18px;
  }
  .page-promotions-latest-details__section-title {
    font-size: 32px;
  }
  .page-promotions-latest-details__section-description {
    font-size: 16px;
  }
  .page-promotions-latest-details__grid-container,
  .page-promotions-latest-details__game-categories,
  .page-promotions-latest-details__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-details {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions-latest-details__hero-banner {
    padding: 40px 15px;
  }
  .page-promotions-latest-details__main-title {
    font-size: 32px;
  }
  .page-promotions-latest-details__hero-description {
    font-size: 16px;
  }
  .page-promotions-latest-details__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-promotions-latest-details__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-promotions-latest-details__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions-latest-details__intro-section,
  .page-promotions-latest-details__promotions-grid,
  .page-promotions-latest-details__games-promo-section,
  .page-promotions-latest-details__faq-section,
  .page-promotions-latest-details__latest-news-section {
    padding: 50px 0;
  }
  .page-promotions-latest-details__promo-card,
  .page-promotions-latest-details__game-category-card,
  .page-promotions-latest-details__news-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-promotions-latest-details__grid-container,
  .page-promotions-latest-details__game-categories,
  .page-promotions-latest-details__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-latest-details__promo-image,
  .page-promotions-latest-details__category-image,
  .page-promotions-latest-details__news-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions-latest-details__promo-title {
    font-size: 20px;
  }
  .page-promotions-latest-details__promo-description,
  .page-promotions-latest-details__promo-features li {
    font-size: 14px;
  }
  .page-promotions-latest-details__category-title {
    font-size: 20px;
  }
  .page-promotions-latest-details__category-description {
    font-size: 14px;
  }
  .page-promotions-latest-details__news-title {
    font-size: 18px;
  }
  .page-promotions-latest-details__news-excerpt {
    font-size: 14px;
  }
  .page-promotions-latest-details__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions-latest-details__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-promotions-latest-details__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-promotions-latest-details__faq-answer {
    padding: 0 15px;
  }
  .page-promotions-latest-details__faq-item.active .page-promotions-latest-details__faq-answer {
    padding: 15px !important;
  }
  .page-promotions-latest-details__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-latest-details__main-title {
    font-size: 28px;
  }
  .page-promotions-latest-details__hero-description {
    font-size: 15px;
  }
  .page-promotions-latest-details__section-title {
    font-size: 24px;
  }
  .page-promotions-latest-details__cta-button {
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-promotions-latest-details__cta-button--small {
    width: auto;
  }
  .page-promotions-latest-details__promo-title,
  .page-promotions-latest-details__category-title,
  .page-promotions-latest-details__news-title {
    font-size: 18px;
  }
  .page-promotions-latest-details__promo-description,
  .page-promotions-latest-details__category-description,
  .page-promotions-latest-details__news-excerpt,
  .page-promotions-latest-details__promo-features li {
    font-size: 13px;
  }
}