:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-dark: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--bg-dark); /* Ensure background for text contrast */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum height for large images */
}

.page-promotions__hero-content {
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  background-color: var(--card-bg); /* Slightly darker background for text */
  border-radius: 10px;
  margin-top: -80px; /* Pull content up over the image bottom */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-promotions__description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-promotions__dark-section {
  background-color: var(--card-bg);
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-color);
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Feature Cards (Why Choose) */
.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__feature-card {
  background-color: var(--bg-dark); /* Darker than section bg */
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__feature-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(87, 227, 141, 0.2);
}

.page-promotions__feature-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Promotions Grid */
.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__promotion-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__promotion-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions__card-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(87, 227, 141, 0.2);
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to take up available space */
}

/* Game Specific Promotions */
.page-promotions__game-promotions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__game-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__game-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-promotions__game-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.page-promotions__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__step-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  min-width: 150px; /* Minimum width for buttons */
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast on green gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

.page-promotions__faq-item summary {
  list-style: none; /* Remove default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
  outline: none;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: rgba(17, 168, 78, 0.1); /* Slight hover effect */
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  border-top: 1px solid var(--divider-color);
  margin-top: -1px; /* Overlap border */
}

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

/* Bottom CTA */
.page-promotions__cta-bottom {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-image {
    min-height: 250px;
  }

  .page-promotions__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
  }

  .page-promotions__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-promotions__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions__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;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-promotions__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-promotions__features-grid,
  .page-promotions__promotions-grid,
  .page-promotions__game-promotions,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-promotions__promotion-image {
    height: auto !important; /* Override fixed height to allow auto scaling with max-width */
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
  }

  .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__hero-section,
  .page-promotions__hero-content,
  .page-promotions__cta-buttons,
  .page-promotions__faq-list,
  .page-promotions__promotion-card,
  .page-promotions__feature-card,
  .page-promotions__game-card,
  .page-promotions__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-promotions__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* No video section, so no video-section padding-top override needed */
  /* .page-promotions__video-section { padding-top: 10px !important; } */

  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    align-items: center;
  }
}

/* Ensure no filter is used on images */
.page-promotions img {
  filter: none !important;
}