/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for assumed dark body background */
  background: transparent; /* Inherit from body */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.page-promotions__description,
.page-promotions__text-block {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 25px;
  text-align: justify;
}

.page-promotions__dark-section {
  background: var(--dark-bg-2);
  color: #ffffff;
}

/* Fixed navigation spacing for the first content section */
.page-promotions__intro-section {
  padding-top: 120px; /* Adjust for fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 215, 0, 0.2)), url('[GALLERY:bg:promotions_background,game tt88,abstract]') no-repeat center center/cover;
  background-blend-mode: multiply;
}

.page-promotions__cta-buttons {
  text-align: center;
  margin-top: 40px;
}

.page-promotions__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background: #FFD700;
  color: #8B0000; /* Dark red text for contrast */
  border-color: #FFD700;
}

.page-promotions__btn-primary:hover {
  background: #e6c200;
  color: #660000;
}

.page-promotions__btn-secondary {
  background: #8B0000;
  color: #FFD700; /* Gold text for contrast */
  border-color: #8B0000;
}

.page-promotions__btn-secondary:hover {
  background: #660000;
  color: #e6c200;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

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

/* Card styles */
.page-promotions__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border for emphasis */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
  text-align: justify;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
}

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

.page-promotions__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 215, 0, 0.5);
}

/* Featured Offers Section */
.page-promotions__featured-offers-section {
  padding: 60px 20px;
  background: var(--dark-bg-2);
}

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

.page-promotions__offer-card {
  text-align: center;
}

.page-promotions__offer-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.5);
}

/* Guide Section */
.page-promotions__guide-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
}

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

.page-promotions__step-item {
  text-align: center;
}

.page-promotions__step-item .page-promotions__card-title {
  color: #FFD700;
  font-size: 1.4em;
  margin-top: 0;
}

.page-promotions__step-item .page-promotions__card-text {
  font-size: 0.95em;
  text-align: center;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 20px;
  background: var(--dark-bg-2);
}

.page-promotions__terms-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-promotions__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: justify;
}

.page-promotions__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
}

/* Download App Section */
.page-promotions__download-app-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
}

.page-promotions__app-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__feature-list {
  list-style: none;
  padding-left: 0;
  flex: 1;
  min-width: 300px;
}

.page-promotions__feature-list .page-promotions__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-promotions__app-image {
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 20px;
  background: var(--dark-bg-2);
}

.page-promotions__faq-list {
  margin-top: 40px;
}

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

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-top: none;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

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

.page-promotions__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change from '-' to '+' */
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

  .page-promotions__section-title {
    font-size: 2.2em;
  }

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

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

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

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__intro-section {
    padding-top: 100px; /* Adjust for mobile fixed header */
    padding-bottom: 40px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }

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

  .page-promotions__description,
  .page-promotions__text-block,
  .page-promotions__card-text,
  .page-promotions__list-item {
    font-size: 0.95em;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn {
    width: 100%;
    margin: 5px 0;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-promotions__feature-grid,
  .page-promotions__offer-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__feature-image,
  .page-promotions__offer-image {
    height: 180px;
  }

  .page-promotions__app-features {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .page-promotions__app-image {
    max-width: 280px;
  }

  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image forced adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}