/* style/promotions-new-player-bonus-details.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-promotions-new-player-bonus-details {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so use light text */
  background-color: var(--bg-dark); /* Inherited from shared.css, specified for clarity */
  padding-top: 120px; /* Ensure content is not hidden by fixed header on desktop */
}

.page-promotions-new-player-bonus-details__hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(139, 0, 0, 0.7) 50%, rgba(255, 215, 0, 0.2) 100%), url('[GALLERY:hero:3win nổ hủ,khuyến mãi đăng ký,banner]') no-repeat center center/cover;
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus-details__hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-promotions-new-player-bonus-details__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-promotions-new-player-bonus-details__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-promotions-new-player-bonus-details__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-player-bonus-details__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions-new-player-bonus-details__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-player-bonus-details__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark);
}

.page-promotions-new-player-bonus-details__btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus-details__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__btn-secondary:hover {
  background: #6e0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus-details__content-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions-new-player-bonus-details__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-player-bonus-details__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__text-block strong {
  color: var(--primary-color);
}

.page-promotions-new-player-bonus-details__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-new-player-bonus-details__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-new-player-bonus-details__step-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions-new-player-bonus-details__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-player-bonus-details__step-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-new-player-bonus-details__step-description {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__step-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-color-dark);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-player-bonus-details__step-button:hover {
  background: #e6b800;
}

.page-promotions-new-player-bonus-details__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-promotions-new-player-bonus-details__terms-list li {
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__terms-list h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions-new-player-bonus-details__terms-list p {
  font-size: 16px;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__btn-bottom-cta {
  display: block;
  width: fit-content;
  margin: 0 auto 60px auto;
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-player-bonus-details__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-new-player-bonus-details__benefit-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions-new-player-bonus-details__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-player-bonus-details__benefit-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-new-player-bonus-details__benefit-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-new-player-bonus-details__benefit-card p {
  font-size: 16px;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__why-choose-list {
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
}

.page-promotions-new-player-bonus-details__why-choose-list li {
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__why-choose-list li strong {
  color: var(--primary-color);
  font-size: 20px;
}

/* FAQ common styles */
.page-promotions-new-player-bonus-details__faq-list {
  margin-top: 40px;
}

.page-promotions-new-player-bonus-details__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-player-bonus-details__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__faq-question:hover {
  background: #a30000;
  border-color: #ffcc00;
}

.page-promotions-new-player-bonus-details__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light);
}

.page-promotions-new-player-bonus-details__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions-new-player-bonus-details__faq-item.active .page-promotions-new-player-bonus-details__faq-toggle {
  color: var(--text-color-light);
  transform: rotate(45deg); /* Changed to rotate for a more dynamic look */
}

.page-promotions-new-player-bonus-details__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--card-bg-dark);
  color: var(--text-color-light);
  border-radius: 0 0 8px 8px;
  border-left: 1px solid rgba(255, 215, 0, 0.2);
  border-right: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions-new-player-bonus-details__faq-item.active .page-promotions-new-player-bonus-details__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions-new-player-bonus-details__final-cta {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-player-bonus-details__main-title {
    font-size: 40px;
  }
  .page-promotions-new-player-bonus-details__hero-description {
    font-size: 18px;
  }
  .page-promotions-new-player-bonus-details__section-title {
    font-size: 32px;
  }
  .page-promotions-new-player-bonus-details__image-content {
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-player-bonus-details {
    padding-top: 100px !important; /* Ensure content is not hidden by fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-new-player-bonus-details__hero-section {
    padding: 60px 15px;
  }

  .page-promotions-new-player-bonus-details__hero-container,
  .page-promotions-new-player-bonus-details__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-new-player-bonus-details__main-title {
    font-size: 32px;
  }

  .page-promotions-new-player-bonus-details__hero-description {
    font-size: 16px;
  }

  .page-promotions-new-player-bonus-details__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-new-player-bonus-details__cta-button {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-promotions-new-player-bonus-details__content-section {
    padding: 40px 15px;
  }

  .page-promotions-new-player-bonus-details__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-promotions-new-player-bonus-details__text-block {
    font-size: 16px;
  }

  .page-promotions-new-player-bonus-details__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-promotions-new-player-bonus-details__step-card,
  .page-promotions-new-player-bonus-details__benefit-card {
    padding: 20px;
  }

  .page-promotions-new-player-bonus-details__step-title,
  .page-promotions-new-player-bonus-details__benefit-card h3 {
    font-size: 20px;
  }

  .page-promotions-new-player-bonus-details__step-description,
  .page-promotions-new-player-bonus-details__benefit-card p {
    font-size: 15px;
  }

  .page-promotions-new-player-bonus-details__step-button {
    padding: 10px 20px;
    font-size: 14px;
    width: 100% !important;
  }

  .page-promotions-new-player-bonus-details__terms-list li,
  .page-promotions-new-player-bonus-details__why-choose-list li {
    padding: 20px;
  }

  .page-promotions-new-player-bonus-details__terms-list h3 {
    font-size: 20px;
  }

  .page-promotions-new-player-bonus-details__terms-list p,
  .page-promotions-new-player-bonus-details__why-choose-list li {
    font-size: 16px;
  }
  
  .page-promotions-new-player-bonus-details__btn-bottom-cta {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-promotions-new-player-bonus-details__faq-question {
    padding: 15px 20px;
  }

  .page-promotions-new-player-bonus-details__faq-question h3 {
    font-size: 16px;
  }

  .page-promotions-new-player-bonus-details__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-promotions-new-player-bonus-details__faq-answer {
    padding: 0 20px;
  }

  .page-promotions-new-player-bonus-details__faq-item.active .page-promotions-new-player-bonus-details__faq-answer {
    padding: 15px 20px !important;
  }

  .page-promotions-new-player-bonus-details__benefit-icon {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-player-bonus-details__main-title {
    font-size: 28px;
  }
  .page-promotions-new-player-bonus-details__section-title {
    font-size: 24px;
  }
  .page-promotions-new-player-bonus-details__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-promotions-new-player-bonus-details__faq-question h3 {
    font-size: 15px;
  }
  .page-promotions-new-player-bonus-details__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
}