.page-phjoy-8 {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f5f5f5;
    }
    .page-phjoy-8__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }
    .page-phjoy-8__section:first-of-type {
      padding-top: 10px; /* Adjust for fixed header, assuming body padding-top */
    }
    .page-phjoy-8__section-heading {
      text-align: center;
      color: #0056b3;
      margin-bottom: 30px;
      font-size: 2.2em;
      font-weight: bold;
    }
    .page-phjoy-8__section-subheading {
      text-align: center;
      color: #555;
      margin-bottom: 20px;
      font-size: 1.2em;
    }
    .page-phjoy-8__text-content {
      text-align: justify;
      margin-bottom: 20px;
    }
    .page-phjoy-8__button {
      display: inline-block;
      background-color: #007bff;
      color: #fff;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      text-align: center;
      white-space: nowrap;
      box-sizing: border-box;
      border: none;
      cursor: pointer;
    }
    .page-phjoy-8__button:hover {
      background-color: #0056b3;
    }
    .page-phjoy-8__hero-section {
      background-image: url('[GALLERY:hero:1920x1080:philippines,online_casino,gaming,philucky]');
      background-size: cover;
      background-position: center;
      color: #fff;
      text-align: center;
      padding: 100px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 500px;
      position: relative;
      border-radius: 0;
      box-shadow: none;
      margin-bottom: 0;
    }
    .page-phjoy-8__hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }
    .page-phjoy-8__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
    }
    .page-phjoy-8__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      line-height: 1.2;
      color: #fff;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    .page-phjoy-8__hero-description {
      font-size: 1.4em;
      margin-bottom: 40px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
    .page-phjoy-8__hero-button {
      background-color: #ffc107;
      color: #333;
      padding: 15px 35px;
      font-size: 1.3em;
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .page-phjoy-8__hero-button:hover {
      background-color: #e0a800;
    }

    .page-phjoy-8__intro-section .page-phjoy-8__section-heading,
    .page-phjoy-8__quick-access-section .page-phjoy-8__section-heading,
    .page-phjoy-8__games-section .page-phjoy-8__section-heading,
    .page-phjoy-8__promotions-section .page-phjoy-8__section-heading,
    .page-phjoy-8__security-support-section .page-phjoy-8__section-heading,
    .page-phjoy-8__faq-section .page-phjoy-8__section-heading,
    .page-phjoy-8__blog-section .page-phjoy-8__section-heading {
      color: #007bff;
    }

    .page-phjoy-8__quick-access-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-top: 30px;
    }
    .page-phjoy-8__quick-access-links .page-phjoy-8__button {
      flex: 1 1 auto;
      min-width: 200px;
      max-width: 280px;
    }

    .page-phjoy-8__games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }
    .page-phjoy-8__game-card {
      background-color: #f9f9f9;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }
    .page-phjoy-8__game-card:hover {
      transform: translateY(-5px);
    }
    .page-phjoy-8__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }
    .page-phjoy-8__game-card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .page-phjoy-8__game-card-title {
      font-size: 1.5em;
      color: #0056b3;
      margin-bottom: 10px;
    }
    .page-phjoy-8__game-card-description {
      font-size: 0.95em;
      color: #666;
      margin-bottom: 15px;
      flex-grow: 1;
    }
    .page-phjoy-8__game-card .page-phjoy-8__button {
      width: 100%;
      padding: 10px 15px;
      font-size: 1em;
    }

    .page-phjoy-8__promotions-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }
    .page-phjoy-8__promotion-card {
      background-color: #e6f2ff;
      border: 1px solid #b3d9ff;
      border-radius: 8px;
      padding: 25px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;
    }
    .page-phjoy-8__promotion-card-title {
      font-size: 1.8em;
      color: #0056b3;
      margin-bottom: 15px;
    }
    .page-phjoy-8__promotion-card-description {
      color: #333;
      margin-bottom: 20px;
      flex-grow: 1;
    }
    .page-phjoy-8__promotion-card .page-phjoy-8__button {
      background-color: #28a745;
      width: 100%;
      padding: 10px 15px;
      font-size: 1em;
    }
    .page-phjoy-8__promotion-card .page-phjoy-8__button:hover {
      background-color: #218838;
    }

    .page-phjoy-8__security-support-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }
    .page-phjoy-8__security-support-item {
      background-color: #f0f8ff;
      border: 1px solid #cceeff;
      border-radius: 8px;
      padding: 25px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      box-sizing: border-box;
    }
    .page-phjoy-8__security-support-item-title {
      font-size: 1.6em;
      color: #0056b3;
      margin-bottom: 15px;
    }
    .page-phjoy-8__security-support-item-description {
      color: #333;
    }
    .page-phjoy-8__payment-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
    }
    .page-phjoy-8__payment-method-logo {
      width: 80px;
      height: 50px;
      object-fit: contain;
      border: 1px solid #eee;
      border-radius: 5px;
      padding: 5px;
      background-color: #fff;
    }

    .page-phjoy-8__faq-list {
      margin-top: 30px;
    }
    .page-phjoy-8__faq-item {
      background-color: #f9f9f9;
      border: 1px solid #eee;
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-sizing: border-box;
    }
    .page-phjoy-8__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #e9ecef;
      color: #333;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }
    .page-phjoy-8__faq-question:hover {
      background-color: #dee2e6;
    }
    .page-phjoy-8__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: #0056b3;
      pointer-events: none; /* Prevents text from blocking click event */
    }
    .page-phjoy-8__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #007bff;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevents icon from blocking click event */
    }
    .page-phjoy-8__faq-item.active .page-phjoy-8__faq-toggle {
      transform: rotate(45deg);
    }
    .page-phjoy-8__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: #555;
      background-color: #fdfdfd;
    }
    .page-phjoy-8__faq-item.active .page-phjoy-8__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px !important;
      opacity: 1;
    }

    .page-phjoy-8__blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }
    .page-phjoy-8__blog-card {
      background-color: #f9f9f9;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }
    .page-phjoy-8__blog-card:hover {
      transform: translateY(-5px);
    }
    .page-phjoy-8__blog-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }
    .page-phjoy-8__blog-card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .page-phjoy-8__blog-card-title {
      font-size: 1.4em;
      color: #0056b3;
      margin-bottom: 10px;
    }
    .page-phjoy-8__blog-card-text {
      font-size: 0.9em;
      color: #666;
      margin-bottom: 15px;
      flex-grow: 1;
    }
    .page-phjoy-8__blog-card-date {
      font-size: 0.8em;
      color: #999;
      margin-bottom: 15px;
    }
    .page-phjoy-8__blog-card .page-phjoy-8__button {
      width: 100%;
      padding: 10px 15px;
      font-size: 1em;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-phjoy-8__hero-title {
        font-size: 2.8em;
      }
      .page-phjoy-8__hero-description {
        font-size: 1.2em;
      }
      .page-phjoy-8__hero-button {
        padding: 12px 30px;
        font-size: 1.1em;
      }
      .page-phjoy-8__section-heading {
        font-size: 1.8em;
      }
    }

    @media (max-width: 768px) {
      .page-phjoy-8__section {
        padding: 30px 15px;
      }
      .page-phjoy-8__hero-section {
        padding: 80px 15px;
        min-height: 400px;
      }
      .page-phjoy-8__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
      }
      .page-phjoy-8__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
      }
      .page-phjoy-8__hero-button {
        padding: 10px 25px;
        font-size: 1em;
      }
      .page-phjoy-8__section-heading {
        font-size: 1.6em;
      }
      .page-phjoy-8__section-subheading {
        font-size: 1em;
      }
      .page-phjoy-8__quick-access-links {
        flex-direction: column;
        align-items: center;
      }
      .page-phjoy-8__quick-access-links .page-phjoy-8__button {
        width: 100% !important;
        max-width: 300px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }
      .page-phjoy-8__games-grid,
      .page-phjoy-8__promotions-list,
      .page-phjoy-8__security-support-grid,
      .page-phjoy-8__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .page-phjoy-8__game-card,
      .page-phjoy-8__promotion-card,
      .page-phjoy-8__security-support-item,
      .page-phjoy-8__blog-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }
      .page-phjoy-8__faq-question {
        padding: 15px;
      }
      .page-phjoy-8__faq-question h3 {
        font-size: 1em;
      }
      .page-phjoy-8__faq-answer {
        padding: 0 15px;
      }
      .page-phjoy-8__faq-item.active .page-phjoy-8__faq-answer {
        padding: 15px !important;
      }
      .page-phjoy-8__payment-method-logo {
        width: 60px;
        height: 40px;
      }
    }
    @media (max-width: 480px) {
      .page-phjoy-8__hero-section {
        padding: 60px 10px;
        min-height: 350px;
      }
      .page-phjoy-8__hero-title {
        font-size: 1.8em;
      }
      .page-phjoy-8__hero-description {
        font-size: 0.9em;
      }
      .page-phjoy-8__hero-button {
        padding: 8px 20px;
        font-size: 0.9em;
      }
      .page-phjoy-8__section-heading {
        font-size: 1.4em;
      }
      .page-phjoy-8__section-subheading {
        font-size: 0.9em;
      }
    }