/* style/promotions.css */

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

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-promotions__dark-section {
  background-color: var(--qibet-card-bg);
  color: var(--qibet-text-main);
}

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

/* Hero Section */
.page-promotions__hero-section {
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--qibet-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-promotions__hero-description {
  font-size: 1.25rem;
  color: var(--qibet-text-main);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Section Titles */
.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--qibet-gold);
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  color: var(--qibet-text-secondary);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

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

.page-promotions__list li {
  background-color: var(--qibet-deep-green);
  color: var(--qibet-text-main);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05rem;
  border-left: 5px solid var(--qibet-primary);
}

/* Promo 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(--qibet-background);
  border: 1px solid var(--qibet-border);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid var(--qibet-divider);
}

.page-promotions__card-title {
  font-size: 1.7rem;
  color: var(--qibet-gold);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-description {
  font-size: 1rem;
  color: var(--qibet-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  width: 100%;
}

.page-promotions__card-features li {
  color: var(--qibet-text-main);
  font-size: 0.95rem;
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.page-promotions__card-features li::before {
  content: '✓';
  color: var(--qibet-secondary);
  position: absolute;
  left: 0;
  top: 0;
}

/* CTA Buttons */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: var(--qibet-button-gradient);
  color: var(--qibet-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
  opacity: 0.9;
}

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

/* How to Claim Section */
.page-promotions__ordered-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__ordered-list li {
  background-color: var(--qibet-card-bg);
  border: 1px solid var(--qibet-border);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
  counter-increment: step-counter;
  padding-left: 80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions__ordered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  width: 40px;
  height: 40px;
  background: var(--qibet-primary);
  color: var(--qibet-text-main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-promotions__list-title {
  color: var(--qibet-gold);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-promotions__list-description {
  color: var(--qibet-text-secondary);
  font-size: 1rem;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--qibet-gold);
  cursor: pointer;
  position: relative;
  list-style: none;
  outline: none;
}

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

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

.page-promotions__faq-toggle {
  width: 30px;
  height: 30px;
  background-color: var(--qibet-primary);
  color: var(--qibet-text-main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  flex-shrink: 0;
}

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

.page-promotions__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Why Choose Section */
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-promotions__benefits-list li {
  background-color: var(--qibet-card-bg);
  border: 1px solid var(--qibet-border);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions__benefit-title {
  font-size: 1.5rem;
  color: var(--qibet-gold);
  margin-bottom: 10px;
}

.page-promotions__benefit-description {
  font-size: 1rem;
  color: var(--qibet-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-promotions__hero-description {
    font-size: 1.1rem;
  }
  .page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }
  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }
  .page-promotions__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-promotions__text-block {
    font-size: 0.95rem;
  }
  .page-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__promo-card, .page-promotions__ordered-list li, .page-promotions__benefits-list li, .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsiveness */
  .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;
    padding-right: 15px;
  }
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    overflow: hidden !important;
  }

  .page-promotions__promo-card {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 1.4rem;
  }
  .page-promotions__card-description {
    font-size: 0.9rem;
  }
  .page-promotions__ordered-list li {
    padding: 20px 20px 20px 60px;
  }
  .page-promotions__ordered-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    left: 15px;
    top: 20px;
  }
  .page-promotions__list-title {
    font-size: 1.3rem;
  }
  .page-promotions__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
  }
  .page-promotions__benefits-list li {
    padding: 20px;
  }
  .page-promotions__benefit-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
  .page-promotions__hero-description {
    font-size: 0.9rem;
  }
  .page-promotions__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
  .page-promotions__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-promotions__promo-image {
    height: 150px;
  }
}