/* style/blog-xin88-exclusive-welcome-bonus.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-blog-xin88-exclusive-welcome-bonus {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Space for floating buttons */
}

.page-blog-xin88-exclusive-welcome-bonus strong.text-main {
  color: var(--color-text-main);
  font-weight: bold;
}

.page-blog-xin88-exclusive-welcome-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 40px; /* Small top padding, more bottom padding for content */
}

.page-blog-xin88-exclusive-welcome-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-xin88-exclusive-welcome-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-xin88-exclusive-welcome-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0.95) 100%);
  border-radius: 8px;
  margin-top: -80px; /* Overlap image slightly for visual effect, but content is below */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-blog-xin88-exclusive-welcome-bonus__main-title {
  color: var(--color-text-main);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-xin88-exclusive-welcome-bonus__hero-description {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-blog-xin88-exclusive-welcome-bonus__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-blog-xin88-exclusive-welcome-bonus__cta-buttons--bottom {
  margin-top: 40px;
}

.page-blog-xin88-exclusive-welcome-bonus__btn-primary,
.page-blog-xin88-exclusive-welcome-bonus__btn-secondary,
.page-blog-xin88-exclusive-welcome-bonus__btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-blog-xin88-exclusive-welcome-bonus__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid var(--color-button-gradient-start);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-xin88-exclusive-welcome-bonus__btn-primary:hover {
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-xin88-exclusive-welcome-bonus__btn-secondary {
  background: transparent;
  color: var(--color-button-gradient-start);
  border: 2px solid var(--color-button-gradient-start);
}

.page-blog-xin88-exclusive-welcome-bonus__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog-xin88-exclusive-welcome-bonus__btn-inline {
  margin-top: 20px;
  max-width: 300px;
}

.page-blog-xin88-exclusive-welcome-bonus__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--color-background);
  border-radius: 8px;
}

.page-blog-xin88-exclusive-welcome-bonus__section-wrapper {
  margin-bottom: 50px;
  padding: 20px;
  background-color: var(--color-card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
}

.page-blog-xin88-exclusive-welcome-bonus__section-title {
  color: var(--color-gold);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-xin88-exclusive-welcome-bonus__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-glow);
  border-radius: 2px;
}

.page-blog-xin88-exclusive-welcome-bonus__sub-title {
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-xin88-exclusive-welcome-bonus__paragraph {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-blog-xin88-exclusive-welcome-bonus__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-blog-xin88-exclusive-welcome-bonus__list-item {
  background-color: rgba(46, 122, 78, 0.2);
  border-left: 4px solid var(--color-glow);
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: var(--color-text-main);
  font-size: 1rem;
}

.page-blog-xin88-exclusive-welcome-bonus__list-item strong {
  color: var(--color-text-main);
}

.page-blog-xin88-exclusive-welcome-bonus__image-container {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
}

.page-blog-xin88-exclusive-welcome-bonus__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* FAQ Section */
.page-blog-xin88-exclusive-welcome-bonus__faq-list {
  margin-top: 30px;
}

.page-blog-xin88-exclusive-welcome-bonus__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-xin88-exclusive-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-xin88-exclusive-welcome-bonus__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-xin88-exclusive-welcome-bonus__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8);
}

.page-blog-xin88-exclusive-welcome-bonus__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--color-glow);
}

.page-blog-xin88-exclusive-welcome-bonus__faq-answer {
  padding: 0 25px 20px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  /* For div-based FAQ */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-xin88-exclusive-welcome-bonus__faq-item.active .page-blog-xin88-exclusive-welcome-bonus__faq-answer {
  max-height: 500px; /* Arbitrary large value for expansion */
  padding-top: 15px;
}

/* For details/summary native behavior, the max-height/overflow is handled by browser */
.page-blog-xin88-exclusive-welcome-bonus__faq-item[open] .page-blog-xin88-exclusive-welcome-bonus__faq-answer {
  max-height: none; /* Let browser handle */
  padding-top: 15px;
}

/* Floating Buttons */
.page-blog-xin88-exclusive-welcome-bonus__floating-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: rgba(8, 22, 15, 0.95);
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border-top: 1px solid var(--color-divider);
}

.page-blog-xin88-exclusive-welcome-bonus__floating-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  margin: 0 5px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  color: #ffffff;
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  border: 1px solid var(--color-button-gradient-start);
}

.page-blog-xin88-exclusive-welcome-bonus__floating-btn:hover {
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-xin88-exclusive-welcome-bonus__hero-content {
    margin-top: -60px;
  }
  .page-blog-xin88-exclusive-welcome-bonus__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog-xin88-exclusive-welcome-bonus__section-title {
    font-size: 2rem;
  }
  .page-blog-xin88-exclusive-welcome-bonus__sub-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-blog-xin88-exclusive-welcome-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-xin88-exclusive-welcome-bonus__hero-section {
    padding: 10px 0 20px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__hero-image-wrapper {
    max-height: 300px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-xin88-exclusive-welcome-bonus__hero-description {
    font-size: 0.95rem;
  }

  .page-blog-xin88-exclusive-welcome-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__btn-primary,
  .page-blog-xin88-exclusive-welcome-bonus__btn-secondary,
  .page-blog-xin88-exclusive-welcome-bonus__btn-inline {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    margin: 0 auto;
  }

  .page-blog-xin88-exclusive-welcome-bonus__content-area {
    padding: 20px 15px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__section-wrapper {
    padding: 15px;
    margin-bottom: 30px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__sub-title {
    font-size: 1.25rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-xin88-exclusive-welcome-bonus__paragraph,
  .page-blog-xin88-exclusive-welcome-bonus__list-item,
  .page-blog-xin88-exclusive-welcome-bonus__faq-question,
  .page-blog-xin88-exclusive-welcome-bonus__faq-answer p {
    font-size: 0.9rem;
  }

  .page-blog-xin88-exclusive-welcome-bonus__image-container {
    margin: 20px auto;
  }

  .page-blog-xin88-exclusive-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-xin88-exclusive-welcome-bonus__section,
  .page-blog-xin88-exclusive-welcome-bonus__card,
  .page-blog-xin88-exclusive-welcome-bonus__container,
  .page-blog-xin88-exclusive-welcome-bonus__hero-section,
  .page-blog-xin88-exclusive-welcome-bonus__content-area,
  .page-blog-xin88-exclusive-welcome-bonus__section-wrapper,
  .page-blog-xin88-exclusive-welcome-bonus__image-container,
  .page-blog-xin88-exclusive-welcome-bonus__cta-buttons,
  .page-blog-xin88-exclusive-welcome-bonus__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  /* Specific override for hero content to allow smaller horizontal padding */
  .page-blog-xin88-exclusive-welcome-bonus__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-xin88-exclusive-welcome-bonus__floating-buttons {
    padding: 8px 0;
  }

  .page-blog-xin88-exclusive-welcome-bonus__floating-btn {
    font-size: 0.9rem;
    padding: 10px 0;
  }
}