/* style/promotions.css */

:root {
  --ph88-primary-color: #26A9E0;
  --ph88-secondary-color: #FFFFFF;
  --ph88-login-color: #EA7C07;
  --ph88-background-color: #0a0a0a; /* Body background from shared.css */
  --ph88-text-light: #ffffff;
  --ph88-text-dark: #333333;
  --ph88-card-bg: rgba(255, 255, 255, 0.08); /* Semi-transparent for dark body */
}

.page-promotions {
  color: var(--ph88-text-light); /* Default text color for dark body */
  background-color: var(--ph88-background-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: var(--ph88-text-light);
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #0d0d0d; /* Darker background for hero */
}

.page-promotions__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  text-align: center;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-promotions__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ph88-secondary-color);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem); /* Responsive font size */
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  color: var(--ph88-primary-color);
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background-color: var(--ph88-primary-color);
  color: var(--ph88-secondary-color);
  border: 2px solid var(--ph88-primary-color);
}

.page-promotions__btn-primary:hover {
  background-color: #1e8dc7;
  border-color: #1e8dc7;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--ph88-primary-color);
  border: 2px solid var(--ph88-primary-color);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--ph88-primary-color);
  color: var(--ph88-secondary-color);
  transform: translateY(-2px);
}

.page-promotions__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px; /* Limit width for single centered button */
}

.page-promotions__promo-card {
  background: var(--ph88-card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--ph88-text-light);
}

.page-promotions__promo-card-title {
  font-size: 1.7rem;
  color: var(--ph88-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__promo-card-text {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

.page-promotions__step-item {
  background: var(--ph88-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--ph88-text-light);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--ph88-primary-color);
  color: var(--ph88-secondary-color);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: var(--ph88-secondary-color);
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.page-promotions__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__why-choose-list li {
  background: var(--ph88-card-bg);
  padding: 15px 25px;
  margin-bottom: 15px;
  border-left: 5px solid var(--ph88-primary-color);
  border-radius: 8px;
  font-size: 1.05rem;
  color: #e0e0e0;
}

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

.page-promotions__faq-item {
  background: var(--ph88-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--ph88-text-light);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--ph88-secondary-color);
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ph88-primary-color);
  margin-left: 15px;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-promotions__cta-final-section {
  background-color: var(--ph88-primary-color);
  color: var(--ph88-secondary-color);
  padding: 80px 20px;
}

.page-promotions__cta-final-section .page-promotions__section-title {
  color: var(--ph88-secondary-color);
}

.page-promotions__cta-final-section .page-promotions__section-description {
  color: var(--ph88-secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-promotions__promo-card-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions__hero-content {
    margin-top: 20px;
  }
  .page-promotions__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__btn-center {
    max-width: 100%;
  }
  .page-promotions__image-content,
  .page-promotions__promo-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__why-choose-list li,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-promotions__cta-final-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-promotions__promo-card-title {
    font-size: 1.3rem;
  }
  .page-promotions__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .page-promotions__step-title {
    font-size: 1.2rem;
  }
}