:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --section-dark-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
}

.page-blog-jn88-game-features {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--section-dark-bg); /* Default background for main content sections */
}

/* --- Hero Section --- */
.page-blog-jn88-game-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--section-dark-bg); /* Match content background */
}

.page-blog-jn88-game-features__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width for flex item */
}

.page-blog-jn88-game-features__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-blog-jn88-game-features__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-blog-jn88-game-features__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-main);
}

.page-blog-jn88-game-features__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-jn88-game-features__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-jn88-game-features__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #000000; /* Ensure dark text on bright button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-jn88-game-features__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

/* --- Content Sections --- */
.page-blog-jn88-game-features__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-jn88-game-features__dark-bg {
  background-color: var(--section-dark-bg);
  color: var(--text-main);
}

.page-blog-jn88-game-features__light-bg {
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-blog-jn88-game-features__text-contrast-fix {
  color: #333333 !important; /* Ensure dark text on light background */
}

.page-blog-jn88-game-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-jn88-game-features__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-blog-jn88-game-features__text-block {
  font-size: 1.05rem;
  margin-bottom: 30px;
  text-align: justify;
}

.page-blog-jn88-game-features__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

/* Feature Grid */
.page-blog-jn88-game-features__feature-grid,
.page-blog-jn88-game-features__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-jn88-game-features__feature-card,
.page-blog-jn88-game-features__info-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-jn88-game-features__feature-card:hover,
.page-blog-jn88-game-features__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog-jn88-game-features__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-blog-jn88-game-features__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-jn88-game-features__card-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Strategy List */
.page-blog-jn88-game-features__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-jn88-game-features__strategy-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-jn88-game-features__strategy-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

/* Buttons */
.page-blog-jn88-game-features__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-jn88-game-features__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--gold-color);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-jn88-game-features__btn-secondary:hover {
  background: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* --- FAQ Section (Details/Summary based) --- */
.page-blog-jn88-game-features__faq-list {
  margin-top: 40px;
}

details.page-blog-jn88-game-features__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-blog-jn88-game-features__faq-item summary.page-blog-jn88-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-color);
}

details.page-blog-jn88-game-features__faq-item summary.page-blog-jn88-game-features__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-jn88-game-features__faq-item summary.page-blog-jn88-game-features__faq-question:hover {
  background: var(--deep-red);
}

.page-blog-jn88-game-features__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-blog-jn88-game-features__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-jn88-game-features__faq-item .page-blog-jn88-game-features__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0,0,0,0.1); /* Slightly different background for answer */
  border-radius: 0 0 12px 12px;
  color: var(--text-main);
  font-size: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-blog-jn88-game-features__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }
  .page-blog-jn88-game-features__section-title {
    font-size: 2rem;
  }
  .page-blog-jn88-game-features__feature-grid,
  .page-blog-jn88-game-features__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-blog-jn88-game-features {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-jn88-game-features__hero-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-jn88-game-features__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-jn88-game-features__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-blog-jn88-game-features__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-jn88-game-features__content-section {
    padding: 40px 15px;
  }

  .page-blog-jn88-game-features__container {
    padding: 0 15px;
  }

  .page-blog-jn88-game-features__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-jn88-game-features__text-block {
    font-size: 1rem;
  }

  .page-blog-jn88-game-features__content-image {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-jn88-game-features__feature-grid,
  .page-blog-jn88-game-features__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-jn88-game-features__feature-card,
  .page-blog-jn88-game-features__info-card,
  .page-blog-jn88-game-features__strategy-item {
    padding: 20px;
  }

  .page-blog-jn88-game-features__card-title,
  .page-blog-jn88-game-features__strategy-title {
    font-size: 1.2rem;
  }

  .page-blog-jn88-game-features__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-jn88-game-features__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-blog-jn88-game-features__faq-item summary.page-blog-jn88-game-features__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .page-blog-jn88-game-features__faq-qtext {
    font-size: 1rem;
  }

  .page-blog-jn88-game-features__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-blog-jn88-game-features__faq-item .page-blog-jn88-game-features__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-jn88-game-features__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-blog-jn88-game-features__section-title {
    font-size: 1.6rem;
  }
  .page-blog-jn88-game-features__cta-button {
    font-size: 15px;
  }
  .page-blog-jn88-game-features__card-title,
  .page-blog-jn88-game-features__strategy-title {
    font-size: 1.1rem;
  }
}