/* style/promotions.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-color-page: #F4F7FB;
  --text-main: #1F2D3D;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --dark-text: #333333;
  --light-text: #ffffff;
}

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for light background */
  background-color: var(--background-color-page);
}

/* 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, main offset from body */
  background-color: var(--background-color-page);
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__description {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

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

.page-promotions__light-bg {
  background-color: var(--background-color-page);
  color: var(--text-main);
}

.page-promotions__dark-bg {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.page-promotions__dark-bg .page-promotions__section-title {
  color: var(--light-text);
}

.page-promotions__dark-bg .page-promotions__section-title::after {
  background: var(--glow-color);
}

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

/* Quick Links */
.page-promotions__quick-links .page-promotions__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-promotions__quick-link-item {
  display: block;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__quick-link-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__offer-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__offer-card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__offer-card-description {
  font-size: 0.95em;
  color: var(--text-main);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Terms and Conditions */
.page-promotions__terms-conditions .page-promotions__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-promotions__terms-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

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

/* How To Claim */
.page-promotions__how-to-claim .page-promotions__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-promotions__step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-icon {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--glow-color);
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--glow-color);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 0.95em;
  color: var(--light-text);
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose */
.page-promotions__why-choose .page-promotions__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-promotions__benefit-item {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
}

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

.page-promotions__benefit-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__benefit-description {
  font-size: 0.95em;
  color: var(--text-main);
}

/* FAQ Section */
.page-promotions__faq-section .page-promotions__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #f8f8f8;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
}

/* Latest Updates */
.page-promotions__latest-updates .page-promotions__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-promotions__update-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__update-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-promotions__update-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-promotions__update-card-content {
  padding: 25px;
  color: var(--light-text);
}

.page-promotions__update-card-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__update-card-title a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__update-card-title a:hover {
  color: var(--glow-color);
}

.page-promotions__update-card-meta {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.page-promotions__update-card-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__view-all {
  text-align: center;
  margin-top: 50px;
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--light-text);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__container {
    padding: 30px 15px;
  }
  .page-promotions__hero-section {
    padding: 40px 15px;
  }
  .page-promotions__main-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__offer-grid,
  .page-promotions__benefits-grid,
  .page-promotions__steps-grid,
  .page-promotions__link-grid,
  .page-promotions__update-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-promotions__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }
  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__container {
    padding: 25px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__offer-card-image {
    height: 180px;
  }
  .page-promotions__update-card-image {
    height: 180px;
  }

  /* Buttons responsiveness */
  .page-promotions__quick-link-item,
  .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;
  }
  .page-promotions__link-grid,
  .page-promotions__offer-grid,
  .page-promotions__benefits-grid,
  .page-promotions__steps-grid,
  .page-promotions__update-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__quick-link-item:hover {
    transform: none;
  }
  .page-promotions__offer-card,
  .page-promotions__benefit-item,
  .page-promotions__step-card,
  .page-promotions__update-card {
    padding: 20px;
  }
  .page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 1em; }
  .page-promotions__faq-answer { padding: 0 15px 15px; }
  .page-promotions__update-card-content { padding: 20px; }
  .page-promotions__update-card-title { font-size: 1.1em; }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.6em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__cta-button {
    font-size: 15px;
  }
  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 2em;
  }
}