/* style/blog-what-is-qq88-code.css */

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

.page-blog-what-is-qq88-code {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--qq88-text-main); /* Default text color for the page */
  background-color: var(--qq88-background);
}

.page-blog-what-is-qq88-code__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-what-is-qq88-code__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;
  overflow: hidden;
}

.page-blog-what-is-qq88-code__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.page-blog-what-is-qq88-code__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-what-is-qq88-code__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to layer content over the image's bottom part */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--qq88-background) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.page-blog-what-is-qq88-code__main-title {
  color: var(--qq88-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  /* No fixed font-size for H1, relying on responsive scaling and text content */
}

.page-blog-what-is-qq88-code__hero-description {
  color: var(--qq88-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-blog-what-is-qq88-code__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--qq88-divider-color);
}

.page-blog-what-is-qq88-code__section-title {
  color: var(--qq88-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-blog-what-is-qq88-code__sub-title {
  color: var(--qq88-text-main);
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-what-is-qq88-code__paragraph {
  color: var(--qq88-text-secondary);
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-blog-what-is-qq88-code__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* List Styling */
.page-blog-what-is-qq88-code__list,
.page-blog-what-is-qq88-code__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--qq88-text-secondary);
}

.page-blog-what-is-qq88-code__ordered-list {
  list-style-type: decimal;
}

.page-blog-what-is-qq88-code__list-item {
  margin-bottom: 10px;
  color: var(--qq88-text-secondary);
}

.page-blog-what-is-qq88-code__list-item strong {
  color: var(--qq88-text-main);
}

/* Card Styling for Benefits Section */
.page-blog-what-is-qq88-code__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-what-is-qq88-code__card {
  background: var(--qq88-card-bg);
  color: var(--qq88-text-main);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--qq88-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-what-is-qq88-code__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-what-is-qq88-code__card-title {
  color: var(--qq88-gold-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-blog-what-is-qq88-code__card-text {
  color: var(--qq88-text-secondary);
  font-size: 0.95em;
}

/* Buttons */
.page-blog-what-is-qq88-code__btn-primary,
.page-blog-what-is-qq88-code__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-what-is-qq88-code__btn-primary {
  background: var(--qq88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-what-is-qq88-code__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-what-is-qq88-code__btn-secondary {
  background: transparent;
  color: var(--qq88-primary-color);
  border: 2px solid var(--qq88-primary-color);
}

.page-blog-what-is-qq88-code__btn-secondary:hover {
  background: var(--qq88-primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.3);
}

.page-blog-what-is-qq88-code__btn-full-width {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 40px auto 0;
}

.page-blog-what-is-qq88-code__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-blog-what-is-qq88-code__cta-content {
  text-align: center;
}

/* FAQ Section */
.page-blog-what-is-qq88-code__faq-list {
  margin-top: 30px;
}

.page-blog-what-is-qq88-code__faq-item {
  background: var(--qq88-card-bg);
  border: 1px solid var(--qq88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-what-is-qq88-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--qq88-text-main);
  font-weight: bold;
  font-size: 1.15em;
  background: var(--qq88-deep-green);
  border-bottom: 1px solid var(--qq88-border-color);
}

.page-blog-what-is-qq88-code__faq-question:hover {
  background: var(--qq88-primary-color);
}

.page-blog-what-is-qq88-code__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-what-is-qq88-code__faq-qtext {
  flex-grow: 1;
}

.page-blog-what-is-qq88-code__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-what-is-qq88-code__faq-item[open] .page-blog-what-is-qq88-code__faq-question {
  border-bottom: 1px solid var(--qq88-border-color);
}

.page-blog-what-is-qq88-code__faq-item[open] .page-blog-what-is-qq88-code__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-what-is-qq88-code__faq-answer {
  padding: 20px;
  color: var(--qq88-text-secondary);
  background: var(--qq88-card-bg);
  font-size: 1em;
}

.page-blog-what-is-qq88-code__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-what-is-qq88-code__hero-content {
    margin-top: -80px;
  }

  .page-blog-what-is-qq88-code__main-title {
    font-size: 2.5em;
  }

  .page-blog-what-is-qq88-code__section-title {
    font-size: 2em;
  }

  .page-blog-what-is-qq88-code__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-blog-what-is-qq88-code {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-what-is-qq88-code__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-what-is-qq88-code__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-blog-what-is-qq88-code__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
  }

  .page-blog-what-is-qq88-code__hero-description {
    font-size: 1em;
  }

  .page-blog-what-is-qq88-code__section {
    padding: 40px 0;
  }

  .page-blog-what-is-qq88-code__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-what-is-qq88-code__sub-title {
    font-size: 1.4em;
  }

  .page-blog-what-is-qq88-code__paragraph,
  .page-blog-what-is-qq88-code__list-item,
  .page-blog-what-is-qq88-code__card-text {
    font-size: 0.95em;
  }

  .page-blog-what-is-qq88-code__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-blog-what-is-qq88-code__container,
  .page-blog-what-is-qq88-code__hero-image-wrapper,
  .page-blog-what-is-qq88-code__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-what-is-qq88-code__benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-what-is-qq88-code__card {
    padding: 20px;
  }

  .page-blog-what-is-qq88-code__btn-primary,
  .page-blog-what-is-qq88-code__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
    margin: 0;
  }

  .page-blog-what-is-qq88-code__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-what-is-qq88-code__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-blog-what-is-qq88-code__faq-answer {
    padding: 15px;
  }

  .page-blog-what-is-qq88-code__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }
}