
    :root {
      --page-kingph-apps-primary-color: #ffcc00; /* Gold */
      --page-kingph-apps-secondary-color: #333333; /* Dark Grey */
      --page-kingph-apps-text-color: #ffffff; /* White */
      --page-kingph-apps-dark-background: #1a1a1a; /* Very Dark Grey */
      --page-kingph-apps-light-background: #2a2a2a; /* Slightly lighter dark grey */
      --page-kingph-apps-accent-color: #e0b000; /* Darker Gold for hover */
      --page-kingph-apps-border-radius: 8px;
      --page-kingph-apps-spacing-unit: 20px;
    }

    .page-kingph-apps {
      font-family: 'Arial', sans-serif;
      color: var(--page-kingph-apps-text-color);
      background-color: var(--page-kingph-apps-dark-background);
      line-height: 1.6;
      padding-bottom: var(--page-kingph-apps-spacing-unit); /* Ensure space above footer */
      box-sizing: border-box; /* Important for overall layout */
    }

    /* Hero Section */
    .page-kingph-apps__hero-section {
      position: relative;
      background: var(--page-kingph-apps-light-background);
      padding: 10px 0 var(--page-kingph-apps-spacing-unit) 0; /* Small top padding, body handles main offset */
      text-align: center;
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-kingph-apps__hero-image {
      width: 100%;
      max-height: 500px;
      object-fit: cover;
      display: block;
      filter: brightness(0.7); /* Allowed for background effect, not color change */
      box-sizing: border-box;
    }

    .page-kingph-apps__hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 90%;
      z-index: 1;
      box-sizing: border-box;
    }

    .page-kingph-apps__hero-title {
      font-size: 2.8em;
      margin-bottom: 10px;
      color: var(--page-kingph-apps-primary-color);
      line-height: 1.2;
      box-sizing: border-box;
    }

    .page-kingph-apps__hero-description {
      font-size: 1.2em;
      margin-bottom: var(--page-kingph-apps-spacing-unit);
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .page-kingph-apps__cta-button {
      display: inline-block;
      background-color: var(--page-kingph-apps-primary-color);
      color: var(--page-kingph-apps-dark-background);
      padding: 12px 30px;
      border-radius: var(--page-kingph-apps-border-radius);
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
      font-size: 1em;
      box-sizing: border-box;
    }

    .page-kingph-apps__cta-button:hover {
      background-color: var(--page-kingph-apps-accent-color);
    }

    /* General Section Styling */
    .page-kingph-apps__section {
      padding: var(--page-kingph-apps-spacing-unit) 5%;
      margin-bottom: var(--page-kingph-apps-spacing-unit);
      background-color: var(--page-kingph-apps-light-background);
      border-radius: var(--page-kingph-apps-border-radius);
      margin-left: 5%;
      margin-right: 5%;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      box-sizing: border-box;
    }

    .page-kingph-apps__section-title {
      font-size: 2em;
      color: var(--page-kingph-apps-primary-color);
      text-align: center;
      margin-bottom: var(--page-kingph-apps-spacing-unit);
      box-sizing: border-box;
    }

    .page-kingph-apps__section-text {
      font-size: 1em;
      text-align: center;
      margin-bottom: calc(var(--page-kingph-apps-spacing-unit) * 1.5);
      box-sizing: border-box;
    }

    /* Features Grid */
    .page-kingph-apps__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: var(--page-kingph-apps-spacing-unit);
      box-sizing: border-box;
    }

    .page-kingph-apps__feature-item {
      background-color: var(--page-kingph-apps-dark-background);
      padding: var(--page-kingph-apps-spacing-unit);
      border-radius: var(--page-kingph-apps-border-radius);
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
    }

    .page-kingph-apps__feature-icon {
      width: 250px; /* Min size */
      height: 250px; /* Min size */
      margin-bottom: 15px;
      object-fit: contain;
      box-sizing: border-box;
      max-width: 100%;
      height: auto;
    }

    .page-kingph-apps__feature-title {
      font-size: 1.3em;
      color: var(--page-kingph-apps-primary-color);
      margin-bottom: 10px;
      box-sizing: border-box;
    }

    .page-kingph-apps__feature-description {
      font-size: 0.95em;
      color: #cccccc;
      box-sizing: border-box;
    }

    /* Download Steps */
    .page-kingph-apps__steps-list {
      display: flex;
      flex-direction: column;
      gap: var(--page-kingph-apps-spacing-unit);
      max-width: 800px;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .page-kingph-apps__step-item {
      display: flex;
      align-items: center;
      background-color: var(--page-kingph-apps-dark-background);
      padding: 15px 20px;
      border-radius: var(--page-kingph-apps-border-radius);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
    }

    .page-kingph-apps__step-number {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-kingph-apps-primary-color);
      margin-right: 20px;
      flex-shrink: 0;
      box-sizing: border-box;
    }

    .page-kingph-apps__step-content h3 {
      font-size: 1.2em;
      color: var(--page-kingph-apps-primary-color);
      margin-top: 0;
      margin-bottom: 5px;
      box-sizing: border-box;
    }

    .page-kingph-apps__step-content p {
      font-size: 0.95em;
      color: #cccccc;
      margin-bottom: 0;
      box-sizing: border-box;
    }

    /* Game Providers */
    .page-kingph-apps__providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: var(--page-kingph-apps-spacing-unit);
      text-align: center;
      box-sizing: border-box;
    }

    .page-kingph-apps__provider-logo {
      width: 200px; /* Min size */
      height: 100px; /* Min size */
      object-fit: contain;
      filter: brightness(0.8) grayscale(0.5); /* Allowed for background effect, not color change */
      transition: filter 0.3s ease;
      box-sizing: border-box;
      max-width: 100%;
      height: auto;
    }

    .page-kingph-apps__provider-logo:hover {
      filter: brightness(1) grayscale(0);
    }

    /* FAQ Section */
    .page-kingph-apps__faq-list {
      max-width: 800px;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .page-kingph-apps__faq-item {
      background-color: var(--page-kingph-apps-dark-background);
      border-radius: var(--page-kingph-apps-border-radius);
      margin-bottom: 10px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
    }

    .page-kingph-apps__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: var(--page-kingph-apps-light-background);
      border-bottom: 1px solid #3a3a3a;
      transition: background-color 0.3s ease;
      box-sizing: border-box;
    }

    .page-kingph-apps__faq-question:hover {
      background-color: #383838;
    }

    .page-kingph-apps__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: var(--page-kingph-apps-primary-color);
      pointer-events: none; /* Prevent h3 from blocking click */
      box-sizing: border-box;
    }

    .page-kingph-apps__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-kingph-apps-primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
      box-sizing: border-box;
    }

    .page-kingph-apps__faq-item.active .page-kingph-apps__faq-toggle {
      transform: rotate(45deg); /* Plus to X */
    }

    .page-kingph-apps__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px; /* Reduced for initial state */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: #cccccc;
      font-size: 0.95em;
      box-sizing: border-box;
    }

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

    .page-kingph-apps__faq-answer p {
      margin-top: 0;
      margin-bottom: 0;
      box-sizing: border-box;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-kingph-apps__hero-title {
        font-size: 2.2em;
      }
      .page-kingph-apps__hero-description {
        font-size: 1.1em;
      }
      .page-kingph-apps__section-title {
        font-size: 1.8em;
      }
    }

    @media (max-width: 768px) {
      .page-kingph-apps__hero-title {
        font-size: 1.8em;
      }
      .page-kingph-apps__hero-description {
        font-size: 1em;
      }
      .page-kingph-apps__cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
      }
      .page-kingph-apps__section {
        padding-left: 3%;
        padding-right: 3%;
        margin-left: 3%;
        margin-right: 3%;
      }
      .page-kingph-apps__section-title {
        font-size: 1.6em;
      }
      .page-kingph-apps__features-grid {
        grid-template-columns: 1fr;
      }
      .page-kingph-apps__step-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
      }
      .page-kingph-apps__step-number {
        margin-right: 0;
        margin-bottom: 10px;
      }
      .page-kingph-apps__step-content h3 {
        font-size: 1.1em;
      }
      .page-kingph-apps__providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      }
      .page-kingph-apps__faq-question {
        padding: 12px 15px;
      }
      .page-kingph-apps__faq-question h3 {
        font-size: 1em;
      }
      .page-kingph-apps__faq-answer {
        padding: 0 10px;
        font-size: 0.9em;
      }
      .page-kingph-apps__faq-item.active .page-kingph-apps__faq-answer {
        padding: 15px 10px !important;
      }

      /* Image responsiveness for mobile */
      .page-kingph-apps img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      /* List item responsiveness for mobile */
      .page-kingph-apps__features-grid > .page-kingph-apps__feature-item,
      .page-kingph-apps__steps-list > .page-kingph-apps__step-item,
      .page-kingph-apps__providers-grid > div, /* Assuming provider logos are in divs */
      .page-kingph-apps__faq-list > .page-kingph-apps__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important; /* Adjust padding to prevent overflow */
        padding-right: 15px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-kingph-apps__features-grid,
      .page-kingph-apps__steps-list,
      .page-kingph-apps__providers-grid,
      .page-kingph-apps__faq-list {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important; /* Remove container padding */
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
    }

    @media (max-width: 480px) {
      .page-kingph-apps__hero-title {
        font-size: 1.5em;
      }
      .page-kingph-apps__hero-description {
        font-size: 0.9em;
      }
      .page-kingph-apps__section-title {
        font-size: 1.4em;
      }
      .page-kingph-apps__cta-button {
        padding: 8px 20px;
        font-size: 0.85em;
      }
    }
  