
    /* Page-specific styles for kingph games */
    .page-kingph-games {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
    }

    .page-kingph-games__hero-section {
      position: relative;
      width: 100%;
      height: 450px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      overflow: hidden;
      padding-top: 10px; /* Small top padding, relies on body padding for header offset */
      box-sizing: border-box;
    }

    .page-kingph-games__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .page-kingph-games__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
      z-index: 1;
    }

    .page-kingph-games__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      padding: 20px;
    }

    .page-kingph-games__hero-title {
      font-size: 3.2em;
      margin-bottom: 15px;
      color: #ffcc00; /* Gold color for emphasis */
      text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .page-kingph-games__hero-description {
      font-size: 1.2em;
      margin-bottom: 30px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-kingph-games__cta-button {
      background-color: #ffcc00;
      color: #333;
      padding: 15px 30px;
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      display: inline-block;
      text-decoration: none;
    }

    .page-kingph-games__cta-button:hover {
      background-color: #e6b800;
      transform: translateY(-2px);
    }

    .page-kingph-games__section {
      padding: 60px 20px;
      text-align: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-kingph-games__section--dark {
      background-color: #333;
      color: #fff;
    }

    .page-kingph-games__section-title {
      font-size: 2.5em;
      margin-bottom: 40px;
      color: #333;
    }

    .page-kingph-games__section--dark .page-kingph-games__section-title {
      color: #ffcc00;
    }

    .page-kingph-games__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-kingph-games__category-card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      overflow: hidden;
      text-align: left;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-kingph-games__category-card:hover {
      transform: translateY(-5px);
    }

    .page-kingph-games__category-image {
      width: 100%;
      height: 220px; /* Fixed height for consistency */
      object-fit: cover;
    }

    .page-kingph-games__category-content {
      padding: 20px;
      flex-grow: 1;
    }

    .page-kingph-games__category-title {
      font-size: 1.5em;
      margin-bottom: 10px;
      color: #ffcc00;
    }

    .page-kingph-games__category-description {
      font-size: 0.95em;
      color: #555;
    }

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

    .page-kingph-games__game-card {
      background-color: #444;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease;
      color: #fff;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-kingph-games__game-card:hover {
      transform: translateY(-5px);
    }

    .page-kingph-games__game-image {
      width: 100%;
      height: 200px; /* Fixed height */
      object-fit: cover;
    }

    .page-kingph-games__game-info {
      padding: 20px;
      flex-grow: 1;
    }

    .page-kingph-games__game-title {
      font-size: 1.4em;
      margin-bottom: 10px;
      color: #ffcc00;
    }

    .page-kingph-games__game-provider {
      font-size: 0.9em;
      color: #aaa;
      margin-bottom: 15px;
    }

    .page-kingph-games__promo-section {
      background-color: #1a1a1a;
      color: #fff;
      padding: 60px 20px;
      text-align: center;
    }

    .page-kingph-games__promo-title {
      font-size: 2.8em;
      color: #ffcc00;
      margin-bottom: 20px;
    }

    .page-kingph-games__promo-description {
      font-size: 1.2em;
      max-width: 800px;
      margin: 0 auto 40px auto;
    }

    .page-kingph-games__promo-link {
      background-color: #ffcc00;
      color: #1a1a1a;
      padding: 18px 40px;
      border-radius: 8px;
      font-size: 1.2em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      display: inline-block;
    }

    .page-kingph-games__promo-link:hover {
      background-color: #e6b800;
      transform: translateY(-3px);
    }

    .page-kingph-games__faq-section {
      background-color: #f0f0f0;
    }

    .page-kingph-games__faq-list {
      margin-top: 40px;
      text-align: left;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-kingph-games__faq-item {
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 15px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
      overflow: hidden;
    }

    .page-kingph-games__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      font-size: 1.15em;
      font-weight: bold;
      cursor: pointer;
      user-select: none;
      color: #333;
      background-color: #fefefe;
      border-bottom: 1px solid #eee;
      transition: background-color 0.3s ease;
    }

    .page-kingph-games__faq-question h3 {
      margin: 0;
      font-size: 1.15em; /* Match parent font size */
      color: #333;
      pointer-events: none; /* Prevent h3 from blocking click */
      flex-grow: 1;
    }

    .page-kingph-games__faq-question:hover {
      background-color: #f5f5f5;
    }

    .page-kingph-games__faq-toggle {
      font-size: 1.5em;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
      color: #ffcc00;
    }

    .page-kingph-games__faq-item.active .page-kingph-games__faq-toggle {
      transform: rotate(45deg); /* Change + to X (or similar visual cue) */
    }

    .page-kingph-games__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px; /* Adjust padding to match question's horizontal padding */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
      color: #555;
      background-color: #fcfcfc;
    }

    .page-kingph-games__faq-item.active .page-kingph-games__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 25px !important; /* Adjust padding to match question's horizontal padding */
      opacity: 1;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-kingph-games__hero-title {
        font-size: 2.8em;
      }
      .page-kingph-games__hero-description {
        font-size: 1.1em;
      }
      .page-kingph-games__section-title {
        font-size: 2.2em;
      }
      .page-kingph-games__promo-title {
        font-size: 2.4em;
      }
    }

    @media (max-width: 768px) {
      .page-kingph-games__hero-section {
        height: 350px;
      }
      .page-kingph-games__hero-title {
        font-size: 2.2em;
      }
      .page-kingph-games__hero-description {
        font-size: 1em;
      }
      .page-kingph-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-kingph-games__section {
        padding: 40px 15px;
      }
      .page-kingph-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
      }
      .page-kingph-games__game-categories,
      .page-kingph-games__featured-games-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
      }
      .page-kingph-games__category-card,
      .page-kingph-games__game-card {
        width: 100% !important; /* List item mobile width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-kingph-games__category-image,
      .page-kingph-games__game-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-kingph-games__promo-title {
        font-size: 2em;
      }
      .page-kingph-games__promo-description {
        font-size: 1em;
      }
      .page-kingph-games__promo-link {
        padding: 15px 30px;
        font-size: 1.1em;
      }
      .page-kingph-games__faq-question,
      .page-kingph-games__faq-question h3 {
        font-size: 1em;
        padding: 15px 20px;
      }
      .page-kingph-games__faq-answer {
        padding: 0 20px;
        word-wrap: break-word !important; /* Ensure text wraps */
        overflow-wrap: break-word !important;
      }
      .page-kingph-games__faq-item.active .page-kingph-games__faq-answer {
        padding: 15px 20px !important;
      }
      .page-kingph-games__faq-list {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important; /* Adjust overall list padding */
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
    }

    @media (max-width: 480px) {
      .page-kingph-games__hero-title {
        font-size: 1.8em;
      }
      .page-kingph-games__hero-description {
        font-size: 0.9em;
      }
      .page-kingph-games__section-title {
        font-size: 1.6em;
      }
      .page-kingph-games__category-title,
      .page-kingph-games__game-title {
        font-size: 1.3em;
      }
      .page-kingph-games__promo-title {
        font-size: 1.8em;
      }
    }
  