/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Explicitly set for main content */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f5f5f5; /* Light background for hero section */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and text */
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-promotions__cta-button:hover {
  background-color: #1e87c0;
}

/* General Section Styling */
.page-promotions__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-promotions__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-promotions__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Added for contrast */
}

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

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-promotions__card-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start; /* Align button to start */
  box-sizing: border-box;
}

.page-promotions__card-button:hover {
  background-color: #1e87c0;
}

/* How to Claim Section */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.page-promotions__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-promotions__step-number {
  font-size: 1.8em;
  font-weight: 700;
  color: #26A9E0;
  min-width: 30px;
  text-align: center;
}

.page-promotions__step-content {
  flex-grow: 1;
}

.page-promotions__step-content strong {
  color: #26A9E0;
}

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

/* Game Specific Promotions */
.page-promotions__game-promo-item {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f0f7fb; /* Light blue background */
  border-radius: 10px;
  border: 1px solid #d0e7f4;
}

.page-promotions__game-promo-item-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__game-promo-item-description {
  font-size: 1em;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 20px;
}

.page-promotions__game-promo-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-promotions__game-promo-button:hover {
  background-color: #1e87c0;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #fefefe;
}

.page-promotions__faq-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-item details {
  padding: 0;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f7fbfd;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
  line-height: 1;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

/* Final CTA */
.page-promotions__final-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__final-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.page-promotions__final-cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__final-cta-button-primary {
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-promotions__final-cta-button-primary:hover {
  background-color: #d16e06;
}

.page-promotions__final-cta-button-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 35px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.page-promotions__final-cta-button-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__section {
    padding: 30px 15px;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__card-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__card-image {
    height: 200px;
  }

  .page-promotions__card-content {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__step-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .page-promotions__step-number {
    margin-bottom: 10px;
  }

  .page-promotions__game-promo-item {
    padding: 15px;
  }

  .page-promotions__game-promo-item-title {
    font-size: 1.5em;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-promotions__final-cta {
    padding: 40px 15px;
  }

  .page-promotions__final-cta-title {
    font-size: 2em;
  }

  .page-promotions__final-cta-description {
    font-size: 1em;
  }

  .page-promotions__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__cta-button,
  .page-promotions__card-button,
  .page-promotions__game-promo-button,
  .page-promotions__final-cta-button-primary,
  .page-promotions__final-cta-button-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 !important;
    padding-right: 15px !important;
  }

  /* Image/Video/Container responsive rules */
  .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__faq-list,
  .page-promotions__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}

/* Ensure content area images are not too small */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
}
.page-promotions__card-image {
  min-width: 200px;
  min-height: 200px;
}
.page-promotions__step-image {
  min-width: 200px;
  min-height: 200px;
}

/* Explicitly set color for contrast for various elements */
.page-promotions__intro-section,
.page-promotions__top-promotions,
.page-promotions__how-to-claim,
.page-promotions__game-promotions,
.page-promotions__faq-section {
  color: #333333; /* Ensure dark text on light background */
}

/* Specific button styles for contrast */
.page-promotions__btn-primary {
  background: #26A9E0;
  color: #ffffff;
}
.page-promotions__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}
/* Login button */
.page-promotions__final-cta-button-primary {
  background-color: #EA7C07;
  color: #ffffff;
}

/* No CSS filter on images */
.page-promotions img {
  filter: none;
}