
    /* Base styles for the specific page */
    .page-kingph-game {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-bottom: 80px; /* Space for floating buttons */
      max-width: 100vw;
      overflow-x: hidden;
    }

    .page-kingph-game__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
    }

    .page-kingph-game__section--dark {
      background-color: #2c3e50;
      color: #ecf0f1;
    }

    .page-kingph-game__section-title {
      font-size: 2.5em;
      color: #e74c3c;
      text-align: center;
      margin-bottom: 30px;
      font-weight: bold;
    }

    .page-kingph-game__section-title--light {
      color: #f1c40f;
    }

    .page-kingph-game__text-content {
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

    /* Hero Section */
    .page-kingph-game__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:casino,slots,games,kingph]');
      background-size: cover;
      background-position: center;
      color: #fff;
      text-align: center;
      padding: 10px 20px 80px; /* Small top padding, larger bottom for content */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 450px;
    }

    .page-kingph-game__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      color: #f1c40f;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-kingph-game__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      max-width: 800px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-kingph-game__cta-button {
      display: inline-block;
      background-color: #e74c3c;
      color: #fff;
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

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

    /* Game Categories Section */
    .page-kingph-game__categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

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

    .page-kingph-game__category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .page-kingph-game__category-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-kingph-game__category-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-kingph-game__category-title {
      font-size: 1.6em;
      color: #e74c3c;
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-kingph-game__category-description {
      font-size: 1em;
      color: #555;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    /* Features Section */
    .page-kingph-game__features-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }

    .page-kingph-game__feature-item {
      background-color: #34495e;
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease;
    }

    .page-kingph-game__feature-item:hover {
      background-color: #2c3e50;
    }

    .page-kingph-game__feature-icon {
      width: 80px;
      height: 80px;
      margin-bottom: 20px;
      display: block;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-kingph-game__feature-title {
      font-size: 1.8em;
      color: #f1c40f;
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-kingph-game__feature-description {
      font-size: 1em;
      color: #ecf0f1;
    }

    /* Promotions Section */
    .page-kingph-game__promo-card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      padding: 30px;
      text-align: center;
      margin-bottom: 20px;
    }

    .page-kingph-game__promo-title {
      font-size: 2em;
      color: #e74c3c;
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-kingph-game__promo-description {
      font-size: 1.1em;
      color: #555;
      margin-bottom: 25px;
    }

    /* How It Works Section */
    .page-kingph-game__steps-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      counter-reset: step-counter;
    }

    .page-kingph-game__step-item {
      background-color: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      position: relative;
      text-align: center;
      min-height: 220px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .page-kingph-game__step-item::before {
      counter-increment: step-counter;
      content: counter(step-counter);
      position: absolute;
      top: -15px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #e74c3c;
      color: #fff;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5em;
      font-weight: bold;
      border: 3px solid #fff;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .page-kingph-game__step-title {
      font-size: 1.4em;
      color: #34495e;
      margin-top: 20px;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-kingph-game__step-description {
      font-size: 1em;
      color: #555;
    }

    /* FAQ Section */
    .page-kingph-game__faq-container {
      margin-top: 30px;
    }

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

    .page-kingph-game__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      background-color: #f1c40f;
      color: #34495e;
      cursor: pointer;
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-kingph-game__faq-question:hover {
      background-color: #e7c000;
    }

    .page-kingph-game__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #34495e;
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-kingph-game__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
      transition: transform 0.3s ease;
    }

    .page-kingph-game__faq-item.active .page-kingph-game__faq-toggle {
      transform: rotate(45deg);
    }

    .page-kingph-game__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: #555;
    }

    .page-kingph-game__faq-item.active .page-kingph-game__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 20px !important;
      opacity: 1;
    }

    /* Floating Buttons */
    .page-kingph-game__floating-buttons {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-around;
      background-color: rgba(0, 0, 0, 0.8);
      padding: 10px 0;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
      z-index: 1000;
    }

    .page-kingph-game__floating-button {
      flex: 1;
      text-align: center;
      padding: 12px 15px;
      margin: 0 5px;
      border-radius: 8px;
      font-size: 1.1em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-kingph-game__register-button {
      background-color: #e74c3c;
      color: #fff;
    }

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

    .page-kingph-game__login-button {
      background-color: #3498db;
      color: #fff;
    }

    .page-kingph-game__login-button:hover {
      background-color: #2980b9;
      transform: translateY(-2px);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-kingph-game__section {
        padding: 30px 15px;
      }

      .page-kingph-game__section-title {
        font-size: 2em;
        margin-bottom: 20px;
      }

      .page-kingph-game__hero-section {
        min-height: 350px;
        padding: 10px 15px 60px;
      }

      .page-kingph-game__hero-title {
        font-size: 2.5em;
      }

      .page-kingph-game__hero-subtitle {
        font-size: 1.2em;
      }

      .page-kingph-game__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }

      .page-kingph-game__categories-grid,
      .page-kingph-game__features-list,
      .page-kingph-game__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-kingph-game__category-card,
      .page-kingph-game__feature-item,
      .page-kingph-game__step-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 25px 20px;
      }

      .page-kingph-game__category-image,
      .page-kingph-game__feature-icon {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-kingph-game__promo-card {
        padding: 25px;
      }

      .page-kingph-game__promo-title {
        font-size: 1.6em;
      }

      .page-kingph-game__faq-question {
        font-size: 1.1em;
        padding: 15px 18px;
      }

      .page-kingph-game__faq-question h3 {
        font-size: 1.1em;
      }

      .page-kingph-game__faq-answer {
        padding: 15px 18px !important;
      }

      .page-kingph-game__floating-button {
        padding: 10px 10px;
        font-size: 1em;
        margin: 0 3px;
      }
    }

    @media (max-width: 480px) {
      .page-kingph-game__hero-title {
        font-size: 2em;
      }

      .page-kingph-game__hero-subtitle {
        font-size: 1em;
      }
    }

    /* Ensure all list items and image containers are responsive */
    .page-kingph-game__categories-grid,
    .page-kingph-game__features-list,
    .page-kingph-game__steps-list,
    .page-kingph-game__faq-container {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
      padding: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .page-kingph-game__categories-grid > *,
    .page-kingph-game__features-list > *,
    .page-kingph-game__steps-list > * {
      box-sizing: border-box !important;
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .page-kingph-game__text-content,
    .page-kingph-game__category-description,
    .page-kingph-game__feature-description,
    .page-kingph-game__promo-description,
    .page-kingph-game__step-description,
    .page-kingph-game__faq-answer {
      word-wrap: break-word !important;
      overflow-wrap: break-word !important;
      word-break: break-word !important;
    }

    img {
      max-width: 100% !important;
      height: auto !important;
      box-sizing: border-box !important;
    }
  