/* style/promotions.css */
:root {
  --page-promotions-bg: #08160F;
  --page-promotions-card-bg: #11271B;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-border: #2E7A4E;
  --page-promotions-glow: #57E38D;
  --page-promotions-gold: #F2C14E;
  --page-promotions-divider: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--page-promotions-bg);
  color: var(--page-promotions-text-main);
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  overflow: hidden;
}

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

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

.page-promotions__hero-content {
  position: relative; /* Ensure content is above image if any overlap */
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over image slightly */
  background-color: rgba(17, 39, 27, 0.85); /* Card BG with transparency for contrast */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--page-promotions-text-main);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--page-promotions-glow);
}

.page-promotions__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-promotions__text-content {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__cta-button {
  display: inline-block;
  background: var(--page-promotions-button-gradient);
  color: var(--page-promotions-text-main);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-promotions-glow);
}

.page-promotions__cta-button--secondary {
  background: none;
  border: 2px solid var(--page-promotions-glow);
  color: var(--page-promotions-glow);
  margin-left: 20px;
}

.page-promotions__cta-button--secondary:hover {
  background: var(--page-promotions-glow);
  color: var(--page-promotions-bg);
}

.page-promotions__intro-section,
.page-promotions__promo-types,
.page-promotions__game-specific,
.page-promotions__vip-section,
.page-promotions__how-to-claim,
.page-promotions__why-choose,
.page-promotions__faq-section,
.page-promotions__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-promotions-divider);
}

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

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--page-promotions-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 10px var(--page-promotions-glow);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-promotions__card-button {
  display: inline-block;
  background: var(--page-promotions-deep-green);
  color: var(--page-promotions-text-main);
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__card-button:hover {
  background-color: var(--page-promotions-glow);
  color: var(--page-promotions-bg);
  transform: translateY(-2px);
}

.page-promotions__vip-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-promotions__vip-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--page-promotions-border);
}

.page-promotions__vip-text {
  flex: 1;
  min-width: 300px;
}

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

.page-promotions__benefit-item {
  display: flex;
  align-items: center;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-promotions__benefit-icon {
  color: var(--page-promotions-gold);
  font-size: 1.5rem;
  margin-right: 10px;
}

.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid var(--page-promotions-glow);
}

.page-promotions__step-title {
  font-size: 1.3rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-item p {
  color: var(--page-promotions-text-secondary);
  font-size: 0.95rem;
}

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

.page-promotions__feature-item {
  background-color: var(--page-promotions-card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-border);
  transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
}

.page-promotions__feature-icon {
  font-size: 3rem;
  color: var(--page-promotions-glow);
  margin-bottom: 15px;
  display: block;
}

.page-promotions__feature-title {
  font-size: 1.4rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__feature-item p {
  color: var(--page-promotions-text-secondary);
  font-size: 0.95rem;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--page-promotions-text-main);
  cursor: pointer;
  background-color: var(--page-promotions-deep-green);
  border-bottom: 1px solid var(--page-promotions-divider);
  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::-webkit-details-marker {
  display: none;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  color: var(--page-promotions-glow);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  background-color: var(--page-promotions-card-bg);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-promotions__vip-content {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__vip-image {
    max-width: 100%;
  }
  .page-promotions__vip-text {
    min-width: unset;
  }
  .page-promotions__benefit-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    border-radius: 10px;
  }

  .page-promotions__main-title {
    font-size: 2rem;
  }

  .page-promotions__description {
    font-size: 0.95rem;
  }

  .page-promotions__section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .page-promotions__intro-section,
  .page-promotions__promo-types,
  .page-promotions__game-specific,
  .page-promotions__vip-section,
  .page-promotions__how-to-claim,
  .page-promotions__why-choose,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__card-grid,
  .page-promotions__feature-list {
    gap: 20px;
    margin-top: 30px;
  }

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

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

  .page-promotions__cta-button {
    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;
    margin-left: 0 !important;
  }

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

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promo-types,
  .page-promotions__game-specific,
  .page-promotions__vip-section,
  .page-promotions__how-to-claim,
  .page-promotions__why-choose,
  .page-promotions__faq-section,
  .page-promotions__cta-section,
  .page-promotions__vip-content,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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