/* style/promotions.css */

:root {
  --manclub-primary: #FF8C1A;
  --manclub-secondary: #FFA53A;
  --manclub-bg-dark: #0D0E12;
  --manclub-card-bg: #17191F;
  --manclub-text-light: #FFF3E6;
  --manclub-border-orange: #A84F0C;
  --manclub-glow: #FFB04D;
  --manclub-deep-orange: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-promotions {
  background-color: var(--manclub-bg-dark);
  color: var(--manclub-text-light);
  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: 10px 0 60px 0; /* body already handles --header-offset, only small decorative top padding here */
  background-color: var(--manclub-bg-dark);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px; /* Space between image and text */
}

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

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  color: var(--manclub-secondary);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
}

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

.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;
  font-size: 1.05em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
  filter: brightness(1.1);
}

.page-promotions__btn-secondary {
  background: var(--manclub-card-bg);
  color: var(--manclub-secondary);
  border: 2px solid var(--manclub-secondary);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

.page-promotions__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--manclub-secondary);
  color: var(--manclub-bg-dark);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--manclub-secondary);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 0 0 8px rgba(255, 165, 58, 0.3);
}

.page-promotions__text-block {
  font-size: 1.05em;
  color: var(--manclub-text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Featured Promotions */
.page-promotions__featured-promotions {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

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

.page-promotions__card {
  background-color: var(--manclub-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--manclub-border-orange);
}

.page-promotions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--manclub-secondary);
  padding: 20px 25px 10px;
  margin: 0;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: var(--manclub-text-light);
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: block;
  width: calc(100% - 50px);
  margin: 0 25px 25px;
  padding: 12px 20px;
  text-align: center;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-promotions__card-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Welcome Offer Section */
.page-promotions__welcome-offer {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

.page-promotions__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

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

.page-promotions__grid-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-promotions__grid-title {
  font-size: 1.4em;
  color: var(--manclub-secondary);
  margin-bottom: 15px;
}

.page-promotions__grid-text {
  font-size: 1em;
  color: var(--manclub-text-light);
}

/* Cashback Section */
.page-promotions__cashback-section {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

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

.page-promotions__list-item {
  background-color: var(--manclub-card-bg);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 10px;
  font-size: 1.05em;
  color: var(--manclub-text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--manclub-secondary);
  transition: transform 0.2s ease;
}

.page-promotions__list-item:hover {
  transform: translateX(5px);
}

/* Reload Offers Section */
.page-promotions__reload-offers {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

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

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

.page-promotions__offer-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__offer-title {
  font-size: 1.3em;
  color: var(--manclub-secondary);
  margin-bottom: 10px;
}

.page-promotions__offer-description {
  font-size: 0.95em;
  color: var(--manclub-text-light);
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

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

.page-promotions__terms-item {
  background-color: var(--manclub-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--manclub-primary);
}

.page-promotions__terms-title {
  font-size: 1.2em;
  color: var(--manclub-primary);
  margin-bottom: 10px;
}

.page-promotions__terms-text {
  font-size: 0.95em;
  color: var(--manclub-text-light);
}

/* Maximize Tips Section */
.page-promotions__maximize-tips {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

.page-promotions__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-promotions__tip-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-promotions__tip-title {
  font-size: 1.3em;
  color: var(--manclub-secondary);
  margin-bottom: 10px;
}

.page-promotions__tip-text {
  font-size: 0.95em;
  color: var(--manclub-text-light);
}

/* About Manclub Section */
.page-promotions__about-manclub {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

.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(--manclub-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--manclub-border-orange);
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-promotions__feature-title {
  font-size: 1.3em;
  color: var(--manclub-secondary);
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  font-size: 0.95em;
  color: var(--manclub-text-light);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--manclub-bg-dark);
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--manclub-text-light);
  cursor: pointer;
  background-color: var(--manclub-card-bg);
  transition: background-color 0.3s ease;
  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:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--manclub-primary);
  color: #ffffff;
}

.page-promotions__faq-item[open] .page-promotions__faq-question .page-promotions__faq-toggle {
  color: #ffffff;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--manclub-secondary);
}

.page-promotions__faq-item[open] .page-promotions__faq-qtext {
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: var(--manclub-primary);
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--manclub-text-light);
  line-height: 1.7;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* General padding for sections */
.page-promotions__hero-section,
.page-promotions__featured-promotions,
.page-promotions__welcome-offer,
.page-promotions__cashback-section,
.page-promotions__reload-offers,
.page-promotions__terms-conditions,
.page-promotions__maximize-tips,
.page-promotions__about-manclub,
.page-promotions__faq-section {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-promotions__promotion-cards,
  .page-promotions__content-grid,
  .page-promotions__offer-grid,
  .page-promotions__terms-grid,
  .page-promotions__tips-list,
  .page-promotions__features-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__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    padding-top: 40px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions__featured-promotions,
  .page-promotions__welcome-offer,
  .page-promotions__cashback-section,
  .page-promotions__reload-offers,
  .page-promotions__terms-conditions,
  .page-promotions__maximize-tips,
  .page-promotions__about-manclub,
  .page-promotions__faq-section {
    padding: 40px 15px;
  }

  .page-promotions__promotion-cards,
  .page-promotions__content-grid,
  .page-promotions__offer-grid,
  .page-promotions__terms-grid,
  .page-promotions__tips-list,
  .page-promotions__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-promotions__card,
  .page-promotions__grid-item,
  .page-promotions__offer-item,
  .page-promotions__terms-item,
  .page-promotions__tip-item,
  .page-promotions__feature-item {
    padding: 20px;
  }

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

  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__list-item {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-promotions__faq-answer {
    font-size: 0.95em;
    padding: 10px 20px 15px;
  }

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

  .page-promotions__hero-image-wrapper,
  .page-promotions__promotion-cards,
  .page-promotions__content-grid,
  .page-promotions__offer-grid,
  .page-promotions__terms-grid,
  .page-promotions__tips-list,
  .page-promotions__features-grid,
  .page-promotions__faq-list,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-image {
    width: 100%;
    height: auto;
  }

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