:root {
  --page-apk-poppy-playtime-chapter__primary-color: #ffcc00; /* Gold/Yellow accent */
  --page-apk-poppy-playtime-chapter__secondary-color: #e62e2e; /* Red accent */
  --page-apk-poppy-playtime-chapter__dark-bg: #1a1a1a; /* Dark background */
  --page-apk-poppy-playtime-chapter__light-text: #f0f0f0; /* Light text */
  --page-apk-poppy-playtime-chapter__medium-text: #cccccc; /* Medium text */
  --page-apk-poppy-playtime-chapter__card-bg: #2a2a2a; /* Card background */
  --page-apk-poppy-playtime-chapter__border-color: #444444; /* Border color */
  --page-apk-poppy-playtime-chapter__button-hover-bg: #e0b300;
  --page-apk-poppy-playtime-chapter__button-hover-text: #1a1a1a;
}

.page-apk-poppy-playtime-chapter {
  background-color: var(--page-apk-poppy-playtime-chapter__dark-bg);
  color: var(--page-apk-poppy-playtime-chapter__light-text);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll from overflow */
}

.page-apk-poppy-playtime-chapter__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__section-title {
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-apk-poppy-playtime-chapter__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-apk-poppy-playtime-chapter__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small padding, assuming body has main header offset */
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-apk-poppy-playtime-chapter__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-apk-poppy-playtime-chapter__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
}

.page-apk-poppy-playtime-chapter__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: var(--page-apk-poppy-playtime-chapter__light-text);
}

