.page-blog-jb88-popular-games-giftcode {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main);
  background-color: var(--deep-navy);
  line-height: 1.6;
}

.page-blog-jb88-popular-games-giftcode__section {
  padding: 60px 0;
}

.page-blog-jb88-popular-games-giftcode__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-jb88-popular-games-giftcode__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-blog-jb88-popular-games-giftcode__text-content {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary);
}

.page-blog-jb88-popular-games-giftcode__text-content strong {
  color: var(--text-main);
}

/* Hero Section */
.page-blog-jb88-popular-games-giftcode__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 as body handles header offset */
  background: linear-gradient(180deg, var(--deep-navy) 0%, rgba(17, 59, 122, 0.5) 100%);
  overflow: hidden;
}

.page-blog-jb88-popular-games-giftcode__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog-jb88-popular-games-giftcode__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-blog-jb88-popular-games-giftcode__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-blog-jb88-popular-games-giftcode__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog-jb88-popular-games-giftcode__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.page-blog-jb88-popular-games-giftcode__description-text {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.page-blog-jb88-popular-games-giftcode__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-blog-jb88-popular-games-giftcode__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-blog-jb88-popular-games-giftcode__cta-button--secondary {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-main);
  margin-left: 15px;
}

.page-blog-jb88-popular-games-giftcode__cta-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Image Wrapper */
.page-blog-jb88-popular-games-giftcode__image-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-jb88-popular-games-giftcode__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Game Showcase */
.page-blog-jb88-popular-games-giftcode__game-showcase {
  background-color: var(--card-bg);
  padding: 80px 0;
}

.page-blog-jb88-popular-games-giftcode__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-jb88-popular-games-giftcode__game-card {
  background: var(--deep-navy);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--divider);
}

.page-blog-jb88-popular-games-giftcode__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-blog-jb88-popular-games-giftcode__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 20px;
}

.page-blog-jb88-popular-games-giftcode__card-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-blog-jb88-popular-games-giftcode__card-description {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 0 20px;
  margin-bottom: 20px;
  min-height: 90px; /* Ensure consistent height for description */
}

.page-blog-jb88-popular-games-giftcode__card-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-blog-jb88-popular-games-giftcode__card-link:hover {
  background: var(--secondary-color);
}

/* Giftcode Guide */
.page-blog-jb88-popular-games-giftcode__giftcode-guide {
  background-color: var(--deep-navy);
}

.page-blog-jb88-popular-games-giftcode__numbered-list {
  list-style: none;
  counter-reset: my-counter;
  padding-left: 0;
  margin-top: 30px;
}

