
    :root {
      --phbet-primary: #FFD700; /* Gold */
      --phbet-secondary: #000080; /* Navy Blue */
      --phbet-dark: #1a1a2e; /* Dark background */
      --phbet-light-text: #ffffff;
      --phbet-dark-text: #333333;
      --phbet-accent: #FF4500; /* OrangeRed */
      --phbet-background-gradient: linear-gradient(135deg, #1a1a2e 0%, #0f0f1d 100%);
    }

    .page-phbet-ph {
      font-family: 'Arial', sans-serif;
      color: var(--phbet-light-text);
      background: var(--phbet-background-gradient);
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

    .page-phbet-ph__section {
      padding: 60px 20px;
      text-align: center;
      max-width: 1200px;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .page-phbet-ph__section--dark {
      background-color: var(--phbet-dark);
    }

    .page-phbet-ph__section-title {
      font-size: 3em;
      color: var(--phbet-primary);
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      font-weight: bold;
    }

    .page-phbet-ph__section-subtitle {
      font-size: 1.5em;
      color: var(--phbet-light-text);
      margin-bottom: 40px;
      line-height: 1.6;
    }

    .page-phbet-ph__text-content {
      font-size: 1.1em;
      line-height: 1.8;
      margin-bottom: 30px;
      color: #e0e0e0;
    }

    .page-phbet-ph__button {
      display: inline-block;
      padding: 15px 35px;
      background-color: var(--phbet-accent);
      color: var(--phbet-light-text);
      text-decoration: none;
      border-radius: 8px;
      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 15px rgba(0, 0, 0, 0.3);
    }

    .page-phbet-ph__button:hover {
      background-color: #e63900; /* Darker orange */
      transform: translateY(-2px);
    }

    /* Hero Section */
    .page-phbet-ph__hero-section {
      background: url('[GALLERY:hero:1920x1080:phbet,casino,hero,philippines]') no-repeat center center/cover;
      min-height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      padding: 10px 20px 60px; /* Adjust padding-top for header offset */
      box-sizing: border-box;
    }

    .page-phbet-ph__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
    }

    .page-phbet-ph__hero-content {
      position: relative;
      z-index: 1;
      max-width: 900px;
    }

    .page-phbet-ph__hero-title {
      font-size: 4.5em;
      color: var(--phbet-primary);
      margin-bottom: 20px;
      line-height: 1.1;
      text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
      text-transform: uppercase;
    }

    .page-phbet-ph__hero-subtitle {
      font-size: 1.8em;
      color: var(--phbet-light-text);
      margin-bottom: 40px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    /* About Section */
    .page-phbet-ph__about-content {
      display: flex;
      flex-direction: column;
      gap: 30px;
      align-items: center;
    }

    .page-phbet-ph__about-image {
      width: 100%;
      max-width: 600px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .page-phbet-ph__about-image img {
      width: 100%;
      height: auto;
      display: block;
      max-width: 100%;
      box-sizing: border-box;
    }

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

    .page-phbet-ph__game-card {
      background-color: var(--phbet-dark);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      display: flex;
      flex-direction: column;
    }

    .page-phbet-ph__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

    .page-phbet-ph__game-card-image {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      overflow: hidden;
    }

    .page-phbet-ph__game-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      max-width: 100%;
      box-sizing: border-box;
    }

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

    .page-phbet-ph__game-card-title {
      font-size: 1.8em;
      color: var(--phbet-primary);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-phbet-ph__game-card-description {
      font-size: 0.95em;
      color: #ccc;
      margin-bottom: 20px;
      line-height: 1.6;
    }

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

    .page-phbet-ph__promo-card {
      background-color: var(--phbet-dark);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      text-align: left;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }

    .page-phbet-ph__promo-card:hover {
      transform: translateY(-5px);
    }

    .page-phbet-ph__promo-image {
      width: 100%;
      height: 220px;
      overflow: hidden;
    }

    .page-phbet-ph__promo-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-phbet-ph__promo-content {
      padding: 25px;
      flex-grow: 1;
    }

    .page-phbet-ph__promo-title {
      font-size: 1.8em;
      color: var(--phbet-primary);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-phbet-ph__promo-description {
      font-size: 1em;
      color: #ccc;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    /* Payment Methods & Game Providers */
    .page-phbet-ph__logos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 40px;
      justify-items: center;
      align-items: center;
    }

    .page-phbet-ph__logo-item {
      background-color: var(--phbet-dark);
      border-radius: 10px;
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s ease;
      width: 100%;
      max-width: 200px;
      box-sizing: border-box;
    }

    .page-phbet-ph__logo-item:hover {
      transform: translateY(-3px);
    }

    .page-phbet-ph__logo-item img {
      max-width: 100%;
      max-height: 60px;
      object-fit: contain;
      display: block;
      box-sizing: border-box;
    }

    /* Why Choose Us */
    .page-phbet-ph__features-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-phbet-ph__feature-item {
      background-color: var(--phbet-dark);
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
      box-sizing: border-box;
      transition: transform 0.3s ease;
    }

    .page-phbet-ph__feature-item:hover {
      transform: translateY(-5px);
    }

    .page-phbet-ph__feature-icon {
      font-size: 3em;
      color: var(--phbet-primary);
      line-height: 1;
      pointer-events: none; /* Prevent blocking click events if icon is interactive */
    }

    .page-phbet-ph__feature-title {
      font-size: 1.8em;
      color: var(--phbet-primary);
      font-weight: bold;
    }

    .page-phbet-ph__feature-description {
      font-size: 1em;
      color: #ccc;
      line-height: 1.7;
    }

    /* FAQ Section */
    .page-phbet-ph__faq-section {
      background-color: var(--phbet-dark);
    }

    .page-phbet-ph__faq-container {
      margin-top: 40px;
      text-align: left;
    }

    .page-phbet-ph__faq-item {
      background-color: #2a2a3e;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      overflow: hidden;
    }

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

    .page-phbet-ph__faq-question:hover {
      background-color: #0000a0; /* Darker navy */
    }

    .page-phbet-ph__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: var(--phbet-light-text);
      pointer-events: none; /* Prevent blocking click events */
    }

    .page-phbet-ph__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      transition: transform 0.3s ease;
      color: var(--phbet-primary);
      pointer-events: none; /* Prevent blocking click events */
    }

    .page-phbet-ph__faq-item.active .page-phbet-ph__faq-toggle {
      transform: rotate(45deg); /* Change + to X or - */
    }

    .page-phbet-ph__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      opacity: 0;
      color: #e0e0e0;
      font-size: 1em;
      line-height: 1.7;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      box-sizing: border-box;
    }

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

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-phbet-ph__hero-title {
        font-size: 3.5em;
      }
      .page-phbet-ph__hero-subtitle {
        font-size: 1.5em;
      }
      .page-phbet-ph__section-title {
        font-size: 2.5em;
      }
      .page-phbet-ph__section-subtitle {
        font-size: 1.3em;
      }
    }

    @media (max-width: 768px) {
      .page-phbet-ph__hero-section {
        min-height: 60vh;
      }
      .page-phbet-ph__hero-title {
        font-size: 2.8em;
      }
      .page-phbet-ph__hero-subtitle {
        font-size: 1.2em;
      }
      .page-phbet-ph__section {
        padding: 40px 15px;
      }
      .page-phbet-ph__section-title {
        font-size: 2em;
      }
      .page-phbet-ph__section-subtitle {
        font-size: 1.1em;
      }
      .page-phbet-ph__text-content {
        font-size: 1em;
      }
      .page-phbet-ph__button {
        padding: 12px 25px;
        font-size: 1.1em;
      }

      .page-phbet-ph__game-grid,
      .page-phbet-ph__promo-grid,
      .page-phbet-ph__features-list,
      .page-phbet-ph__logos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-phbet-ph__game-card-image,
      .page-phbet-ph__promo-image {
        height: 180px;
      }

      /* Image responsiveness */
      .page-phbet-ph__about-image,
      .page-phbet-ph__game-card-image,
      .page-phbet-ph__promo-image,
      .page-phbet-ph__logo-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
      .page-phbet-ph__about-image img,
      .page-phbet-ph__game-card-image img,
      .page-phbet-ph__promo-image img,
      .page-phbet-ph__logo-item img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      /* List item responsiveness */
      .page-phbet-ph__features-list .page-phbet-ph__feature-item,
      .page-phbet-ph__game-grid .page-phbet-ph__game-card,
      .page-phbet-ph__promo-grid .page-phbet-ph__promo-card,
      .page-phbet-ph__logos-grid .page-phbet-ph__logo-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-phbet-ph__faq-question,
      .page-phbet-ph__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
      }
      .page-phbet-ph__faq-question h3 {
        font-size: 1.1em;
      }
      .page-phbet-ph__faq-answer {
        font-size: 0.95em;
      }

      .page-phbet-ph__text-content,
      .page-phbet-ph__game-card-description,
      .page-phbet-ph__promo-description,
      .page-phbet-ph__feature-description,
      .page-phbet-ph__faq-answer {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
    }

    @media (max-width: 480px) {
      .page-phbet-ph__hero-title {
        font-size: 2.2em;
      }
      .page-phbet-ph__hero-subtitle {
        font-size: 1em;
      }
      .page-phbet-ph__section-title {
        font-size: 1.8em;
      }
      .page-phbet-ph__section-subtitle {
        font-size: 1em;
      }
      .page-phbet-ph__game-card-title,
      .page-phbet-ph__promo-title,
      .page-phbet-ph__feature-title {
        font-size: 1.5em;
      }
    }
  