/* style/blog-king88-win-deep-dive.css */

/* Base styles for the page content, considering body has --background-color: #08160F (dark) */
.page-blog-king88-win-deep-dive {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-king88-win-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-king88-win-deep-dive__section {
  padding: 60px 0;
}

.page-blog-king88-win-deep-dive__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-king88-win-deep-dive__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-king88-win-deep-dive__btn-primary,
.page-blog-king88-win-deep-dive__btn-secondary,
.page-blog-king88-win-deep-dive__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-king88-win-deep-dive__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-blog-king88-win-deep-dive__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-king88-win-deep-dive__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Adjusted for contrast on dark bg */
  border: 2px solid #2AD16F; /* Deep Green */
}

.page-blog-king88-win-deep-dive__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-king88-win-deep-dive__btn-link {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 1px solid #2E7A4E; /* Border */
  padding: 8px 15px;
  font-size: 0.9rem;
}

.page-blog-king88-win-deep-dive__btn-link:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-blog-king88-win-deep-dive__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-blog-king88-win-deep-dive__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-blog-king88-win-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-blog-king88-win-deep-dive__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for desktop */
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-blog-king88-win-deep-dive__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-king88-win-deep-dive__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Use clamp for H1 */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-king88-win-deep-dive__description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* History & Mission */
.page-blog-king88-win-deep-dive__history-mission {
  background-color: #08160F;
}

/* Products Section */
.page-blog-king88-win-deep-dive__products {
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-king88-win-deep-dive__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-king88-win-deep-dive__product-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-king88-win-deep-dive__product-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog-king88-win-deep-dive__product-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-blog-king88-win-deep-dive__product-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Advantages Section */
.page-blog-king88-win-deep-dive__advantages {
  background-color: #08160F;
}

.page-blog-king88-win-deep-dive__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-blog-king88-win-deep-dive__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-king88-win-deep-dive__advantage-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-blog-king88-win-deep-dive__advantage-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-blog-king88-win-deep-dive__advantage-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Registration Guide */
.page-blog-king88-win-deep-dive__registration-guide {
  background-color: #08160F;
}

.page-blog-king88-win-deep-dive__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-king88-win-deep-dive__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-blog-king88-win-deep-dive__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-blog-king88-win-deep-dive__step-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-blog-king88-win-deep-dive__step-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Promotions Section */
.page-blog-king88-win-deep-dive__promotions {
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-king88-win-deep-dive__promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 25px;
}

.page-blog-king88-win-deep-dive__promo-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-king88-win-deep-dive__promo-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-blog-king88-win-deep-dive__promo-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsible Gambling */
.page-blog-king88-win-deep-dive__responsible-gambling {
  background-color: #08160F;
}

/* Mobile App Section */
.page-blog-king88-win-deep-dive__mobile-app {
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-king88-win-deep-dive__mobile-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-blog-king88-win-deep-dive__mobile-content {
  flex: 1;
}

.page-blog-king88-win-deep-dive__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-blog-king88-win-deep-dive__mobile-image {
  width: 100%;
  max-width: 400px; /* Adjust max-width for image */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Conclusion */
.page-blog-king88-win-deep-dive__conclusion {
  background-color: #08160F;
  text-align: center;
}

/* FAQ Section */
.page-blog-king88-win-deep-dive__faq {
  background-color: #0A4B2C;
}

.page-blog-king88-win-deep-dive__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-king88-win-deep-dive__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-king88-win-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-king88-win-deep-dive__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-blog-king88-win-deep-dive__faq-item[open] .page-blog-king88-win-deep-dive__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog-king88-win-deep-dive__faq-question:hover {
  background-color: #0A4B2C;
}

.page-blog-king88-win-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-king88-win-deep-dive__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-blog-king88-win-deep-dive__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-blog-king88-win-deep-dive__faq-item[open] .page-blog-king88-win-deep-dive__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

/* Images */
.page-blog-king88-win-deep-dive img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-blog-king88-win-deep-dive__mobile-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-blog-king88-win-deep-dive__mobile-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-blog-king88-win-deep-dive__section-title {
    font-size: 2rem;
  }
  .page-blog-king88-win-deep-dive__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-blog-king88-win-deep-dive__description {
    font-size: 1rem;
  }
  .page-blog-king88-win-deep-dive__text-block,
  .page-blog-king88-win-deep-dive__advantage-description,
  .page-blog-king88-win-deep-dive__step-description,
  .page-blog-king88-win-deep-dive__promo-description,
  .page-blog-king88-win-deep-dive__faq-answer p {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-blog-king88-win-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-king88-win-deep-dive__hero-image-wrapper,
  .page-blog-king88-win-deep-dive__product-card,
  .page-blog-king88-win-deep-dive__advantage-item,
  .page-blog-king88-win-deep-dive__step-item,
  .page-blog-king88-win-deep-dive__promo-item,
  .page-blog-king88-win-deep-dive__mobile-image-wrapper,
  .page-blog-king88-win-deep-dive__faq-item,
  .page-blog-king88-win-deep-dive__container,
  .page-blog-king88-win-deep-dive__hero-section,
  .page-blog-king88-win-deep-dive__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-blog-king88-win-deep-dive__cta-button,
  .page-blog-king88-win-deep-dive__btn-primary,
  .page-blog-king88-win-deep-dive__btn-secondary,
  .page-blog-king88-win-deep-dive a[class*="button"],
  .page-blog-king88-win-deep-dive a[class*="btn"] {
    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;
  }
  .page-blog-king88-win-deep-dive__cta-buttons,
  .page-blog-king88-win-deep-dive__button-group,
  .page-blog-king88-win-deep-dive__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }

  /* Ensure content area images are not smaller than 200px (desktop) */
  /* For mobile, max-width: 100% takes precedence */
  .page-blog-king88-win-deep-dive__product-image {
    height: auto !important; /* Allow height to adjust for mobile */
    min-height: 200px;
  }

  .page-blog-king88-win-deep-dive__hero-section {
    padding-top: 10px !important;
  }

  .page-blog-king88-win-deep-dive__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-king88-win-deep-dive__faq-answer {
    padding: 0 20px 15px;
  }
}