/* style/promo.css */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Body Background */
}

.page-promo__section {
  padding: 60px 0;
  margin: 0 auto;
}

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

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding to clear fixed header, body padding handles main offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%); /* Darker background blend */
}

.page-promo__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Main color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promo__hero-description {
  font-size: 1.15rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-promo__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promo__btn-secondary:hover {
  transform: translateY(-2px);
  background: #0A0A0A;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles and Descriptions */
.page-promo__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-promo__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Diverse Bonuses Section */
.page-promo__diverse-bonuses-section {
  background-color: #0A0A0A;
}

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

.page-promo__bonus-card {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #3A2A12; /* Border color */
}

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

.page-promo__bonus-card-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promo__bonus-card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__bonus-card .page-promo__btn-primary {
  width: auto;
  margin-top: auto;
}

/* Claim Guide Section */
.page-promo__claim-guide-section {
  background-color: #0A0A0A;
}

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

.page-promo__step-card {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid #3A2A12; /* Border color */
}

.page-promo__step-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promo__step-card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promo__step-card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why ph365 Section */
.page-promo__why-ph365-section {
  background-color: #0A0A0A;
}

.page-promo__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promo__feature-item {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-promo__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-promo__feature-title {
  font-size: 1.3rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promo__feature-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* App Download Section */
.page-promo__app-download-section {
  background-color: #0A0A0A;
}

.page-promo__app-download-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-promo__app-text {
  flex: 1;
}

.page-promo__app-download-content .page-promo__section-title,
.page-promo__app-download-content .page-promo__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-promo__app-cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-promo__app-image-wrapper {
  flex: 0 0 400px; /* Fixed width for desktop */
  text-align: center;
}

.page-promo__app-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure image doesn't exceed wrapper */
  display: block;
  border-radius: 8px;
}

/* FAQ Section */
.page-promo__faq-section {
  background-color: #0A0A0A;
}

.page-promo__faq-list {
  margin-top: 40px;
}

.page-promo__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: #1a1a1a;
}

.page-promo__faq-question-title {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.page-promo__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color for toggle */
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg);
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-promo__faq-answer p {
  margin: 0;
  color: #FFF6D6;
  font-size: 1rem;
}

/* CTA Section */
.page-promo__cta-section {
  padding-bottom: 80px;
  background-color: #0A0A0A;
}

.page-promo__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__app-download-content {
    flex-direction: column;
    text-align: center;
  }

  .page-promo__app-download-content .page-promo__section-title,
  .page-promo__app-download-content .page-promo__section-description {
    text-align: center;
  }

  .page-promo__app-image-wrapper {
    margin-top: 30px;
    flex: none;
    width: 100%;
  }
  .page-promo__app-image {
    max-width: 300px;
    margin: 0 auto;
  }
}

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

  .page-promo__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 40px;
  }

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

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

  .page-promo__hero-cta-buttons,
  .page-promo__app-cta-buttons,
  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .page-promo__btn-primary,
  .page-promo__btn-secondary,
  .page-promo a[class*="button"],
  .page-promo a[class*="btn"] {
    max-width: 90% !important; /* Adjusted for smaller screens */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promo__cta-buttons,
  .page-promo__button-group,
  .page-promo__btn-container,
  .page-promo__app-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promo__section,
  .page-promo__card,
  .page-promo__container,
  .page-promo__bonus-card,
  .page-promo__step-card,
  .page-promo__feature-item,
  .page-promo__app-download-content,
  .page-promo__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promo__bonus-card-image,
  .page-promo__step-card-image {
    height: auto; /* Allow height to adjust naturally on mobile */
  }

  .page-promo__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-promo__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

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

  .page-promo__faq-item.active .page-promo__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promo__section-title {
    font-size: 1.8rem;
  }
  .page-promo__section-description {
    font-size: 0.95rem;
  }
  .page-promo__bonus-card-title {
    font-size: 1.2rem;
  }
  .page-promo__step-card-title {
    font-size: 1.3rem;
  }
  .page-promo__feature-title {
    font-size: 1.1rem;
  }
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}