/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Overall page background */
  line-height: 1.6;
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F3C54D; /* Gold color for main titles */
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-promotions__paragraph {
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #FFF1E8;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* Top padding for fixed header, ~10px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #C61F1F 0%, #7E0D0D 100%); /* Deep Red gradient */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 810px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 15px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over the image for visual hierarchy */
  background: rgba(42, 18, 18, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid #6A1E1E;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 55px);
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-promotions__intro-text {
  font-size: 19px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promotions__cta-buttons--center {
  margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text on light button */
  border: 2px solid #FFB04A;
  box-shadow: 0 4px 15px rgba(255,176,74,0.4);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,176,74,0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold text */
  border: 2px solid #F3C54D;
  box-shadow: 0 4px 15px rgba(243,197,77,0.2);
}

.page-promotions__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C; /* Dark text on gold button */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243,197,77,0.4);
}

/* Promotion Categories */
.page-promotions__promotion-categories {
  background-color: #140C0C;
}

.page-promotions__grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promotion-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__promotion-card .page-promotions__card-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  padding: 20px 20px 10px;
  margin: 0;
  font-weight: 700;
}

.page-promotions__promotion-card .page-promotions__card-description {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 20px 20px;
  margin: 0;
  flex-grow: 1;
}

.page-promotions__promotion-card .page-promotions__card-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px); /* Adjust width for padding */
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  background-color: #FFF1E8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-promotions__how-to-claim .page-promotions__section-title {
  color: #C61F1F; /* Main color for title on light background */
}

.page-promotions__how-to-claim .page-promotions__paragraph {
  color: #333333;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: left;
}

.page-promotions__steps-list li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.page-promotions__steps-list h3 {
  font-size: 24px;
  color: #E53030; /* Accent color */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions__steps-list p {
  font-size: 16px;
  color: #333333;
  margin: 0;
}

.page-promotions__steps-list a {
  color: #C61F1F;
  text-decoration: underline;
  font-weight: 600;
}

.page-promotions__steps-list a:hover {
  color: #E53030;
}

/* Terms Summary Section */
.page-promotions__terms-summary {
  background-color: #140C0C;
}

.page-promotions__terms-list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 20px;
  color: #FFF1E8;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #140C0C;
  padding-bottom: 80px;
}

.page-promotions__faq-section .page-promotions__container {
  max-width: 900px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212; /* Card BG */
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #3a1a1a;
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold for question text */
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFF1E8;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #2A1212;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #FFF1E8;
  text-align: left;
}

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

/* Final CTA Section */
.page-promotions__final-cta {
  padding-top: 80px;
  padding-bottom: 100px;
  background-color: #140C0C;
}

.page-promotions__final-cta .page-promotions__section-title {
  color: #F3C54D;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-promotions__steps-list {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .page-promotions__hero-content {
    margin-top: -50px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 4.5vw, 45px);
  }

  .page-promotions__intro-text {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-promotions__hero-image-wrapper {
    max-height: 400px; /* Adjust max height for mobile hero image */
  }

  .page-promotions__hero-image {
    object-fit: contain !important; /* Ensure image fits without cropping */
  }

  .page-promotions__hero-content {
    margin-top: 0; /* No negative margin on mobile */
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    background: rgba(42, 18, 18, 0.95); /* Slightly less transparent */
  }

  .page-promotions__main-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .page-promotions__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    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: clamp(24px, 6vw, 32px);
    margin-bottom: 20px;
  }

  .page-promotions__paragraph {
    font-size: 15px;
  }

  .page-promotions__grid-layout {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
    margin-top: 30px;
  }

  .page-promotions__promotion-card {
    margin: 0 auto;
    max-width: 400px; /* Constrain card width for better readability */
  }

  .page-promotions__card-image {
    height: 180px; /* Adjust card image height */
  }

  .page-promotions__promotion-card .page-promotions__card-title {
    font-size: 20px;
    padding: 15px;
  }

  .page-promotions__promotion-card .page-promotions__card-description {
    font-size: 14px;
    padding: 0 15px 15px;
  }

  .page-promotions__promotion-card .page-promotions__card-button {
    margin: 0 15px 15px;
    width: calc(100% - 30px); /* Adjust width for padding */
  }

  .page-promotions__steps-list {
    margin-top: 30px;
    gap: 20px;
  }

  .page-promotions__steps-list li {
    padding: 20px;
  }

  .page-promotions__steps-list h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-promotions__steps-list p {
    font-size: 15px;
  }

  .page-promotions__terms-list {
    font-size: 15px;
    margin: 20px auto;
    padding-left: 15px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px;
  }

  .page-promotions__faq-qtext {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-promotions__final-cta {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  /* General image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}