
    :root {
      --kingph-online-primary-color: #FFD700; /* Gold */
      --kingph-online-secondary-color: #000000; /* Black */
      --kingph-online-text-light: #FFFFFF;
      --kingph-online-text-dark: #333333;
      --kingph-online-background-dark: #1a1a1a;
      --kingph-online-background-light: #f0f0f0;
      --kingph-online-accent-color: #FF4500; /* OrangeRed */
    }

    .page-kingph-online {
      font-family: 'Arial', sans-serif;
      color: var(--kingph-online-text-dark);
      line-height: 1.6;
      background-color: var(--kingph-online-background-light);
      padding-top: var(--header-offset, 122px); /* Fallback for body padding */
    }

    .page-kingph-online__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      box-sizing: border-box;
    }

    .page-kingph-online__section--dark {
      background-color: var(--kingph-online-background-dark);
      color: var(--kingph-online-text-light);
    }

    .page-kingph-online__section-title {
      text-align: center;
      font-size: 2.5em;
      margin-bottom: 30px;
      color: var(--kingph-online-secondary-color);
      position: relative;
      padding-bottom: 10px;
    }

    .page-kingph-online__section--dark .page-kingph-online__section-title {
      color: var(--kingph-online-primary-color);
    }

    .page-kingph-online__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: var(--kingph-online-primary-color);
    }

    .page-kingph-online__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:kingph_online,casino,philippines,gaming]') no-repeat center center;
      background-size: cover;
      color: var(--kingph-online-text-light);
      text-align: center;
      padding: 100px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 60vh;
      box-sizing: border-box;
      padding-top: 10px; /* Small decorative padding after body offset */
    }

    .page-kingph-online__hero-title {
      font-size: 3.8em;
      margin-bottom: 20px;
      color: var(--kingph-online-primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

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

    .page-kingph-online__button {
      background-color: var(--kingph-online-primary-color);
      color: var(--kingph-online-secondary-color);
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      display: inline-block;
      cursor: pointer;
      border: none;
    }

    .page-kingph-online__button:hover {
      background-color: var(--kingph-online-accent-color);
      transform: translateY(-3px);
    }

    .page-kingph-online__text-content {
      font-size: 1.1em;
      text-align: center;
      margin-bottom: 30px;
    }

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

    .page-kingph-online__card {
      background-color: var(--kingph-online-text-light);
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      padding: 30px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }

    .page-kingph-online__section--dark .page-kingph-online__card {
      background-color: #2c2c2c;
      color: var(--kingph-online-text-light);
    }

    .page-kingph-online__card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .page-kingph-online__card-image {
      width: 100%;
      max-width: 400px; /* Adjusted for larger content images */
      height: auto;
      border-radius: 8px;
      margin-bottom: 20px;
      object-fit: cover;
    }

    .page-kingph-online__card-title {
      font-size: 1.5em;
      margin-bottom: 15px;
      color: var(--kingph-online-primary-color);
    }

    .page-kingph-online__card-description {
      font-size: 1em;
      color: var(--kingph-online-text-dark);
    }

    .page-kingph-online__section--dark .page-kingph-online__card-description {
      color: var(--kingph-online-text-light);
    }

    .page-kingph-online__game-list {
      list-style: none;
      padding: 0;
      margin: 30px 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .page-kingph-online__game-item {
      background-color: var(--kingph-online-text-light);
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      padding: 20px;
      width: 280px;
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-kingph-online__section--dark .page-kingph-online__game-item {
      background-color: #2c2c2c;
      color: var(--kingph-online-text-light);
    }

    .page-kingph-online__game-item:hover {
      transform: translateY(-5px);
    }

    .page-kingph-online__game-image {
      width: 100%;
      max-width: 300px;
      height: auto;
      border-radius: 6px;
      margin-bottom: 15px;
      object-fit: cover;
    }

    .page-kingph-online__game-title {
      font-size: 1.3em;
      color: var(--kingph-online-primary-color);
      margin-bottom: 10px;
    }

    .page-kingph-online__game-provider {
      font-size: 0.9em;
      color: #666;
    }

    .page-kingph-online__section--dark .page-kingph-online__game-provider {
      color: #ccc;
    }

    .page-kingph-online__payment-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-top: 30px;
    }

    .page-kingph-online__payment-item {
      background-color: var(--kingph-online-text-light);
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 15px 25px;
      text-align: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease;
      box-sizing: border-box;
      min-width: 120px;
    }

    .page-kingph-online__section--dark .page-kingph-online__payment-item {
      background-color: #2c2c2c;
      border-color: #444;
    }

    .page-kingph-online__payment-item:hover {
      transform: translateY(-3px);
    }

    .page-kingph-online__payment-logo {
      width: 100%;
      max-width: 200px;
      height: auto;
      margin-bottom: 10px;
    }

    .page-kingph-online__payment-name {
      font-weight: bold;
      color: var(--kingph-online-secondary-color);
    }

    .page-kingph-online__section--dark .page-kingph-online__payment-name {
      color: var(--kingph-online-text-light);
    }

    .page-kingph-online__faq-container {
      margin-top: 40px;
    }

    .page-kingph-online__faq-item {
      background-color: var(--kingph-online-text-light);
      border-radius: 8px;
      margin-bottom: 15px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-kingph-online__section--dark .page-kingph-online__faq-item {
      background-color: #2c2c2c;
    }

    .page-kingph-online__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      user-select: none;
      font-size: 1.2em;
      font-weight: bold;
      color: var(--kingph-online-secondary-color);
      transition: background-color 0.3s ease;
    }

    .page-kingph-online__section--dark .page-kingph-online__faq-question {
      color: var(--kingph-online-primary-color);
    }

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

    .page-kingph-online__section--dark .page-kingph-online__faq-question:hover {
      background-color: #3a3a3a;
    }

    .page-kingph-online__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      pointer-events: none; /* Prevent h3 from blocking click on parent */
    }

    .page-kingph-online__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click on parent */
    }

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

    .page-kingph-online__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(--kingph-online-text-dark);
    }

    .page-kingph-online__section--dark .page-kingph-online__faq-answer {
      color: var(--kingph-online-text-light);
    }

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

    .page-kingph-online__promo-banner {
      background-color: var(--kingph-online-accent-color);
      color: var(--kingph-online-text-light);
      text-align: center;
      padding: 30px 20px;
      margin-top: 40px;
      border-radius: 8px;
    }

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

    .page-kingph-online__promo-description {
      font-size: 1.2em;
      margin-bottom: 25px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-kingph-online__hero-section {
        padding: 80px 15px;
      }

      .page-kingph-online__hero-title {
        font-size: 2.8em;
      }

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

      .page-kingph-online__section {
        padding: 30px 15px;
      }

      .page-kingph-online__section-title {
        font-size: 2em;
      }

      .page-kingph-online__grid {
        grid-template-columns: 1fr;
      }

      .page-kingph-online__card {
        padding: 20px;
      }

      .page-kingph-online__game-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
      }

      .page-kingph-online__game-item {
        width: 100% !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-kingph-online__game-list {
        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-online__payment-methods {
        gap: 15px;
      }

      .page-kingph-online__payment-item {
        min-width: unset;
        width: calc(50% - 15px);
        padding: 10px;
      }

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

      .page-kingph-online__faq-answer {
        padding: 15px 20px;
      }
    }

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

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

      .page-kingph-online__section-title {
        font-size: 1.8em;
      }

      .page-kingph-online__button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-kingph-online__payment-item {
        width: 100%;
      }
    }
  