/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #121212;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

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

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

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #f0f0f0;
}

.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff; /* Text color for content area */
}

.page-promotions__dark-bg {
  background-color: #1a1a1a;
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-promotions__promo-card-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

.page-promotions__promo-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-large {
  padding: 16px 35px;
  font-size: 1.2em;
}

.page-promotions__how-to-join-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-promotions__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFD700;
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #8B0000;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-promotions__step-text a:hover {
  text-decoration: underline;
}

.page-promotions__benefits-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-promotions__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-promotions__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #8B0000;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

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

.page-promotions__benefit-item a:hover {
  text-decoration: underline;
}

.page-promotions__faq-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

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

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

.page-promotions__cta-section {
  background-color: #8B0000;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  background-image: url('[GALLERY:cta_banner:1920x400:s666_promotions,call_to_action,golden_red_background,luxury_casino]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-promotions__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 0, 0, 0.7); /* Dark overlay */
  z-index: -1;
}

.page-promotions__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions__cta-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__cta-description a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-card-title {
    font-size: 1.6em;
  }
  .page-promotions__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__content-area, .page-promotions__how-to-join-section, .page-promotions__benefits-section, .page-promotions__faq-section, .page-promotions__cta-section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__promo-grid, .page-promotions__step-list, .page-promotions__benefit-list {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card-image {
    height: 200px;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__cta-title {
    font-size: 2em;
  }
  .page-promotions__cta-description {
    font-size: 1em;
  }

  /* Mobile image and container responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-grid,
  .page-promotions__step-list,
  .page-promotions__benefit-list,
  .page-promotions__faq-list,
  .page-promotions__cta-buttons,
  .page-promotions__hero-section,
  .page-promotions__content-area,
  .page-promotions__how-to-join-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__promo-grid {
    gap: 20px;
  }
  .page-promotions__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__promo-card-title {
    font-size: 1.4em;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
  .page-promotions__cta-title {
    font-size: 1.8em;
  }
}