.page-blog-tk888-game-guide {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-tk888-game-guide a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-blog-tk888-game-guide a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-blog-tk888-game-guide__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 */
  min-height: 600px;
  overflow: hidden;
}

.page-blog-tk888-game-guide__image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-tk888-game-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-tk888-game-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-blog-tk888-game-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 1px;
}

.page-blog-tk888-game-guide__description {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-blog-tk888-game-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-tk888-game-guide__btn-primary,
.page-blog-tk888-game-guide__btn-secondary,
.page-blog-tk888-game-guide__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-blog-tk888-game-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-tk888-game-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-blog-tk888-game-guide__btn-secondary,
.page-blog-tk888-game-guide__card-button {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-blog-tk888-game-guide__btn-secondary:hover,
.page-blog-tk888-game-guide__card-button:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  box-shadow: 0 0 10px var(--secondary-color);
}

/* General Section Styling */
.page-blog-tk888-game-guide__section {
  padding: 50px 20px;
  border-bottom: 1px solid var(--divider-color);
}

.page-blog-tk888-game-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-tk888-game-guide__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-blog-tk888-game-guide__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-blog-tk888-game-guide__sub-title {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-tk888-game-guide__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Feature Cards / Game Cards */
.page-blog-tk888-game-guide__feature-cards,
.page-blog-tk888-game-guide__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-tk888-game-guide__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-blog-tk888-game-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-tk888-game-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-tk888-game-guide__card-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-blog-tk888-game-guide__card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Game Guide Content Layout */
.page-blog-tk888-game-guide__game-guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-blog-tk888-game-guide__game-guide-content--reverse {
  flex-direction: row-reverse;
}

.page-blog-tk888-game-guide__image-wrapper--left,
.page-blog-tk888-game-guide__image-wrapper--right {
  flex: 1;
  min-width: 300px;
}

.page-blog-tk888-game-guide__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-tk888-game-guide__text-block--right,
.page-blog-tk888-game-guide__text-block--left {
  flex: 1;
  min-width: 300px;
}

.page-blog-tk888-game-guide ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-blog-tk888-game-guide ul li {
  background: var(--deep-green);
  padding: 10px 15px;
  border-left: 4px solid var(--secondary-color);
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-main);
}

.page-blog-tk888-game-guide ul li strong {
  color: var(--gold-color);
}

.page-blog-tk888-game-guide__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Promotions Grid */
.page-blog-tk888-game-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-tk888-game-guide__promotion-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-tk888-game-guide__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-tk888-game-guide__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-tk888-game-guide__promotion-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-blog-tk888-game-guide__promotion-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Process Steps */
.page-blog-tk888-game-guide__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-tk888-game-guide__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-blog-tk888-game-guide__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-tk888-game-guide__step-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

/* FAQ Section */
.page-blog-tk888-game-guide__faq-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-blog-tk888-game-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-tk888-game-guide__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-tk888-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* For details/summary */
}

.page-blog-tk888-game-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-tk888-game-guide__faq-question:hover {
  background-color: var(--primary-color);
}

.page-blog-tk888-game-guide__faq-qtext {
  flex-grow: 1;
}

.page-blog-tk888-game-guide__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-blog-tk888-game-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-blog-tk888-game-guide__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* Conclusion Section */
.page-blog-tk888-game-guide__conclusion {
  text-align: center;
  padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-tk888-game-guide__hero-section {
    min-height: 500px;
  }

  .page-blog-tk888-game-guide__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-tk888-game-guide__description {
    font-size: 1rem;
  }

  .page-blog-tk888-game-guide__section-title {
    font-size: 2rem;
  }

  .page-blog-tk888-game-guide__game-guide-content {
    flex-direction: column;
  }

  .page-blog-tk888-game-guide__game-guide-content--reverse {
    flex-direction: column;
  }

  .page-blog-tk888-game-guide__image-wrapper--left,
  .page-blog-tk888-game-guide__image-wrapper--right,
  .page-blog-tk888-game-guide__text-block--left,
  .page-blog-tk888-game-guide__text-block--right {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog-tk888-game-guide__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

  .page-blog-tk888-game-guide__hero-content {
    padding: 15px;
  }

  .page-blog-tk888-game-guide__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-tk888-game-guide__description {
    font-size: 0.95rem;
  }

  .page-blog-tk888-game-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-tk888-game-guide__btn-primary,
  .page-blog-tk888-game-guide__btn-secondary,
  .page-blog-tk888-game-guide__card-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-tk888-game-guide__section {
    padding: 30px 0;
  }

  .page-blog-tk888-game-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-blog-tk888-game-guide__sub-title {
    font-size: 1.5rem;
  }

  .page-blog-tk888-game-guide__card,
  .page-blog-tk888-game-guide__promotion-card,
  .page-blog-tk888-game-guide__step-card {
    padding: 20px;
  }

  .page-blog-tk888-game-guide__card-image,
  .page-blog-tk888-game-guide__content-image,
  .page-blog-tk888-game-guide__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-blog-tk888-game-guide__game-guide-content,
  .page-blog-tk888-game-guide__feature-cards,
  .page-blog-tk888-game-guide__game-cards,
  .page-blog-tk888-game-guide__promotions-grid,
  .page-blog-tk888-game-guide__process-steps {
    gap: 20px;
  }

  .page-blog-tk888-game-guide__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-tk888-game-guide__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .page-blog-tk888-game-guide__faq-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}