/* style/promotions.css */

/* Base styles for the page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Matching body background */
}

/* --- General Section Styles --- */
.page-promotions__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* --- Color Contrast Classes --- */
.page-promotions__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

/* --- Hero Section --- */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom */
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1; /* Ensure text is above image if any overlap */
  color: #ffffff;
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-promotions__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-promotions__btn-huge {
  padding: 20px 40px;
  font-size: 1.3em;
  min-width: 250px;
}

/* --- Content Area --- */
.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* 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: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__card-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-promotions__game-promo-item {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__game-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__game-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* VIP Section */
.page-promotions__vip-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-promotions__vip-benefits,
.page-promotions__vip-join {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-promotions__vip-subtitle {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-promotions__vip-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promotions__vip-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-promotions__icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-color: #26A9E0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.8em;
}

.page-promotions__icon--star::before { content: '★'; }
.page-promotions__icon--cash::before { content: '$'; }
.page-promotions__icon--gift::before { content: '🎁'; }
.page-promotions__icon--bonus::before { content: '%'; }
.page-promotions__icon--event::before { content: '📅'; }
.page-promotions__icon--check::before { content: '✓'; }
.page-promotions__icon--alert::before { content: '!'; }

.page-promotions__vip-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-promotions__terms-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__terms-subtitle {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
}

.page-promotions__terms-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #26A9E0;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

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

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

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

.page-promotions__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  box-sizing: border-box;
}

.page-promotions__conclusion-content {
  max-width: 900px;
  margin: 0 auto;
}

/* --- General Image Styles --- */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section,
  .page-promotions__content-area,
  .page-promotions__vip-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 30px 15px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
  }

  .page-promotions__intro-text {
    font-size: 1em;
  }

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

  .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-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__promo-grid,
  .page-promotions__game-promo-grid,
  .page-promotions__vip-content,
  .page-promotions__terms-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card,
  .page-promotions__game-promo-item,
  .page-promotions__vip-benefits,
  .page-promotions__vip-join,
  .page-promotions__terms-item {
    padding: 20px;
  }

  .page-promotions__card-image,
  .page-promotions__game-image,
  .page-promotions__vip-image {
    height: 150px;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__content-area,
  .page-promotions__vip-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__faq-answer {
    padding: 10px 20px;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }
}