.page-blog-jb88-popular-games-giftcode__numbered-list li {
  counter-increment: my-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-blog-jb88-popular-games-giftcode__numbered-list li::before {
  content: counter(my-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-blog-jb88-popular-games-giftcode__numbered-list li strong {
  color: var(--gold);
  font-size: 18px;
}

.page-blog-jb88-popular-games-giftcode__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-blog-jb88-popular-games-giftcode__benefits {
  background-color: var(--card-bg);
}

.page-blog-jb88-popular-games-giftcode__bullet-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-blog-jb88-popular-games-giftcode__bullet-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-blog-jb88-popular-games-giftcode__bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 22px;
}

.page-blog-jb88-popular-games-giftcode__bullet-list li strong {
  color: var(--text-main);
}

/* Security & Support */
.page-blog-jb88-popular-games-giftcode__security-support {
  background-color: var(--deep-navy);
}

.page-blog-jb88-popular-games-giftcode__feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-blog-jb88-popular-games-giftcode__feature-list li {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 60px;
  border: 1px solid var(--divider);
}

.page-blog-jb88-popular-games-giftcode__feature-list li::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

.page-blog-jb88-popular-games-giftcode__feature-list li:nth-child(1)::before { content: '🔒'; background-color: #4CAF50; }
.page-blog-jb88-popular-games-giftcode__feature-list li:nth-child(2)::before { content: '⚡'; background-color: #FFC107; }
.page-blog-jb88-popular-games-giftcode__feature-list li:nth-child(3)::before { content: '📞'; background-color: #00BCD4; }
.page-blog-jb88-popular-games-giftcode__feature-list li:nth-child(4)::before { content: '⚖️'; background-color: #E91E63; }


/* FAQ Section */
.page-blog-jb88-popular-games-giftcode__faq-section {
  background-color: var(--card-bg);
}

.page-blog-jb88-popular-games-giftcode__faq-list {
  margin-top: 40px;
}

details.page-blog-jb88-popular-games-giftcode__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--divider);
  overflow: hidden;
  background: var(--deep-navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-blog-jb88-popular-games-giftcode__faq-item summary.page-blog-jb88-popular-games-giftcode__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog-jb88-popular-games-giftcode__faq-item summary.page-blog-jb88-popular-games-giftcode__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-jb88-popular-games-giftcode__faq-item summary.page-blog-jb88-popular-games-giftcode__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}

.page-blog-jb88-popular-games-giftcode__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-blog-jb88-popular-games-giftcode__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog-jb88-popular-games-giftcode__faq-item .page-blog-jb88-popular-games-giftcode__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--deep-navy-rgb), 0.8);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
  font-size: 16px;
}

.page-blog-jb88-popular-games-giftcode__faq-answer p {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-blog-jb88-popular-games-giftcode__conclusion {
  background-color: var(--deep-navy);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-blog-jb88-popular-games-giftcode__section {
    padding: 50px 0;
  }
  .page-blog-jb88-popular-games-giftcode__section-title {
    margin-bottom: 30px;
  }
  .page-blog-jb88-popular-games-giftcode__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-blog-jb88-popular-games-giftcode__game-card img {
    
  }
}

@media (max-width: 768px) {
  .page-blog-jb88-popular-games-giftcode {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-jb88-popular-games-giftcode__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-jb88-popular-games-giftcode__hero-image img {
    border-radius: 8px;
  }
  .page-blog-jb88-popular-games-giftcode__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }
  .page-blog-jb88-popular-games-giftcode__description-text {
    font-size: 16px;
  }
  .page-blog-jb88-popular-games-giftcode__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-left: 0;
    margin-top: 15px;
  }
  .page-blog-jb88-popular-games-giftcode__cta-button--secondary {
    margin-left: 0;
  }
  .page-blog-jb88-popular-games-giftcode__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog-jb88-popular-games-giftcode__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-blog-jb88-popular-games-giftcode__text-content {
    font-size: 16px;
  }
  .page-blog-jb88-popular-games-giftcode__image-wrapper {
    margin: 30px auto;
  }
  .page-blog-jb88-popular-games-giftcode__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-jb88-popular-games-giftcode__game-card img {
    height: 200px;
  }
  .page-blog-jb88-popular-games-giftcode__card-title {
    font-size: 20px;
  }
  .page-blog-jb88-popular-games-giftcode__card-description {
    font-size: 14px;
    min-height: auto;
  }
  .page-blog-jb88-popular-games-giftcode__numbered-list li,
  .page-blog-jb88-popular-games-giftcode__bullet-list li,
  .page-blog-jb88-popular-games-giftcode__feature-list li {
    font-size: 16px;
    padding-left: 45px;
  }
  .page-blog-jb88-popular-games-giftcode__numbered-list li::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .page-blog-jb88-popular-games-giftcode__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-jb88-popular-games-giftcode__feature-list li::before {
    left: 15px;
    top: 15px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  details.page-blog-jb88-popular-games-giftcode__faq-item summary.page-blog-jb88-popular-games-giftcode__faq-question {
    padding: 15px 20px;
  }
  .page-blog-jb88-popular-games-giftcode__faq-qtext {
    font-size: 16px;
  }
  .page-blog-jb88-popular-games-giftcode__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-blog-jb88-popular-games-giftcode__faq-item .page-blog-jb88-popular-games-giftcode__faq-answer {
    padding: 0 20px 20px;
  }

  /* Ensure all images are responsive */
  .page-blog-jb88-popular-games-giftcode img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-jb88-popular-games-giftcode__section,
  .page-blog-jb88-popular-games-giftcode__container,
  .page-blog-jb88-popular-games-giftcode__game-card,
  .page-blog-jb88-popular-games-giftcode__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-jb88-popular-games-giftcode__game-card {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-jb88-popular-games-giftcode__game-card .page-blog-jb88-popular-games-giftcode__card-description,
  .page-blog-jb88-popular-games-giftcode__game-card .page-blog-jb88-popular-games-giftcode__card-title {
    padding-left: 15px;
    padding-right: 15px;
  }
}