/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #0A2342;
  line-height: 1.6;
}

.page-promotions a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions a:hover {
  text-decoration: underline;
  color: #FFEB3B; /* Slightly brighter gold on hover */
}

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

.page-promotions__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-promotions__btn--primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

.page-promotions__btn--primary:hover {
  background-color: #FFEB3B;
  color: #000;
  transform: translateY(-2px);
  text-decoration: none;
}

.page-promotions__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-promotions__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
  text-decoration: none;
}

.page-promotions__btn--details {
  background-color: #0A2342;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 3px;
}

.page-promotions__btn--details:hover {
  background-color: #FFD700;
  color: #0A2342;
  text-decoration: none;
}

.page-promotions__btn--hero {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-promotions__section {
  padding: 60px 0;
}

.page-promotions__section:nth-child(even) {
  background-color: #081C35; /* Slightly lighter dark blue for contrast */
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #C0C0C0;
}

/* Hero Section */
.page-promotions__hero {
  background: linear-gradient(135deg, #0A2342 0%, #1A406F 100%);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 30px;
}

.page-promotions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-promotions__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why QH88 Section */
.page-promotions__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions__feature-item {
  background-color: #081C35;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-top: 3px solid #FFD700;
}

.page-promotions__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__feature-description {
  color: #C0C0C0;
}

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

.page-promotions__category-card {
  background-color: #0A2342;
  border: 1px solid #1A406F;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions__category-card:hover {
  transform: translateY(-5px);
}

.page-promotions__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-promotions__category-title {
  font-size: 1.3em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-promotions__category-description {
  color: #C0C0C0;
  padding: 0 15px 20px;
  font-size: 0.95em;
}

/* Featured Promotions Section (Detail Page List) */
.page-promotions__promotion-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-promotions__promotion-item {
  background-color: #081C35;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-promotions__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.page-promotions__promotion-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__promotion-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__promotion-title a:hover {
  text-decoration: underline;
  color: #FFEB3B;
}

.page-promotions__promotion-description {
  color: #C0C0C0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Claim Section */
.page-promotions__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions__step-item {
  background-color: #0A2342;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid #FFD700;
}

.page-promotions__step-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  color: #C0C0C0;
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Responsible Gambling Section */
.page-promotions__responsible-tips {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  text-align: left;
}

.page-promotions__responsible-tips li {
  background-color: #081C35;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
  border-left: 5px solid #FFD700;
}

.page-promotions__tip-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.page-promotions__section-outro {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #C0C0C0;
}

/* Mobile App Section */
.page-promotions__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-promotions__mobile-text {
  max-width: 700px;
}

.page-promotions__mobile-image-wrapper {
  max-width: 400px;
  width: 100%;
}

.page-promotions__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: #081C35;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border-left: 4px solid #FFD700;
}

.page-promotions__faq-question {
  font-size: 1.2em;
  color: #FFD700;
  padding: 18px 25px;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.page-promotions__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-promotions__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promotions__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #C0C0C0;
}

.page-promotions__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
}

.page-promotions__faq-question.active + .page-promotions__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding-top: 10px;
}

/* Call to Action Bottom Section */
.page-promotions__call-to-action-content {
  text-align: center;
  background-color: #1A406F;
  padding: 50px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-promotions__hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 0;
  }

  .page-promotions__hero-content {
    text-align: left;
  }

  .page-promotions__hero-actions {
    justify-content: flex-start;
  }

  .page-promotions__hero-image-wrapper {
    margin-top: 0;
    max-width: 50%;
  }

  .page-promotions__promotion-item {
    flex-direction: row;
  }

  .page-promotions__promotion-image {
    width: 40%;
    height: auto;
    max-height: 300px;
  }

  .page-promotions__mobile-content {
    flex-direction: row;
    text-align: left;
  }

  .page-promotions__mobile-text {
    order: 1;
    text-align: left;
  }

  .page-promotions__mobile-image-wrapper {
    order: 2;
  }
}

@media (max-width: 767px) {
  .page-promotions__hero-title {
    font-size: 2.5em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
  }

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

  .page-promotions__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-promotions__btn--secondary {
    margin-left: 0;
  }

  .page-promotions__promotion-image {
    height: 200px;
  }

  .page-promotions__promotion-title {
    font-size: 1.5em;
  }

  .page-promotions__mobile-content {
    flex-direction: column-reverse;
  }
}