/* style/promotions.css */

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

.page-promotions {
  background-color: var(--ct88-background);
  color: var(--ct88-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;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height on desktop for better visibility of content below */
}

.page-promotions__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  background: rgba(8, 22, 15, 0.7); /* Slightly transparent background for readability */
  margin-top: -100px; /* Overlap slightly with image for visual appeal */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  border: 1px solid var(--ct88-border-color);
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--ct88-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__description {
  font-size: 1.1em;
  color: var(--ct88-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--ct88-button-gradient);
  color: var(--ct88-text-main);
  border: 2px solid var(--ct88-glow-color);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--ct88-glow-color);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--ct88-glow-color);
  border: 2px solid var(--ct88-glow-color);
  margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
  background: var(--ct88-glow-color);
  color: var(--ct88-background);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--ct88-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.05em;
  color: var(--ct88-text-secondary);
  text-align: justify;
  margin-bottom: 30px;
}

/* Promotions Types Section */
.page-promotions__types-section {
  padding: 60px 0;
  background-color: var(--ct88-deep-green);
}

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

.page-promotions__promotion-card {
  background-color: var(--ct88-card-bg);
  border: 1px solid var(--ct88-border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
}

.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.5em;
  color: var(--ct88-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-promotions__card-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  background: var(--ct88-button-gradient);
  color: var(--ct88-text-main);
  border: 2px solid var(--ct88-glow-color);
  transition: all 0.3s ease;
}

.page-promotions__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), 0 0 10px var(--ct88-glow-color);
}

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

.page-promotions__vip-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  border: 1px solid var(--ct88-border-color);
}

.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-promotions__vip-benefits li {
  background-color: var(--ct88-card-bg);
  border: 1px solid var(--ct88-border-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: var(--ct88-text-main);
  display: flex;
  align-items: center;
}

.page-promotions__vip-icon {
  font-size: 1.5em;
  margin-right: 15px;
  color: var(--ct88-gold-color);
}

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

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

.page-promotions__steps-list li {
  background-color: var(--ct88-card-bg);
  border: 1px solid var(--ct88-border-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: var(--ct88-text-main);
  display: flex;
  align-items: flex-start;
}

.page-promotions__step-number {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--ct88-gold-color);
  margin-right: 20px;
  line-height: 1;
}

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

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

.page-promotions__terms-list li {
  background-color: var(--ct88-card-bg);
  border: 1px solid var(--ct88-border-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1em;
  color: var(--ct88-text-secondary);
  display: flex;
  align-items: flex-start;
}

.page-promotions__terms-bullet {
  font-size: 1.5em;
  color: var(--ct88-glow-color);
  margin-right: 10px;
  line-height: 1;
}

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

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--ct88-text-main);
  cursor: pointer;
  background-color: var(--ct88-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--ct88-text-secondary);
  line-height: 1.6;
}

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 60px 0;
  background-color: var(--ct88-background);
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__promotions-grid,
  .page-promotions__vip-benefits,
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-promotions__description {
    font-size: 1em;
  }

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

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
  }

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

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__vip-image {
    max-width: 100%;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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