.page-apk-poppy-playtime-chapter__hero-cta-button {
  display: inline-block;
  background-color: var(--page-apk-poppy-playtime-chapter__secondary-color);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-apk-poppy-playtime-chapter__hero-cta-button:hover {
  background-color: var(--page-apk-poppy-playtime-chapter__button-hover-bg);
  color: var(--page-apk-poppy-playtime-chapter__button-hover-text);
  transform: translateY(-3px);
}

/* Introduction Section */
.page-apk-poppy-playtime-chapter__introduction-section {
  padding: 60px 0;
}

.page-apk-poppy-playtime-chapter__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-apk-poppy-playtime-chapter__feature-item {
  background-color: var(--page-apk-poppy-playtime-chapter__card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-apk-poppy-playtime-chapter__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

.page-apk-poppy-playtime-chapter__feature-title {
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-apk-poppy-playtime-chapter__feature-text {
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
}

/* Quick Access Section */
.page-apk-poppy-playtime-chapter__quick-access-section {
  padding: 60px 0;
  background-color: #222222;
}

.page-apk-poppy-playtime-chapter__access-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-apk-poppy-playtime-chapter__access-button {
  background-color: var(--page-apk-poppy-playtime-chapter__primary-color);
  color: var(--page-apk-poppy-playtime-chapter__dark-bg);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-apk-poppy-playtime-chapter__access-button:hover {
  background-color: var(--page-apk-poppy-playtime-chapter__button-hover-bg);
  transform: translateY(-3px);
}

/* Games Section */
.page-apk-poppy-playtime-chapter__games-section {
  padding: 60px 0;
}

.page-apk-poppy-playtime-chapter__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-apk-poppy-playtime-chapter__game-card {
  background-color: var(--page-apk-poppy-playtime-chapter__card-bg);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-apk-poppy-playtime-chapter__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--page-apk-poppy-playtime-chapter__border-color);
  max-width: 100%;
}

.page-apk-poppy-playtime-chapter__game-title {
  color: var(--page-apk-poppy-playtime-chapter__light-text);
  font-size: 1.4em;
  margin: 15px 10px 5px;
}

.page-apk-poppy-playtime-chapter__game-provider {
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
  font-size: 0.9em;
  margin-bottom: 15px;
}

.page-apk-poppy-playtime-chapter__game-cta {
  display: block;
  background-color: var(--page-apk-poppy-playtime-chapter__secondary-color);
  color: #ffffff;
  padding: 10px 15px;
  margin: 0 20px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-apk-poppy-playtime-chapter__game-cta:hover {
  background-color: var(--page-apk-poppy-playtime-chapter__button-hover-bg);
  color: var(--page-apk-poppy-playtime-chapter__button-hover-text);
  transform: translateY(-2px);
}

/* Promotions Section */
.page-apk-poppy-playtime-chapter__promotions-section {
  padding: 60px 0;
  background-color: #222222;
}

.page-apk-poppy-playtime-chapter__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-apk-poppy-playtime-chapter__promo-card {
  background-color: var(--page-apk-poppy-playtime-chapter__card-bg);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-apk-poppy-playtime-chapter__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--page-apk-poppy-playtime-chapter__border-color);
  max-width: 100%;
}

.page-apk-poppy-playtime-chapter__promo-title {
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
  font-size: 1.5em;
  margin: 15px 10px 5px;
}

.page-apk-poppy-playtime-chapter__promo-text {
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-apk-poppy-playtime-chapter__promo-cta {
  display: block;
  background-color: var(--page-apk-poppy-playtime-chapter__secondary-color);
  color: #ffffff;
  padding: 10px 15px;
  margin: 0 20px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-apk-poppy-playtime-chapter__promo-cta:hover {
  background-color: var(--page-apk-poppy-playtime-chapter__button-hover-bg);
  color: var(--page-apk-poppy-playtime-chapter__button-hover-text);
  transform: translateY(-2px);
}

/* Security Section */
.page-apk-poppy-playtime-chapter__security-section {
  padding: 60px 0;
}

.page-apk-poppy-playtime-chapter__security-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-apk-poppy-playtime-chapter__security-item {
  background-color: var(--page-apk-poppy-playtime-chapter__card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__security-title {
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-apk-poppy-playtime-chapter__security-text {
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
  margin-bottom: 20px;
}

.page-apk-poppy-playtime-chapter__payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.page-apk-poppy-playtime-chapter__payment-logo {
  height: 40px; /* Adjust as needed, gamelogo doesn't have intrinsic size */
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(180%); /* Make logos stand out on dark bg */
  transition: filter 0.3s ease;
  max-width: 100%;
}

.page-apk-poppy-playtime-chapter__payment-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

.page-apk-poppy-playtime-chapter__contact-cta {
  display: inline-block;
  background-color: var(--page-apk-poppy-playtime-chapter__secondary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

.page-apk-poppy-playtime-chapter__contact-cta:hover {
  background-color: var(--page-apk-poppy-playtime-chapter__button-hover-bg);
  color: var(--page-apk-poppy-playtime-chapter__button-hover-text);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-apk-poppy-playtime-chapter__faq-section {
  padding: 60px 0;
  background-color: #222222;
}

.page-apk-poppy-playtime-chapter__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-apk-poppy-playtime-chapter__faq-item {
  background-color: var(--page-apk-poppy-playtime-chapter__card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-apk-poppy-playtime-chapter__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #333333;
  color: var(--page-apk-poppy-playtime-chapter__light-text);
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid var(--page-apk-poppy-playtime-chapter__border-color);
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-apk-poppy-playtime-chapter__faq-question:hover {
  background-color: #444444;
}

.page-apk-poppy-playtime-chapter__faq-title {
  color: inherit; /* Inherit from question */
  margin: 0;
  flex-grow: 1;
  text-align: left;
  pointer-events: none; /* Crucial for click event on parent */
}

.page-apk-poppy-playtime-chapter__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
  pointer-events: none; /* Crucial for click event on parent */
}

.page-apk-poppy-playtime-chapter__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
}

.page-apk-poppy-playtime-chapter__faq-item.active .page-apk-poppy-playtime-chapter__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-apk-poppy-playtime-chapter__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Blog Section */
.page-apk-poppy-playtime-chapter__blog-section {
  padding: 60px 0;
}

.page-apk-poppy-playtime-chapter__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-apk-poppy-playtime-chapter__blog-card {
  background-color: var(--page-apk-poppy-playtime-chapter__card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-apk-poppy-playtime-chapter__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-apk-poppy-playtime-chapter__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--page-apk-poppy-playtime-chapter__border-color);
  max-width: 100%;
}

.page-apk-poppy-playtime-chapter__blog-content {
  padding: 20px;
}

.page-apk-poppy-playtime-chapter__blog-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-apk-poppy-playtime-chapter__blog-title a {
  color: var(--page-apk-poppy-playtime-chapter__light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-apk-poppy-playtime-chapter__blog-title a:hover {
  color: var(--page-apk-poppy-playtime-chapter__primary-color);
}

.page-apk-poppy-playtime-chapter__blog-date {
  font-size: 0.9em;
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
  margin-bottom: 10px;
}

.page-apk-poppy-playtime-chapter__blog-excerpt {
  color: var(--page-apk-poppy-playtime-chapter__medium-text);
  margin-bottom: 20px;
}

.page-apk-poppy-playtime-chapter__blog-read-more {
  display: inline-block;
  background-color: var(--page-apk-poppy-playtime-chapter__primary-color);
  color: var(--page-apk-poppy-playtime-chapter__dark-bg);
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-apk-poppy-playtime-chapter__blog-read-more:hover {
  background-color: var(--page-apk-poppy-playtime-chapter__button-hover-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-apk-poppy-playtime-chapter__hero-section {
    height: 450px;
  }

  .page-apk-poppy-playtime-chapter__hero-title {
    font-size: 2.2em;
  }

  .page-apk-poppy-playtime-chapter__hero-subtitle {
    font-size: 1.1em;
  }

  .page-apk-poppy-playtime-chapter__hero-cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-apk-poppy-playtime-chapter__section-title {
    font-size: 2em;
    padding-top: 20px;
  }

  .page-apk-poppy-playtime-chapter__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-apk-poppy-playtime-chapter__features-grid,
  .page-apk-poppy-playtime-chapter__game-grid,
  .page-apk-poppy-playtime-chapter__promo-grid,
  .page-apk-poppy-playtime-chapter__security-content,
  .page-apk-poppy-playtime-chapter__blog-grid {
    grid-template-columns: 1fr; /* Stack columns on mobile */
  }

  /* List items responsive rules - applied to feature-item, game-card, promo-card, security-item, blog-card */
  .page-apk-poppy-playtime-chapter__feature-item,
  .page-apk-poppy-playtime-chapter__game-card,
  .page-apk-poppy-playtime-chapter__promo-card,
  .page-apk-poppy-playtime-chapter__security-item,
  .page-apk-poppy-playtime-chapter__blog-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Ensure containers also adapt */
  .page-apk-poppy-playtime-chapter__container {
    padding: 10px 10px; /* Reduce container padding for smaller screens */
  }

  .page-apk-poppy-playtime-chapter__game-image,
  .page-apk-poppy-playtime-chapter__promo-image,
  .page-apk-poppy-playtime-chapter__blog-image {
    height: 180px; /* Slightly smaller images on mobile */
  }

  .page-apk-poppy-playtime-chapter__faq-question {
    padding: 15px 15px;
    font-size: 1.1em;
  }

  .page-apk-poppy-playtime-chapter__faq-answer {
    padding: 0 15px;
  }

  .page-apk-poppy-playtime-chapter__faq-item.active .page-apk-poppy-playtime-chapter__faq-answer {
    padding: 15px 15px !important;
  }

  .page-apk-poppy-playtime-chapter__access-links {
    flex-direction: column; /* Stack buttons */
    align-items: center;
  }
  .page-apk-poppy-playtime-chapter__access-button {
    width: 90%; /* Make buttons take more width */
    max-width: 300px;
    box-sizing: border-box;
  }
  .page-apk-poppy-playtime-chapter__payment-logos {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-apk-poppy-playtime-chapter__payment-logo {
    height: 30px; /* Smaller logos on mobile */
  }
}