/* style/promotions-latest-offers.css */

/* Base styles for the page */
.page-promotions-latest-offers {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color */
}

.page-promotions-latest-offers a {
  color: #57E38D;
  text-decoration: none;
}

.page-promotions-latest-offers a:hover {
  text-decoration: underline;
}

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

.page-promotions-latest-offers__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-latest-offers__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.page-promotions-latest-offers__text-block {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-latest-offers__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-promotions-latest-offers__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text contrast */
}

.page-promotions-latest-offers__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #F2FFF6;
  padding: 20px;
}

.page-promotions-latest-offers__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-latest-offers__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-promotions-latest-offers__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions-latest-offers__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-latest-offers__cta-button--small {
  font-size: 1em;
  padding: 12px 25px;
}

.page-promotions-latest-offers__cta-button--large {
  font-size: 1.4em;
  padding: 18px 35px;
}

/* Promotion Types Grid */
.page-promotions-latest-offers__promotion-types {
  background-color: #0A4B2C;
}

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

.page-promotions-latest-offers__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F2FFF6;
}

.page-promotions-latest-offers__card:hover {
  transform: translateY(-8px);
}

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

.page-promotions-latest-offers__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-promotions-latest-offers__card-text {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-latest-offers__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 0.95em;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-latest-offers__card-button:hover {
  filter: brightness(1.1);
}

/* How To Claim Section */
.page-promotions-latest-offers__how-to-claim {
  background-color: #08160F;
}

.page-promotions-latest-offers__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-offers__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-promotions-latest-offers__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #11A84E;
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-promotions-latest-offers__step-content {
  flex-grow: 1;
}

.page-promotions-latest-offers__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 5px;
}

.page-promotions-latest-offers__step-content p {
  color: #A7D9B8;
}

.page-promotions-latest-offers__process-image {
  margin-top: 50px;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Why Q8bet Section */
.page-promotions-latest-offers__why-q8bet {
  background-color: #11271B;
}

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

.page-promotions-latest-offers__feature-card {
  background-color: #0A4B2C;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-promotions-latest-offers__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-promotions-latest-offers__feature-text {
  color: #A7D9B8;
}

.page-promotions-latest-offers__advantage-image {
  margin-top: 50px;
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-promotions-latest-offers__faq-section {
  background-color: #08160F;
}

.page-promotions-latest-offers__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions-latest-offers__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  border-bottom: 1px solid transparent; /* To prevent double border on open */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions-latest-offers__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions-latest-offers__faq-item[open] > .page-promotions-latest-offers__faq-question {
  background-color: #0A4B2C;
  border-bottom: 1px solid #2E7A4E;
}

.page-promotions-latest-offers__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-promotions-latest-offers__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-promotions-latest-offers__faq-answer p {
  margin-bottom: 0;
}

/* Bottom CTA */
.page-promotions-latest-offers__cta-bottom {
  background-color: #0A4B2C;
  padding: 80px 0;
}

.page-promotions-latest-offers__cta-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-latest-offers__section-title--cta {
  color: #F2FFF6;
  margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-latest-offers__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-offers__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-promotions-latest-offers__hero-content {
    padding: 15px;
  }

  .page-promotions-latest-offers__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-promotions-latest-offers__hero-description {
    font-size: 1em;
  }

  .page-promotions-latest-offers__section {
    padding: 40px 0;
  }

  .page-promotions-latest-offers__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

  .page-promotions-latest-offers__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__cta-button,
  .page-promotions-latest-offers__cta-button--small,
  .page-promotions-latest-offers__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-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-latest-offers__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__card {
    padding: 20px;
  }

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

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

  .page-promotions-latest-offers__step-list {
    padding: 0 15px;
  }

  .page-promotions-latest-offers__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions-latest-offers__step-number {
    margin-bottom: 15px;
  }

  .page-promotions-latest-offers__process-image,
  .page-promotions-latest-offers__advantage-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__faq-list {
    padding: 0 15px;
  }

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

  .page-promotions-latest-offers__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-promotions-latest-offers__cta-bottom {
    padding: 60px 0;
  }

  .page-promotions-latest-offers__cta-bottom-content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-latest-offers__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }
  .page-promotions-latest-offers__hero-description {
    font-size: 0.9em;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 1.8em;
  }
  .page-promotions-latest-offers__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-promotions-latest-offers__card-image {
    height: 150px;
  }
  .page-promotions-latest-offers__card-title {
    font-size: 1.2em;
  }
}