/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* inherited from body */
}

.page-promotions__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-promotions__hero-banner {
  padding-top: 0; /* Assuming shared.css sets body padding-top */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%);
  margin-bottom: 0;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-promotions__hero-image-container {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for the hero image */
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__intro-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__hero-cta {
  margin-top: 30px;
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold color for main titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: #cccccc;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for card titles */
}

.page-promotions__card-description {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #CC0000;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary:hover {
  background-color: #e60000;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #FFD700;
  color: #333333; /* Dark text for gold background */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-secondary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-promotions__btn-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-promotions__btn-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-promotions__special-offers {
  background-color: #0d0d0d; /* Even darker background for special offers */
  padding: 80px 20px;
}

.page-promotions__offer-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-promotions__offer-item {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__offer-item img {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-promotions__offer-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.page-promotions__offer-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #CC0000; /* Red for offer titles */
}

.page-promotions__offer-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
}

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

.page-promotions__game-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__game-promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px; /* Add padding for button */
}

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

.page-promotions__game-promo-card img {
  width: 100%;
  
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-promotions__game-promo-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-promotions__game-promo-text {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-promotions__terms-conditions {
  background-color: #0d0d0d;
  padding: 80px 20px;
}

.page-promotions__terms-content {
  max-width: 900px;
  margin: 0 auto;
  color: #cccccc;
  font-size: 16px;
}

.page-promotions__terms-content h3 {
  color: #FFD700;
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-promotions__terms-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-promotions__terms-content li {
  margin-bottom: 8px;
}

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

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.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: #cccccc;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #CC0000;
  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: 30px;
  height: 30px;
}

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

.page-promotions__cta-bottom {
  background-color: #CC0000;
  padding: 80px 20px;
  text-align: center;
}

.page-promotions__cta-bottom .page-promotions__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-promotions__cta-bottom .page-promotions__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */

/* Global image responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global button responsiveness */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__hero-cta,
.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 40px;
  }

  .page-promotions__section-title {
    font-size: 32px;
  }

  .page-promotions__offer-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-promotions__offer-item {
    flex-direction: column;
  }

  .page-promotions__offer-item img {
    width: 100%;
    height: 250px;
  }

  .page-promotions__offer-content {
    width: 100%;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-promotions__dark-section {
    padding: 40px 15px;
  }

  .page-promotions__hero-banner {
    padding-top: 0 !important; /* Ensure no double padding if body has it */
    padding-bottom: 50px;
  }

  .page-promotions__hero-content {
    margin-bottom: 30px;
  }

  .page-promotions__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-promotions__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-promotions__promo-grid,
  .page-promotions__game-promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card img {
    
  }

  .page-promotions__card-title {
    font-size: 20px;
  }

  .page-promotions__card-description {
    font-size: 14px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-promotions__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-promotions__btn-link {
    font-size: 14px;
  }

  .page-promotions__hero-cta,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__offer-list {
    gap: 20px;
  }

  .page-promotions__offer-item {
    flex-direction: column;
  }

  .page-promotions__offer-item img {
    width: 100%;
    height: 200px;
  }

  .page-promotions__offer-content {
    width: 100%;
    padding: 20px;
  }

  .page-promotions__offer-title {
    font-size: 20px;
  }

  .page-promotions__offer-text {
    font-size: 15px;
  }

  .page-promotions__game-promo-card img {
    
  }

  .page-promotions__game-promo-title {
    font-size: 18px;
  }

  .page-promotions__game-promo-text {
    font-size: 13px;
  }

  .page-promotions__terms-content {
    font-size: 15px;
  }

  .page-promotions__terms-content h3 {
    font-size: 20px;
  }

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

  .page-promotions__faq-question h3 {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
}

/* Ensuring content area images are responsive */
.page-promotions__promo-card img,
.page-promotions__offer-item img,
.page-promotions__game-promo-card img {
  max-width: 100%;
  height: auto;
}

/* Specific rule for img tags inside .page-promotions to ensure full responsiveness */
@media (max-width: 768px) {
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Excluding logo-item from general image rules as it has fixed size */
  /* No .page-promotions__logo-item on this page, but if it were, it would be excluded */

  .page-promotions__hero-banner,
  .page-promotions__featured-promos,
  .page-promotions__special-offers,
  .page-promotions__other-games,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}