
    /* Page-specific CSS for kingph-official-website */
    :root {
      --kingph-primary-bg: #1a1a1a;
      --kingph-secondary-bg: #2a2a2a;
      --kingph-text-color: #ffffff;
      --kingph-accent-color: #ffd700; /* Gold */
      --kingph-button-hover: #e0b800;
      --kingph-border-color: #444444;
      --kingph-shadow-color: rgba(0, 0, 0, 0.5);
    }

    .page-kingph-official-website {
      font-family: 'Arial', sans-serif;
      color: var(--kingph-text-color);
      background-color: var(--kingph-primary-bg);
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset if not set in shared.css */
    }

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

    .page-kingph-official-website__section--dark {
      background-color: var(--kingph-secondary-bg);
    }

    .page-kingph-official-website__h1,
    .page-kingph-official-website__h2,
    .page-kingph-official-website__h3 {
      color: var(--kingph-accent-color);
      margin-bottom: 20px;
      font-weight: bold;
    }

    .page-kingph-official-website__h1 {
      font-size: 2.8em;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .page-kingph-official-website__h2 {
      font-size: 2.2em;
      margin-top: 40px;
    }

    .page-kingph-official-website__h3 {
      font-size: 1.8em;
      color: var(--kingph-text-color);
    }

    .page-kingph-official-website__p {
      font-size: 1.1em;
      margin-bottom: 15px;
      color: var(--kingph-text-color);
    }

    .page-kingph-official-website__button {
      display: inline-block;
      background-color: var(--kingph-accent-color);
      color: var(--kingph-primary-bg);
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
      margin: 10px;
    }

    .page-kingph-official-website__button:hover {
      background-color: var(--kingph-button-hover);
      transform: translateY(-2px);
    }

    /* Hero Section */
    .page-kingph-official-website__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:kingph,casino,official website,banner,games]') center center no-repeat;
      background-size: cover;
      padding: 100px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 60vh;
      text-align: center;
      position: relative;
      padding-top: 10px; /* Small top padding as body already handles header offset */
    }

    .page-kingph-official-website__hero-title {
      font-size: 3.5em;
      color: var(--kingph-accent-color);
      margin-bottom: 20px;
      text-shadow: 2px 2px 4px var(--kingph-shadow-color);
    }

    .page-kingph-official-website__hero-subtitle {
      font-size: 1.5em;
      color: var(--kingph-text-color);
      margin-bottom: 30px;
      max-width: 800px;
    }

    .page-kingph-official-website__cta-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    /* Promotions Section */
    .page-kingph-official-website__promotions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-kingph-official-website__promo-card {
      background-color: var(--kingph-primary-bg);
      border: 1px solid var(--kingph-border-color);
      border-radius: 10px;
      padding: 25px;
      text-align: left;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-kingph-official-website__promo-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px var(--kingph-shadow-color);
    }

    .page-kingph-official-website__promo-card-title {
      font-size: 1.5em;
      color: var(--kingph-accent-color);
      margin-bottom: 15px;
    }

    .page-kingph-official-website__promo-card-description {
      font-size: 1em;
      color: var(--kingph-text-color);
      margin-bottom: 20px;
    }

    /* Games Section */
    .page-kingph-official-website__games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-kingph-official-website__game-card {
      background-color: var(--kingph-primary-bg);
      border-radius: 10px;
      overflow: hidden;
      text-align: center;
      border: 1px solid var(--kingph-border-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-kingph-official-website__game-card:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 20px var(--kingph-shadow-color);
    }

    .page-kingph-official-website__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-kingph-official-website__game-card-content {
      padding: 15px;
    }

    .page-kingph-official-website__game-card-title {
      font-size: 1.3em;
      color: var(--kingph-accent-color);
      margin-bottom: 10px;
    }

    .page-kingph-official-website__game-card-provider {
      font-size: 0.9em;
      color: #aaa;
    }

    /* Features Section */
    .page-kingph-official-website__features-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-top: 30px;
      list-style: none;
      padding: 0;
    }

    .page-kingph-official-website__feature-item {
      background-color: var(--kingph-secondary-bg);
      border: 1px solid var(--kingph-border-color);
      border-radius: 10px;
      padding: 25px;
      width: calc(33% - 20px);
      min-width: 280px;
      box-sizing: border-box;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-kingph-official-website__feature-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px var(--kingph-shadow-color);
    }

    .page-kingph-official-website__feature-icon {
      width: 200px; /* Minimum size 200x200px */
      height: 200px;
      object-fit: contain;
      margin-bottom: 15px;
      max-width: 100%;
      box-sizing: border-box;
    }
    .page-kingph-official-website__feature-title {
      font-size: 1.4em;
      color: var(--kingph-accent-color);
      margin-bottom: 10px;
    }

    .page-kingph-official-website__feature-description {
      font-size: 1em;
      color: var(--kingph-text-color);
    }

    /* Payment Methods Section */
    .page-kingph-official-website__payment-methods-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      margin-top: 30px;
      align-items: center;
    }

    .page-kingph-official-website__payment-logo {
      width: 100%;
      max-width: 150px; /* Ensure logos are not too big */
      height: auto;
      object-fit: contain;
      border: 1px solid var(--kingph-border-color);
      border-radius: 5px;
      padding: 10px;
      background-color: #333;
      box-sizing: border-box;
      transition: transform 0.2s ease;
    }

    .page-kingph-official-website__payment-logo:hover {
      transform: scale(1.05);
    }

    /* FAQ Section */
    .page-kingph-official-website__faq-container {
      margin-top: 40px;
      text-align: left;
    }

    .page-kingph-official-website__faq-item {
      background-color: var(--kingph-secondary-bg);
      border: 1px solid var(--kingph-border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
    }

    .page-kingph-official-website__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: var(--kingph-primary-bg);
      transition: background-color 0.3s ease;
    }

    .page-kingph-official-website__faq-question:hover {
      background-color: #333333;
    }

    .page-kingph-official-website__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: var(--kingph-accent-color);
      pointer-events: none; /* Prevent h3 from blocking click event on parent */
    }

    .page-kingph-official-website__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--kingph-accent-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event on parent */
    }

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

    .page-kingph-official-website__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;
      background-color: var(--kingph-secondary-bg);
      color: var(--kingph-text-color);
    }

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

    /* Call to Action Section */
    .page-kingph-official-website__cta-section {
      background-color: var(--kingph-primary-bg);
      padding: 60px 20px;
      border-top: 1px solid var(--kingph-border-color);
    }

    .page-kingph-official-website__cta-title {
      font-size: 2.5em;
      color: var(--kingph-accent-color);
      margin-bottom: 20px;
    }

    .page-kingph-official-website__cta-description {
      font-size: 1.2em;
      color: var(--kingph-text-color);
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-kingph-official-website__h1 {
        font-size: 3em;
      }
      .page-kingph-official-website__h2 {
        font-size: 2em;
      }
      .page-kingph-official-website__h3 {
        font-size: 1.6em;
      }
      .page-kingph-official-website__hero-section {
        padding: 80px 20px;
      }
      .page-kingph-official-website__feature-item {
        width: calc(50% - 20px);
      }
    }

    @media (max-width: 768px) {
      .page-kingph-official-website__h1 {
        font-size: 2.5em;
      }
      .page-kingph-official-website__h2 {
        font-size: 1.8em;
      }
      .page-kingph-official-website__h3 {
        font-size: 1.4em;
      }
      .page-kingph-official-website__hero-section {
        padding: 60px 15px;
        min-height: 50vh;
      }
      .page-kingph-official-website__hero-title {
        font-size: 2.5em;
      }
      .page-kingph-official-website__hero-subtitle {
        font-size: 1.2em;
      }
      .page-kingph-official-website__section {
        padding: 30px 15px;
      }
      .page-kingph-official-website__promo-card,
      .page-kingph-official-website__game-card {
        padding: 20px;
      }
      .page-kingph-official-website__feature-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px 15px !important; /* Adjust padding for smaller screens */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }
      .page-kingph-official-website__features-list,
      .page-kingph-official-website__promotions-grid,
      .page-kingph-official-website__games-grid,
      .page-kingph-official-website__payment-methods-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-kingph-official-website__game-card-image,
      .page-kingph-official-website__feature-icon,
      .page-kingph-official-website__payment-logo {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-kingph-official-website__faq-question {
        padding: 12px 15px;
      }
      .page-kingph-official-website__faq-answer {
        padding: 0 15px;
      }
      .page-kingph-official-website__faq-item.active .page-kingph-official-website__faq-answer {
        padding: 15px 15px !important;
      }
      .page-kingph-official-website__cta-title {
        font-size: 2em;
      }
      .page-kingph-official-website__cta-description {
        font-size: 1em;
      }
    }

    @media (max-width: 480px) {
      .page-kingph-official-website__h1 {
        font-size: 2em;
      }
      .page-kingph-official-website__h2 {
        font-size: 1.6em;
      }
      .page-kingph-official-website__hero-title {
        font-size: 2em;
      }
      .page-kingph-official-website__hero-subtitle {
        font-size: 1em;
      }
      .page-kingph-official-website__button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
      .page-kingph-official-website__promo-card-title {
        font-size: 1.3em;
      }
      .page-kingph-official-website__game-card-title {
        font-size: 1.1em;
      }
      .page-kingph-official-website__faq-question h3 {
        font-size: 1.1em;
      }
    }
  