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

/* Fixed header offset */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
}

.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%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Section Titles */
.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff; /* Default for dark background sections */
}

.page-promotions__sub-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__list li {
  margin-bottom: 10px;
}

/* Buttons */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.page-promotions__btn-primary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

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

/* Specific button colors */
.page-promotions__register-btn {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
}

.page-promotions__register-btn:hover {
  background-color: #a30606;
}

.page-promotions__login-btn {
  background-color: #C30808; /* Custom color for login */
  color: #FFFF00; /* Custom font color for login */
}

.page-promotions__login-btn:hover {
  background-color: #a30606;
}

/* Section Styling */
.page-promotions__promo-overview,
.page-promotions__terms,
.page-promotions__faq-section,
.page-promotions__cta-final {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast with body #111 */
  padding: 80px 0;
  margin-bottom: 40px;
}

.page-promotions__promo-types,
.page-promotions__guide {
  background-color: #f8f8f8; /* Light background for contrast */
  padding: 80px 0;
  margin-bottom: 40px;
}

.page-promotions__dark-bg .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__sub-title,
.page-promotions__dark-bg .page-promotions__text-block,
.page-promotions__dark-bg .page-promotions__list li {
  color: #ffffff;
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__sub-title,
.page-promotions__light-bg .page-promotions__text-block,
.page-promotions__light-bg .page-promotions__list li,
.page-promotions__light-bg .page-promotions__card-title,
.page-promotions__light-bg .page-promotions__card-text,
.page-promotions__light-bg .page-promotions__step-title,
.page-promotions__light-bg .page-promotions__step-text,
.page-promotions__light-bg .page-promotions__step-card a {
  color: #333333;
}
.page-promotions__light-bg a {
  color: #017439; /* Links in light sections */
  text-decoration: underline;
}
.page-promotions__light-bg a:hover {
  color: #005f2e;
}

/* Video Section */
.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-promotions__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-promotions__video-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.page-promotions__video-play-button {
    color: #FFFFFF;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-promotions__video-play-button:hover {
    opacity: 1;
    transform: scale(1.1);
}

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

.page-promotions__promo-card {
  background-color: #ffffff; /* White background for cards */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  min-height: 450px; /* Ensure cards have consistent height */
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-promotions__promo-card .page-promotions__cta-button {
  margin-top: auto; /* Push button to the bottom */
}

/* Content Grid for Terms */
.page-promotions__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Step Cards for Guide */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

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

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

.page-promotions__step-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-top: auto;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  background-color: #2a2a2a; /* Slightly lighter dark for FAQ items */
  border-radius: 8px;
  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 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #017439; /* Brand color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* Hide default marker for <summary> */
}

/* Hide default arrow for details tag */
.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-promotions__faq-item summary::marker {
  display: none;
}