:root {
      --primary-color: #e44d26; /* A vibrant orange-red for action */
      --secondary-color: #f7b731; /* A bright yellow for highlights */
      --text-color: #333;
      --light-text-color: #fff;
      --background-light: #f8f8f8;
      --background-dark: #222;
      --border-color: #ddd;
      --box-shadow-light: rgba(0, 0, 0, 0.1);
      --box-shadow-dark: rgba(0, 0, 0, 0.2);
    }

    body {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--text-color);
      background-color: var(--background-light);
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .page-phfun-32 {
      max-width: 1200px;
      margin: 0 auto;
      padding: 10px; /* Small padding as body already handles header offset */
      box-sizing: border-box;
    }

    .page-phfun-32 h1, .page-phfun-32 h2, .page-phfun-32 h3 {
      color: var(--primary-color);
      text-align: center;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .page-phfun-32 h1 {
      font-size: 2.8em;
      color: var(--light-text-color); /* For hero section */
    }

    .page-phfun-32 h2 {
      font-size: 2.2em;
      color: var(--text-color);
    }

    .page-phfun-32 h3 {
      font-size: 1.6em;
      color: var(--text-color);
    }

    .page-phfun-32 p {
      margin-bottom: 15px;
      text-align: center;
    }

    .page-phfun-32__section {
      padding: 40px 20px;
      margin-bottom: 30px;
      background-color: var(--light-text-color);
      border-radius: 8px;
      box-shadow: 0 4px 12px var(--box-shadow-light);
    }

    .page-phfun-32__section--dark {
      background-color: var(--background-dark);
      color: var(--light-text-color);
    }
    .page-phfun-32__section--dark h2, .page-phfun-32__section--dark h3 {
      color: var(--secondary-color);
    }

    .page-phfun-32__container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* Buttons */
    .page-phfun-32__button {
      display: inline-block;
      background-color: var(--primary-color);
      color: var(--light-text-color);
      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;
    }

    .page-phfun-32__button:hover {
      background-color: #d44220;
      transform: translateY(-2px);
    }

    .page-phfun-32__button--secondary {
      background-color: var(--secondary-color);
      color: var(--text-color);
    }

    .page-phfun-32__button--secondary:hover {
      background-color: #e6a72e;
      color: var(--text-color);
    }

    /* Hero Section */
    .page-phfun-32__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:online casino,gbetmax,philippines,gaming banner]') no-repeat center center/cover;
      color: var(--light-text-color);
      text-align: center;
      padding: 100px 20px;
      border-radius: 8px;
      margin-bottom: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 400px;
      box-sizing: border-box;
    }

    .page-phfun-32__hero-section h1 {
      font-size: 3.5em;
      margin-bottom: 20px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-phfun-32__hero-section p {
      font-size: 1.3em;
      margin-bottom: 30px;
      max-width: 800px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    /* General Content Area */
    .page-phfun-32__content-text {
      text-align: left;
      max-width: 800px;
      margin: 0 auto 20px auto;
    }

    /* Quick Access */
    .page-phfun-32__quick-access-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-content: center;
    }

    .page-phfun-32__quick-access-item {
      text-align: center;
      padding: 25px;
      background-color: var(--background-light);
      border-radius: 8px;
      box-shadow: 0 2px 8px var(--box-shadow-light);
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-phfun-32__quick-access-item:hover {
      transform: translateY(-5px);
    }

    .page-phfun-32__quick-access-item h3 {
      margin-top: 0;
      color: var(--primary-color);
    }

    .page-phfun-32__quick-access-item .page-phfun-32__button {
      width: 100%;
      box-sizing: border-box;
    }

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

    .page-phfun-32__game-card {
      background-color: var(--background-light);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px var(--box-shadow-light);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-phfun-32__game-card:hover {
      transform: translateY(-5px);
    }

    .page-phfun-32__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-phfun-32__game-card-content {
      padding: 20px;
    }

    .page-phfun-32__game-card-content h3 {
      margin-top: 0;
      margin-bottom: 10px;
      color: var(--primary-color);
    }

    .page-phfun-32__game-card-content p {
      font-size: 0.95em;
      color: #555;
      text-align: center;
    }

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

    .page-phfun-32__promotion-card {
      background-color: var(--background-light);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px var(--box-shadow-light);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-phfun-32__promotion-card:hover {
      transform: translateY(-5px);
    }

    .page-phfun-32__promotion-card-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
    }

    .page-phfun-32__promotion-card-content {
      padding: 20px;
    }

    .page-phfun-32__promotion-card-content h3 {
      margin-top: 0;
      margin-bottom: 10px;
      color: var(--primary-color);
    }

    .page-phfun-32__promotion-card-content p {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 20px;
      text-align: center;
    }

    /* Security & Customer Service */
    .page-phfun-32__security-features {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-phfun-32__feature-item {
      flex: 1 1 calc(33% - 40px); /* For 3 columns */
      max-width: calc(33% - 40px);
      background-color: var(--background-light);
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 8px var(--box-shadow-light);
      text-align: center;
      box-sizing: border-box;
      min-width: 280px; /* Ensure minimum width for mobile */
    }

    .page-phfun-32__feature-item h3 {
      margin-top: 0;
      color: var(--primary-color);
    }

    .page-phfun-32__feature-item p {
      font-size: 0.95em;
      color: #555;
    }

    .page-phfun-32__payment-logos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-phfun-32__payment-logo {
      width: 100px;
      height: 50px;
      object-fit: contain;
      filter: grayscale(100%); /* Example: make logos grayscale */
      opacity: 0.7;
      transition: filter 0.3s ease, opacity 0.3s ease;
    }

    .page-phfun-32__payment-logo:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

    .page-phfun-32__social-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-top: 30px;
    }

    .page-phfun-32__social-link {
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: var(--primary-color);
      border-radius: 50%;
      color: var(--light-text-color);
      font-size: 1.5em;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .page-phfun-32__social-link:hover {
      background-color: #d44220;
    }

    /* FAQ Section */
    .page-phfun-32__faq-list {
      margin-top: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-phfun-32__faq-item {
      background-color: var(--background-light);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 5px var(--box-shadow-light);
    }

    .page-phfun-32__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #f0f0f0;
      transition: background-color 0.3s ease;
    }

    .page-phfun-32__faq-question:hover {
      background-color: #e0e0e0;
    }

    .page-phfun-32__faq-question h3 {
      margin: 0;
      font-size: 1.15em;
      color: var(--text-color);
      text-align: left;
      flex-grow: 1;
      pointer-events: none; /* Prevent text selection from interfering with click */
    }

    .page-phfun-32__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from interfering with click */
      margin-left: 15px;
    }

    .page-phfun-32__faq-item.active .page-phfun-32__faq-toggle {
      transform: rotate(45deg); /* Change '+' to 'x' or '-' */
    }

    .page-phfun-32__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Initial padding */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    }

    .page-phfun-32__faq-item.active .page-phfun-32__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to contain content */
      padding: 20px !important; /* Final padding when open */
      opacity: 1;
    }

    .page-phfun-32__faq-answer p {
      margin: 0;
      text-align: left;
      color: #555;
    }

    /* Blog Section */
    .page-phfun-32__blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-phfun-32__blog-card {
      background-color: var(--background-light);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px var(--box-shadow-light);
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-phfun-32__blog-card:hover {
      transform: translateY(-5px);
    }

    .page-phfun-32__blog-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-phfun-32__blog-card-content {
      padding: 20px;
    }

    .page-phfun-32__blog-card-content h3 {
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 1.3em;
      color: var(--primary-color);
      text-align: left;
    }

    .page-phfun-32__blog-card-content p {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 20px;
      text-align: left;
    }

    .page-phfun-32__blog-card-content .page-phfun-32__button {
      width: auto;
      padding: 8px 15px;
      font-size: 0.9em;
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
      .page-phfun-32__hero-section h1 {
        font-size: 2.8em;
      }
      .page-phfun-32 h2 {
        font-size: 1.8em;
      }
      .page-phfun-32 h3 {
        font-size: 1.4em;
      }
      .page-phfun-32__section {
        padding: 30px 15px;
      }
      .page-phfun-32__feature-item {
        flex: 1 1 calc(50% - 30px); /* 2 columns */
        max-width: calc(50% - 30px);
      }
    }

    @media (max-width: 768px) {
      .page-phfun-32 {
        padding: 5px;
      }
      .page-phfun-32__hero-section {
        padding: 80px 15px;
        min-height: 300px;
      }
      .page-phfun-32__hero-section h1 {
        font-size: 2.2em;
      }
      .page-phfun-32__hero-section p {
        font-size: 1.1em;
      }
      .page-phfun-32 h2 {
        font-size: 1.6em;
      }
      .page-phfun-32 h3 {
        font-size: 1.2em;
      }
      .page-phfun-32__quick-access-grid,
      .page-phfun-32__games-grid,
      .page-phfun-32__promotions-grid,
      .page-phfun-32__blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }
      .page-phfun-32__quick-access-item,
      .page-phfun-32__game-card,
      .page-phfun-32__promotion-card,
      .page-phfun-32__blog-card,
      .page-phfun-32__feature-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        padding: 15px; /* Adjust padding for mobile */
      }
      .page-phfun-32__feature-item {
        flex: 1 1 100%; /* 1 column */
        max-width: 100%;
      }
      .page-phfun-32__game-card-image,
      .page-phfun-32__promotion-card-image,
      .page-phfun-32__blog-card-image {
        height: 180px;
      }
      .page-phfun-32__faq-answer {
        padding: 0 15px;
      }
      .page-phfun-32__faq-item.active .page-phfun-32__faq-answer {
        padding: 15px !important;
      }

      /* Ensure all images are responsive on mobile */
      .page-phfun-32 img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-phfun-32__payment-logos {
        gap: 10px;
      }
      .page-phfun-32__payment-logo {
        width: 80px;
        height: 40px;
      }
    }

    @media (max-width: 480px) {
      .page-phfun-32__hero-section h1 {
        font-size: 1.8em;
      }
      .page-phfun-32__hero-section p {
        font-size: 1em;
      }
      .page-phfun-32__button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
    }