/* style/promotions.css */

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

.page-promotions {
  background-color: var(--background-color-page);
  color: var(--text-main-color);
  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__section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-promotions__section-title {
  font-size: 2.8em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is decorative */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.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: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image */
  background: linear-gradient(0deg, var(--background-color-page) 50%, transparent 100%);
  padding-top: 150px;
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(var(--primary-color), 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-color), 0.6);
  filter: brightness(1.1);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color-page);
  transform: translateY(-2px);
}

.page-promotions__why-choose-us .page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__feature-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: var(--text-main-color);
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  color: var(--text-secondary-color);
}

.page-promotions__promotion-types .page-promotions__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__type-card {
  background-color: var(--background-color-page);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__type-title {
  font-size: 1.6em;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-promotions__type-text {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__type-card .page-promotions__btn-primary {
  width: fit-content;
  align-self: flex-start;
}

.page-promotions__how-to-claim .page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__step-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--background-color-page);
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.5em;
  color: var(--text-main-color);
  margin-bottom: 10px;
}

.page-promotions__step-text {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-promotions__featured-promos .page-promotions__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__promo-card {
  background-color: var(--background-color-page);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-title {
  font-size: 1.6em;
  color: var(--text-main-color);
  margin-bottom: 10px;
}

.page-promotions__promo-text {
  color: var(--text-secondary-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions__promo-date {
  font-size: 0.9em;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  display: block;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  width: fit-content;
  align-self: flex-start;
}

.page-promotions__responsible-gaming .page-promotions__btn-secondary {
  margin-top: 30px;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: var(--background-color-page);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: var(--text-main-color);
  font-weight: bold;
  cursor: pointer;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-promotions__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-promotions__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

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

.page-promotions__final-cta .page-promotions__cta-buttons {
  margin-top: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -100px;
    padding-top: 100px;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__hero-content {
    margin-top: -80px;
    padding-top: 80px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-promotions__hero-description,
  .page-promotions__section-description {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-promotions__why-choose-us .page-promotions__features-grid,
  .page-promotions__promotion-types .page-promotions__types-grid,
  .page-promotions__how-to-claim .page-promotions__steps-grid,
  .page-promotions__featured-promos .page-promotions__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__feature-item,
  .page-promotions__type-card,
  .page-promotions__step-item,
  .page-promotions__promo-card {
    padding: 20px;
  }
  .page-promotions__promo-image {
    height: 180px; /* Adjust height for smaller screens */
  }
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__type-card,
  .page-promotions__feature-item,
  .page-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; /* Already handled by .page-promotions__container */
    /* padding-right: 15px; */
  }
  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 1em;
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 2em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-content {
    margin-top: -60px;
    padding-top: 60px;
  }
  .page-promotions__promo-image {
    height: 150px;
  }
}