/* style/promotions.css */

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

/* General styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  background-color: var(--v88-background); /* Dark background */
  color: var(--v88-text-main); /* Light text for contrast */
}

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--v88-text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--v88-text-secondary);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  background-color: var(--v88-background);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-promotions__main-title {
  color: var(--v88-gold-color); /* Use gold for main title */
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--v88-text-main);
  margin-bottom: 30px;
  line-height: 1.7;
}

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

/* Buttons */
.page-promotions__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn--primary {
  background: var(--v88-btn-gradient);
  color: #ffffff; /* White text on dark gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn--secondary {
  background-color: transparent;
  color: var(--v88-text-main); /* Light text on dark background */
  border: 2px solid var(--v88-primary-color);
}

.page-promotions__btn--secondary:hover {
  background-color: var(--v88-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Image content styles */
.page-promotions__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto 20px auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Promo Types Grid */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card {
  background-color: var(--v88-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--v88-border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--v88-text-main); /* Light text on dark card background */
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--v88-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--v88-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim */
.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__step-item {
  background-color: var(--v88-card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--v88-border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--v88-text-main);
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: var(--v88-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--v88-text-secondary);
}

.page-promotions__cta-wrapper {
  margin-top: 40px;
}

/* Terms and Conditions */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-promotions__terms-item {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--v88-text-secondary);
  position: relative;
  padding-left: 25px;
}

.page-promotions__terms-item::before {
  content: '✓';
  color: var(--v88-primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--v88-text-main);
  cursor: pointer;
  background-color: var(--v88-deep-green);
  border-bottom: 1px solid var(--v88-divider-color);
  user-select: none;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--v88-gold-color);
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--v88-text-secondary);
  background-color: var(--v88-card-bg);
}

/* Dark background section */
.page-promotions__dark-section {
  background-color: var(--v88-deep-green);
  color: var(--v88-text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__promo-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-promotions__text-block, .page-promotions__hero-description {
    font-size: 1em;
    line-height: 1.6;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__hero-image-wrapper {
    max-height: 300px;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card {
    padding: 20px;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__step-item {
    padding: 20px;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-promotions__video-section {
    padding-top: 10px !important; /* body has --header-offset, this is small additional padding */
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__why-promos,
  .page-promotions__promo-types,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__final-cta,
  .page-promotions__hero-cta-buttons,
  .page-promotions__promo-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
}