/* style/blog-xin88-latest-promotions-analysis.css */
/* body đã padding-top: var(--header-offset) */

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

.page-blog-xin88-latest-promotions-analysis {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-xin88-latest-promotions-analysis__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--card-bg-color);
  overflow: hidden;
}

.page-blog-xin88-latest-promotions-analysis__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-blog-xin88-latest-promotions-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-xin88-latest-promotions-analysis__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
}

.page-blog-xin88-latest-promotions-analysis__main-title {
  color: var(--gold-color);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-xin88-latest-promotions-analysis__description {
  color: var(--text-secondary-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-blog-xin88-latest-promotions-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-xin88-latest-promotions-analysis__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid transparent;
}

.page-blog-xin88-latest-promotions-analysis__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-xin88-latest-promotions-analysis__btn-secondary {
  background: var(--card-bg-color);
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  margin-left: 15px;
}

.page-blog-xin88-latest-promotions-analysis__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--card-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-blog-xin88-latest-promotions-analysis__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: var(--text-main-color);
}

.page-blog-xin88-latest-promotions-analysis__section-title {
  color: var(--gold-color);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 15px;
}

.page-blog-xin88-latest-promotions-analysis__text-block {
  color: var(--text-secondary-color);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-xin88-latest-promotions-analysis__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-blog-xin88-latest-promotions-analysis__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  min-height: 450px; /* Ensure cards have similar height */
}

.page-blog-xin88-latest-promotions-analysis__card:hover {
  transform: translateY(-5px);
}

.page-blog-xin88-latest-promotions-analysis__card-image {
  width: 100%;
  max-width: 400px; /* Recommended size for card images */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-xin88-latest-promotions-analysis__card-title {
  color: var(--text-main-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.page-blog-xin88-latest-promotions-analysis__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-blog-xin88-latest-promotions-analysis__step-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  min-height: 380px;
}

.page-blog-xin88-latest-promotions-analysis__step-title {
  color: var(--gold-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-blog-xin88-latest-promotions-analysis__step-text {
  color: var(--text-secondary-color);
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-xin88-latest-promotions-analysis__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-blog-xin88-latest-promotions-analysis__list-item {
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-blog-xin88-latest-promotions-analysis__list-item strong {
  color: var(--text-main-color);
}

.page-blog-xin88-latest-promotions-analysis__faq-container {
  margin-top: 40px;
}

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

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

.page-blog-xin88-latest-promotions-analysis__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-xin88-latest-promotions-analysis__faq-question:hover {
  background-color: var(--border-color);
}

.page-blog-xin88-latest-promotions-analysis__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-blog-xin88-latest-promotions-analysis__faq-answer {
  padding: 15px 25px 20px;
  background-color: var(--card-bg-color);
  color: var(--text-secondary-color);
  font-size: 1rem;
  border-top: 1px solid var(--divider-color);
}

.page-blog-xin88-latest-promotions-analysis__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-xin88-latest-promotions-analysis__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog-xin88-latest-promotions-analysis__section-title {
    font-size: 1.8rem;
  }

  .page-blog-xin88-latest-promotions-analysis__card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-blog-xin88-latest-promotions-analysis {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-xin88-latest-promotions-analysis__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-blog-xin88-latest-promotions-analysis__hero-content {
    padding: 0 15px;
  }

  .page-blog-xin88-latest-promotions-analysis__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-xin88-latest-promotions-analysis__description {
    font-size: 1rem;
  }

  .page-blog-xin88-latest-promotions-analysis__cta-button {
    width: 100% !important;
    margin: 0 0 15px 0 !important; /* Remove margin-left for secondary button */
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-xin88-latest-promotions-analysis__cta-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-xin88-latest-promotions-analysis__content-area {
    padding: 30px 15px;
  }

  .page-blog-xin88-latest-promotions-analysis__section-title {
    font-size: 1.6rem;
    margin-top: 40px;
  }

  .page-blog-xin88-latest-promotions-analysis__text-block {
    font-size: 0.95rem;
  }

  .page-blog-xin88-latest-promotions-analysis__grid-container,
  .page-blog-xin88-latest-promotions-analysis__steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-xin88-latest-promotions-analysis__card {
    padding: 20px;
    min-height: auto;
  }

  .page-blog-xin88-latest-promotions-analysis__card-image {
    height: auto;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-blog-xin88-latest-promotions-analysis__step-card {
    padding: 20px;
    min-height: auto;
  }

  .page-blog-xin88-latest-promotions-analysis__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-xin88-latest-promotions-analysis__faq-answer {
    padding: 15px 20px;
  }

  .page-blog-xin88-latest-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-xin88-latest-promotions-analysis__hero-image-wrapper,
  .page-blog-xin88-latest-promotions-analysis__section,
  .page-blog-xin88-latest-promotions-analysis__card,
  .page-blog-xin88-latest-promotions-analysis__container,
  .page-blog-xin88-latest-promotions-analysis__grid-container,
  .page-blog-xin88-latest-promotions-analysis__steps-container,
  .page-blog-xin88-latest-promotions-analysis__faq-container,
  .page-blog-xin88-latest-promotions-analysis__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-blog-xin88-latest-promotions-analysis__cta-bottom {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure body padding-top is handled by shared.css */
/* This page's CSS should not duplicate body padding-top */
.page-blog-xin88-latest-promotions-analysis__video-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
}

.page-blog-xin88-latest-promotions-analysis__video-container {
  width: 100%; /* Ensure desktop width is 100% */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Specific contrast adjustments if needed */
.page-blog-xin88-latest-promotions-analysis__dark-bg {
  color: var(--text-main-color);
}

.page-blog-xin88-latest-promotions-analysis__light-bg {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
}

.page-blog-xin88-latest-promotions-analysis__card .page-blog-xin88-latest-promotions-analysis__cta-button {
  margin-top: auto; /* Push button to bottom of card */
}