/* style/promotions.css */

/* Custom Colors */
:root {
  --page-promotions-primary-color: #11A84E;
  --page-promotions-secondary-color: #22C768;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-card-bg: #11271B;
  --page-promotions-background: #08160F;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-border: #2E7A4E;
  --page-promotions-glow: #57E38D;
  --page-promotions-gold: #F2C14E;
  --page-promotions-divider: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
}

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

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

/* Hero Section */
.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 as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

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

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

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
}

/* CTA Button */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

/* Section Titles */
.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

/* Text Blocks */
.page-promotions__text-block {
  font-size: 1.1em;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

/* Introduction Section */
.page-promotions__introduction-section {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
}

/* Offer Types Section */
.page-promotions__offer-types {
  padding: 60px 0;
  background-color: var(--page-promotions-deep-green);
}

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

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--page-promotions-border);
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--page-promotions-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--page-promotions-primary-color);
  border: 2px solid var(--page-promotions-primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-primary-color);
  color: #ffffff;
}

/* VIP Section */
.page-promotions__vip-section {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
}

.page-promotions__vip-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-promotions__vip-text {
  flex: 1;
  min-width: 300px;
}

.page-promotions__vip-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-promotions__vip-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 60px 0;
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--page-promotions-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--page-promotions-deep-green);
}

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

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  background-color: var(--page-promotions-card-bg);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-deep-green);
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-promotions-gold);
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: var(--page-promotions-text-secondary);
  border-top: 1px solid var(--page-promotions-divider);
}

.page-promotions__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
    padding-top: 15px; /* Add padding to top of answer text */
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-promotions-background);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }
  .page-promotions__vip-content {
    flex-direction: column;
  }
  .page-promotions__vip-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions__hero-image-wrapper {
    max-height: 300px;
  }
  .page-promotions__main-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__text-block {
    font-size: 1em;
  }
  .page-promotions__card-grid,
  .page-promotions__steps-list {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__vip-image {
    max-width: 100%;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    font-size: 0.95em;
  }

  /* Mobile specific overrides with !important */
  .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__introduction-section,
  .page-promotions__offer-types,
  .page-promotions__vip-section,
  .page-promotions__how-to-claim,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
  }

  .page-promotions__cta-button,
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-promotions__cta-wrapper,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center buttons when stacked */
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 2em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
}