/* style/blog-x888-gameplay-deep-dive.css */

/* Biến màu tùy chỉnh */
:root {
  --x888-primary-color: #11A84E;
  --x888-secondary-color: #22C768;
  --x888-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --x888-card-bg: #11271B;
  --x888-background: #08160F;
  --x888-text-main: #F2FFF6;
  --x888-text-secondary: #A7D9B8;
  --x888-border-color: #2E7A4E;
  --x888-glow-color: #57E38D;
  --x888-gold-color: #F2C14E;
  --x888-divider-color: #1E3A2A;
  --x888-deep-green: #0A4B2C;
}

/* Tổng thể trang */
.page-blog-x888-gameplay-deep-dive {
  font-family: 'Arial', sans-serif;
  color: var(--x888-text-main); /* Màu chữ chính trên nền tối */
  background-color: var(--x888-background); /* Nền chính của trang */
  line-height: 1.6;
}

/* Container chung */
.page-blog-x888-gameplay-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Tiêu đề phần */
.page-blog-x888-gameplay-deep-dive__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); /* Sử dụng clamp cho H1 */
  font-weight: 700;
  color: var(--x888-gold-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Tiêu đề phụ game */
.page-blog-x888-gameplay-deep-dive__game-subtitle {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 600;
  color: var(--x888-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

/* Khối văn bản */
.page-blog-x888-gameplay-deep-dive__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--x888-text-main);
  text-align: justify;
}

/* Hero Section */
.page-blog-x888-gameplay-deep-dive__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog-x888-gameplay-deep-dive__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-blog-x888-gameplay-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-x888-gameplay-deep-dive__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 30px 20px;
  background: rgba(8, 22, 15, 0.8); /* var(--x888-background) with opacity */
  border-radius: 15px;
  margin-top: -100px; /* Overlap slightly with image for visual appeal */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--x888-border-color);
}

.page-blog-x888-gameplay-deep-dive__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--x888-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-x888-gameplay-deep-dive__hero-description {
  font-size: 1.2rem;
  color: var(--x888-text-secondary);
  margin-bottom: 30px;
}

/* Buttons */
.page-blog-x888-gameplay-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-x888-gameplay-deep-dive__btn-primary,
.page-blog-x888-gameplay-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-x888-gameplay-deep-dive__btn-primary {
  background: var(--x888-button-gradient);
  color: var(--x888-text-main);
  border: 2px solid var(--x888-primary-color);
}

.page-blog-x888-gameplay-deep-dive__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-x888-gameplay-deep-dive__btn-secondary {
  background: transparent;
  color: var(--x888-primary-color);
  border: 2px solid var(--x888-primary-color);
}

.page-blog-x888-gameplay-deep-dive__btn-secondary:hover {
  background: var(--x888-primary-color);
  color: var(--x888-text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(17, 168, 78, 0.3);
}

/* Dark background sections */
.page-blog-x888-gameplay-deep-dive__dark-bg {
  background-color: var(--x888-card-bg);
  color: var(--x888-text-main);
  padding: 60px 20px;
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--x888-divider-color);
}

/* Image styles */
.page-blog-x888-gameplay-deep-dive__game-image,
.page-blog-x888-gameplay-deep-dive__app-image,
.page-blog-x888-gameplay-deep-dive__trust-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Recommended max-width for content images */
}

/* Game Categories */
.page-blog-x888-gameplay-deep-dive__game-category {
  margin-bottom: 60px;
  padding: 30px;
  background: var(--x888-card-bg);
  border-radius: 15px;
  border: 1px solid var(--x888-border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-blog-x888-gameplay-deep-dive__faq-list {
  margin-top: 30px;
}

.page-blog-x888-gameplay-deep-dive__faq-item {
  background-color: var(--x888-card-bg);
  border: 1px solid var(--x888-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog-x888-gameplay-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--x888-text-main);
  font-size: 1.1rem;
  background-color: var(--x888-deep-green);
  user-select: none;
  list-style: none;
}

.page-blog-x888-gameplay-deep-dive__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-x888-gameplay-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-x888-gameplay-deep-dive__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--x888-gold-color);
}

.page-blog-x888-gameplay-deep-dive__faq-answer {
  padding: 0 20px 20px;
  color: var(--x888-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.page-blog-x888-gameplay-deep-dive__faq-item[open] .page-blog-x888-gameplay-deep-dive__faq-question {
  background-color: var(--x888-primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-x888-gameplay-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-x888-gameplay-deep-dive__container,
  .page-blog-x888-gameplay-deep-dive__hero-content,
  .page-blog-x888-gameplay-deep-dive__dark-bg,
  .page-blog-x888-gameplay-deep-dive__game-category {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-x888-gameplay-deep-dive__hero-section {
    padding-bottom: 30px;
  }

  .page-blog-x888-gameplay-deep-dive__hero-content {
    margin-top: -50px; /* Adjust overlap for mobile */
    padding: 20px;
  }

  .page-blog-x888-gameplay-deep-dive__main-title {
    font-size: 2rem;
  }

  .page-blog-x888-gameplay-deep-dive__hero-description {
    font-size: 1rem;
  }

  .page-blog-x888-gameplay-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-x888-gameplay-deep-dive__btn-primary,
  .page-blog-x888-gameplay-deep-dive__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Images responsive */
  .page-blog-x888-gameplay-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive (if any, though none currently) */
  .page-blog-x888-gameplay-deep-dive video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-x888-gameplay-deep-dive__video-section,
  .page-blog-x888-gameplay-deep-dive__video-container,
  .page-blog-x888-gameplay-deep-dive__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-x888-gameplay-deep-dive__video-section {
    padding-top: 10px !important;
  }

  .page-blog-x888-gameplay-deep-dive__section-title {
    font-size: 1.8rem;
  }

  .page-blog-x888-gameplay-deep-dive__game-subtitle {
    font-size: 1.3rem;
  }

  .page-blog-x888-gameplay-deep-dive__text-block {
    font-size: 1rem;
  }
}