/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-promotions__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-promotions__section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 2.8em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Promotion Grid */
.page-promotions__featured-promos {
  background-color: #0a0a0a; /* Dark background for this section */
}
.page-promotions__featured-promos .page-promotions__section-title {
  color: #FFFFFF; /* White title on dark background */
}
.page-promotions__featured-promos .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: #017439; /* Brand color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #FFFFFF;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-promotions__btn-details {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
}

.page-promotions__btn-details:hover {
  background-color: #005f2e;
  transform: translateY(-2px);
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  background-color: #1a1a1a;
}
.page-promotions__how-to-claim .page-promotions__section-title {
  color: #FFFFFF;
}
.page-promotions__how-to-claim .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

.page-promotions__step-text a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}
.page-promotions__step-text a:hover {
  text-decoration: underline;
}

/* Why Choose OK9 Section */
.page-promotions__why-ok9 {
  background-color: #0a0a0a;
}
.page-promotions__why-ok9 .page-promotions__section-title {
  color: #FFFFFF;
}
.page-promotions__why-ok9 .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__why-ok9-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-promotions__why-ok9-text {
  flex: 1;
}

.page-promotions__why-ok9-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-promotions__why-ok9-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="%23017439" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #f0f0f0;
  font-size: 1.1em;
}
.page-promotions__why-ok9-list li strong {
  color: #FFFFFF;
}

.page-promotions__paragraph {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-top: 30px;
}
.page-promotions__paragraph a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}
.page-promotions__paragraph a:hover {
  text-decoration: underline;
}

.page-promotions__why-ok9-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-promotions__why-ok9-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #1a1a1a;
}
.page-promotions__faq-section .page-promotions__section-title {
  color: #FFFFFF;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #FFFFFF;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #005f2e;
}

.page-promotions__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-promotions__faq-toggle {
  font-size: 2em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00; /* Yellow for toggle icon */
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  color: #f0f0f0;
  text-align: left;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content, important for JS toggle */
  padding: 20px 30px;
}
.page-promotions__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}
.page-promotions__faq-answer a {
  color: #FFFF00; /* Yellow for links in FAQ answer */
  text-decoration: none;
  font-weight: bold;
}
.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

/* Bottom CTA Section */
.page-promotions__cta-bottom {
  background-color: #017439; /* Brand color background */
  padding: 60px 0;
}

.page-promotions__cta-content {
  max-width: 900px;
}

.page-promotions__cta-title {
  font-size: 2.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-promotions__btn-large {
  padding: 15px 40px;
  font-size: 1.3em;
  border-radius: 8px;
}

/* Button Styles (General) */
.page-promotions__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #C30808;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #017439; /* Brand color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__cta-title {
    font-size: 2em;
  }
  .page-promotions__why-ok9-content {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__why-ok9-list {
    text-align: left;
  }
}

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