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

.page-promotions {
  background-color: var(--lk88-background);
  color: var(--lk88-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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-promotions__main-title {
  color: var(--lk88-gold);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-promotions__hero-description {
  color: var(--lk88-text-main);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

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

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

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

.page-promotions__intro-section,
.page-promotions__promo-types-section,
.page-promotions__guide-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-bottom-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--lk88-divider);
}

.page-promotions__intro-section p,
.page-promotions__terms-section p,
.page-promotions__cta-bottom-section p {
  color: var(--lk88-text-secondary);
  text-align: center;
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-promotions__intro-section .page-promotions__cta-button--small {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 1rem;
}

.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: var(--lk88-card-bg);
  border: 1px solid var(--lk88-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--lk88-glow);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--lk88-divider);
}

.page-promotions__card-title {
  font-size: 1.4rem;
  color: var(--lk88-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  color: var(--lk88-glow);
}

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

.page-promotions__card-button {
  display: inline-block;
  background: var(--lk88-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-promotions__card-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions__guide-steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-promotions__guide-image {
  flex: 1 1 45%;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--lk88-border);
}

.page-promotions__steps-list {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-promotions__step-item {
  background-color: var(--lk88-card-bg);
  border: 1px solid var(--lk88-border);
  border-radius: 10px;
  padding: 20px;
  position: relative;
  padding-left: 70px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__step-number {
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: var(--lk88-primary-color);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  color: var(--lk88-text-main);
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__step-description {
  color: var(--lk88-text-secondary);
  font-size: 0.95rem;
}

.page-promotions__step-description a {
  color: var(--lk88-glow);
  text-decoration: none;
}

.page-promotions__step-description a:hover {
  text-decoration: underline;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__terms-item {
  background-color: var(--lk88-card-bg);
  border: 1px solid var(--lk88-border);
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  color: var(--lk88-text-secondary);
  line-height: 1.5;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-item strong {
  color: var(--lk88-text-main);
}

.page-promotions__terms-item a {
  color: var(--lk88-glow);
  text-decoration: none;
}

.page-promotions__terms-item a:hover {
  text-decoration: underline;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  background-color: var(--lk88-card-bg);
  border: 1px solid var(--lk88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--lk88-text-main);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: var(--lk88-deep-green);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--lk88-deep-green);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--lk88-glow);
}

.page-promotions__faq-answer {
  padding: 0 25px 18px 25px;
  color: var(--lk88-text-secondary);
  line-height: 1.5;
  font-size: 0.95rem;
}

.page-promotions__cta-bottom-section {
  text-align: center;
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
  margin-bottom: 20px;
}

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

.page-promotions__cta-button--primary {
  background: var(--lk88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__cta-button--secondary {
  background: transparent;
  color: var(--lk88-glow);
  border: 2px solid var(--lk88-glow);
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-promotions__guide-image {
    max-width: 100%;
    flex: 1 1 100%;
    order: -1; /* Image above steps on smaller screens */
  }
  .page-promotions__steps-list {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-content {
    padding: 30px 15px;
  }

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

  .page-promotions__hero-description {
    font-size: 0.95rem;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__guide-steps-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .page-promotions__guide-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-promotions__steps-list {
    gap: 15px;
  }

  .page-promotions__step-item {
    padding: 15px;
    padding-left: 60px;
  }

  .page-promotions__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    left: 15px;
    top: 15px;
  }

  .page-promotions__step-title {
    font-size: 1.1rem;
  }

  .page-promotions__terms-item,
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__cta-button,
  .page-promotions__cta-button--primary,
  .page-promotions__cta-button--secondary {
    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__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-section,
  .page-promotions__promo-card,
  .page-promotions__guide-steps-wrapper,
  .page-promotions__cta-bottom-section,
  .page-promotions__cta-buttons-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}