/* style/promotions.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-promotions {
  color: var(--text-main-color); /* Body background is dark, so text should be light */
  background-color: var(--background-color);
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 700px; /* Limit height for aesthetic */
  margin-bottom: 30px;
}

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

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 243, 230, 0.9);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  border: none;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 130, 26, 0.4);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 130, 26, 0.2);
}

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

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 243, 230, 0.8);
}

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

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

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

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

.page-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 243, 230, 0.7);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__card-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}

.page-promotions__card-details li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 243, 230, 0.8);
}

.page-promotions__how-to-claim .page-promotions__section-description {
  margin-bottom: 60px;
}

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

.page-promotions__step-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-promotions__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__step-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 243, 230, 0.7);
  margin-bottom: 20px;
}

.page-promotions__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-promotions__link:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

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

.page-promotions__terms-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 243, 230, 0.85);
  border-left: 4px solid var(--primary-color);
}

.page-promotions__terms-list li strong {
  color: var(--primary-color);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 243, 230, 0.7);
  overflow: hidden;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 40px;
  }

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

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

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-promotions__section-description {
    font-size: 0.9rem;
  }

  .page-promotions__promotions-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }

  .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__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__video-section { /* Added for general safety, though no video on this page */
    padding-top: 10px !important; 
  }

  /* Ensure all content containers have proper padding for mobile */
  .page-promotions__promotions-overview,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__conclusion-cta {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__terms-list li,
  .page-promotions__faq-item {
    padding: 15px;
    font-size: 0.95rem;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
  }

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