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

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

.page-promotions-terms__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-promotions-terms__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions-terms__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8);
}

.page-promotions-terms__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 2;
  margin-top: -100px; /* Pull content slightly over the image for visual flow */
}

.page-promotions-terms__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-promotions-terms__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-terms__cta-button {
  display: inline-block;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-terms__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-promotions-terms__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-promotions-terms__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-promotions-terms__section {
  padding: 40px 20px;
  margin-bottom: 30px;
  background-color: var(--color-background);
  border-radius: 8px;
}

.page-promotions-terms__section-title {
  font-size: 2.2em;
  color: var(--color-gold);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

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

.page-promotions-terms__text-block {
  font-size: 1.05em;
  color: var(--color-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-promotions-terms__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-promotions-terms__card-text {
  font-size: 0.95em;
  color: var(--color-text-secondary);
  flex-grow: 1;
}

.page-promotions-terms__card--small {
  padding: 20px;
}

.page-promotions-terms__ordered-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-promotions-terms__list-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: var(--color-text-main);
  font-size: 1.05em;
  display: flex;
  align-items: flex-start;
}

.page-promotions-terms__list-item strong {
  color: var(--color-primary);
  margin-right: 10px;
  flex-shrink: 0;
}

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

.page-promotions-terms__faq-list {
  margin-top: 30px;
}

.page-promotions-terms__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-terms__faq-item summary {
  list-style: none;
  outline: none;
}

.page-promotions-terms__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-terms__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-deep-green);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-promotions-terms__faq-question:hover {
  background-color: var(--color-primary);
}

.page-promotions-terms__faq-qtext {
  flex-grow: 1;
}

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

.page-promotions-terms__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-divider);
}

.page-promotions-terms__faq-answer p {
  margin: 0;
}

.page-promotions-terms__cta-container {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-terms__hero-content {
    margin-top: -80px;
  }
  .page-promotions-terms__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions-terms__description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }
  .page-promotions-terms__promotions-grid,
  .page-promotions-terms__important-terms {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-promotions-terms img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-terms__section,
  .page-promotions-terms__card,
  .page-promotions-terms__container,
  .page-promotions-terms__promotions-grid,
  .page-promotions-terms__important-terms,
  .page-promotions-terms__hero-section,
  .page-promotions-terms__hero-image-wrapper,
  .page-promotions-terms__hero-content,
  .page-promotions-terms__cta-container,
  .page-promotions-terms__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-terms__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  
  .page-promotions-terms__hero-content {
    margin-top: -60px; /* Adjust for smaller screens */
    padding: 30px 15px;
  }

  .page-promotions-terms__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-promotions-terms__description {
    font-size: clamp(0.9em, 3vw, 1em);
    margin-bottom: 20px;
  }

  .page-promotions-terms__cta-button,
  .page-promotions-terms__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions-terms__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-promotions-terms__card-image {
    height: 180px;
  }

  .page-promotions-terms__card-title {
    font-size: 1.3em;
  }

  .page-promotions-terms__list-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .page-promotions-terms__list-item strong {
    margin-bottom: 5px;
  }

  .page-promotions-terms__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-promotions-terms__faq-toggle {
    font-size: 1.3em;
  }

  .page-promotions-terms__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-terms__hero-content {
    margin-top: -40px;
  }
  .page-promotions-terms__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-promotions-terms__section-title {
    font-size: 1.5em;
  }
  .page-promotions-terms__promotions-grid,
  .page-promotions-terms__important-terms {
    grid-template-columns: 1fr;
  }
}