/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions a {
  color: #FFD36B;
  text-decoration: none;
}

.page-promotions a:hover {
  text-decoration: underline;
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, only small decorative padding here */
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-promotions__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space below image */
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.2);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-promotions__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  background: linear-gradient(180deg, #FFE07B 0%, #E6B02A 100%);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background: #111111;
  color: #F2C14E;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  border: 2px solid #F2C14E;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* Promotion Types Section */
.page-promotions__promotion-types {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-promotions__card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

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

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

.page-promotions__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions__card-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-promotions__step-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 70px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background: #F2C14E;
  color: #111111;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.page-promotions__step-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-promotions__terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions__term-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__term-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-promotions__term-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-promotions__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-promotions__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
  max-height: 500px; /* Adjust as needed for content height */
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding: 60px 0;
  background-color: #0A0A0A;
  text-align: center;
}

.page-promotions__cta-bottom .page-promotions__container {
  background: #111111; /* Use Card BG */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 40px 20px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 30px 20px;
  }
  .page-promotions__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__hero-image {
    max-height: 400px;
  }

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

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

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

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

  .page-promotions__step-item {
    padding-left: 60px;
  }

  .page-promotions__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    left: 15px;
    top: 18px;
  }

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

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

  /* Image 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__hero-content,
  .page-promotions__promotion-types,
  .page-promotions__how-to-claim,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-promotions__video-section { /* If video section were present */
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .page-promotions__hero-content {
    padding: 20px 10px;
  }
  .page-promotions__btn-primary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-promotions__card-title {
    font-size: 1.3rem;
  }
  .page-promotions__step-title {
    font-size: 1.2rem;
  }
  .page-promotions__faq-question {
    font-size: 0.95rem;
  }
}