/* style/promotions.css */
.page-promotions {
  --primary-color: #007bff;
  --accent-color: #ffc107;
  --text-dark: #212529;
  --text-light: #f8f9fa;
  --background-light: #ffffff;
  --background-dark: #343a40;
  --card-background: #f1f1f1;
  --border-color: #dee2e6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-promotions__hero-section {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-promotions__hero-section > .page-promotions__container {
  position: relative;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  bottom: -50px; /* Adjust to show more or less of the image */
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Adjust size */
  max-width: 1000px;
  opacity: 0.2;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-promotions__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-promotions__btn--primary {
  background-color: var(--accent-color);
  color: var(--text-dark);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn--primary:hover {
  background-color: #e6b000; /* Darker accent */
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn--secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
}

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

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

.page-promotions__btn--center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-promotions__intro-section, .page-promotions__how-to-claim, .page-promotions__responsible-gambling, .page-promotions__faq-section, .page-promotions__final-cta {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-promotions__featured-promos {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-promotions__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__text-content--center {
  text-align: center;
}

.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-promotions__benefits-list li {
  background-color: var(--card-background);
  padding: 15px 20px;
  border-left: 5px solid var(--accent-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 1.05em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-promotions__icon {
  color: var(--primary-color);
  font-size: 1.2em;
  margin-right: 10px;
}

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

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

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__promo-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 20px 20px 10px;
  line-height: 1.3;
}

.page-promotions__promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-promotions__promo-card h3 a:hover {
  text-decoration: underline;
}

.page-promotions__promo-description {
  font-size: 0.95em;
  color: #555;
  padding: 0 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn {
  margin: 20px;
  align-self: flex-start;
}

.page-promotions__guide-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-promotions__guide-steps li {
  position: relative;
  padding: 20px 20px 20px 80px;
  margin-bottom: 25px;
  background-color: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.page-promotions__guide-steps li:hover {
  background-color: #e9ecef;
}

.page-promotions__guide-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-promotions__guide-steps li h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__guide-steps li p {
  margin-bottom: 0;
  color: #495057;
}

.page-promotions__guide-steps li a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-promotions__guide-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__responsible-gambling {
  background-color: #e9f7ff; /* Lighter shade of primary */
  color: var(--text-dark);
  text-align: center;
}

.page-promotions__responsible-gambling .page-promotions__section-title {
  color: var(--primary-color);
}

.page-promotions__responsible-gambling .page-promotions__text-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-promotions__faq-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #0056b3;
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px;
  background-color: var(--background-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px;
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
  color: #495057;
}

.page-promotions__final-cta {
  background: linear-gradient(45deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-promotions__final-cta .page-promotions__section-title {
  color: var(--accent-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-promotions__final-cta .page-promotions__section-title::after {
  background-color: var(--text-light);
}

.page-promotions__final-cta .page-promotions__text-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: 1.2em;
}

.page-promotions__cta-image {
  position: absolute;
  bottom: 0;
  right: -50px;
  width: 300px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Floating Ad */
.page-promotions__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--accent-color);
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: page-promotions-pulse 2s infinite;
}

.page-promotions__floating-ad a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  font-size: 1.1em;
}

.page-promotions__floating-ad img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

@keyframes page-promotions-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-promotions__hero-image-wrapper {
    width: 100%;
    bottom: -80px;
  }
  .page-promotions__cta-image {
    width: 200px;
    right: -20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 0;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__intro-section, .page-promotions__how-to-claim, .page-promotions__responsible-gambling, .page-promotions__faq-section, .page-promotions__final-cta {
    padding: 40px 0;
  }
  .page-promotions__guide-steps li {
    padding: 15px 15px 15px 60px;
  }
  .page-promotions__guide-steps li::before {
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__floating-ad {
    bottom: 15px;
    right: 15px;
  }
  .page-promotions__floating-ad a {
    padding: 8px 15px;
    font-size: 0.95em;
  }
  .page-promotions__floating-ad img {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__btn--large {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card .page-promotions__btn {
    margin: 15px;
  }
  .page-promotions__cta-image {
    display: none;
  }
}