
    /* Base styles for the PH7 Bet page */
    .page-ph7bet {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f0f2f5;
      padding-bottom: 80px; /* Space for footer */
    }

    /* Ensure content is not hidden by fixed header */
    .page-ph7bet__hero-section {
      padding-top: 120px; /* Desktop padding */
      position: relative;
      text-align: center;
      overflow: hidden;
      background-color: #000; /* Fallback for hero section */
    }

    .page-ph7bet__hero-image {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    .page-ph7bet__hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      max-width: 90%;
      z-index: 10;
    }

    .page-ph7bet__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      color: #ffd700; /* Gold color for emphasis */
      text-transform: uppercase;
    }

    .page-ph7bet__hero-subtitle {
      font-size: 1.4em;
      margin-bottom: 30px;
      line-height: 1.4;
    }

    .page-ph7bet__cta-button {
      display: inline-block;
      background-color: #d83a00; /* Adjusted for WCAG AA contrast with #fff (4.5:1) */
      color: #fff;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-ph7bet__cta-button:hover {
      background-color: #c03300; /* Darker on hover */
    }

    .page-ph7bet__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      margin-top: 20px;
    }

    .page-ph7bet__section-title {
      font-size: 2.2em;
      color: #007bff; /* Blue for section titles */
      text-align: center;
      margin-bottom: 30px;
      padding-bottom: 10px;
      border-bottom: 2px solid #eee;
    }

    .page-ph7bet__text-content {
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

    .page-ph7bet__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-ph7bet__game-card {
      background-color: #f9f9f9;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-ph7bet__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .page-ph7bet__game-image-wrapper {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      height: 200px; /* Fixed height for consistency */
    }

    .page-ph7bet__game-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .page-ph7bet__game-title {
      font-size: 1.5em;
      color: #007bff;
      margin: 15px 10px 10px;
      text-decoration: none;
      font-weight: bold;
      display: block;
    }

    .page-ph7bet__game-description {
      font-size: 0.95em;
      color: #555;
      padding: 0 15px;
      margin-bottom: 15px;
    }

    .page-ph7bet__game-button {
      display: inline-block;
      background-color: #218838; /* Adjusted for WCAG AA contrast with #fff (4.5:1) */
      color: #fff;
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      transition: background-color 0.3s ease;
    }

    .page-ph7bet__game-button:hover {
      background-color: #1a6f2c;
    }

    .page-ph7bet__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #d83a00; /* Adjusted for WCAG AA contrast with #fff (4.5:1) */
      color: #fff;
      padding: 15px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      transition: background-color 0.3s ease;
      animation: pulse 2s infinite;
      text-align: center;
    }

    .page-ph7bet__floating-button:hover {
      background-color: #c03300;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    .page-ph7bet__promo-list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-top: 30px;
    }

    .page-ph7bet__promo-item {
      background-color: #e9f7ff;
      border: 1px solid #cce5ff;
      border-radius: 8px;
      padding: 20px;
      flex: 1 1 calc(50% - 20px);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      min-width: 280px;
      text-align: center;
    }

    .page-ph7bet__promo-item h3 {
      color: #0056b3;
      font-size: 1.5em;
      margin-bottom: 10px;
    }

    .page-ph7bet__promo-item p {
      color: #333;
      font-size: 1em;
      margin-bottom: 15px;
    }

    .page-ph7bet__promo-button {
      background-color: #0056b3; /* Adjusted for WCAG AA contrast with #fff (4.5:1) */
      color: #fff;
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .page-ph7bet__promo-button:hover {
      background-color: #004085;
    }

    .page-ph7bet__provider-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      gap: 15px;
      justify-items: center;
      margin-top: 30px;
    }

    .page-ph7bet__provider-logo-wrapper {
      width: 100%;
      max-width: 120px; /* Max width for logos */
      height: auto;
      overflow: hidden;
      box-sizing: border-box;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      padding: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .page-ph7bet__provider-logo {
      width: 100%;
      height: auto;
      display: block;
      object-fit: contain;
      max-height: 80px; /* Max height for logos */
    }

    .page-ph7bet__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      justify-items: center;
      margin-top: 30px;
    }

    .page-ph7bet__payment-method {
      text-align: center;
      background-color: #f0f8ff;
      border: 1px solid #d0e8f8;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .page-ph7bet__payment-icon-wrapper {
      width: 100%;
      max-width: 100px; /* Max width for payment icons */
      height: auto;
      overflow: hidden;
      box-sizing: border-box;
      margin: 0 auto 10px;
    }

    .page-ph7bet__payment-icon {
      width: 100%;
      height: auto;
      object-fit: contain;
      max-height: 60px; /* Max height for payment icons */
    }

    .page-ph7bet__payment-name {
      font-size: 1.1em;
      color: #333;
      font-weight: bold;
    }

    /* FAQ Section Styles */
    .page-ph7bet__faq-container {
      margin-top: 30px;
    }

    .page-ph7bet__faq-item {
      background-color: #f9f9f9;
      border: 1px solid #ddd;
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .page-ph7bet__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #0056b3; /* Adjusted for WCAG AA contrast with #fff (4.5:1) */
      color: #fff;
      cursor: pointer;
      user-select: none;
      font-size: 1.2em;
      font-weight: bold;
      border-bottom: 1px solid #004085;
      transition: background-color 0.3s ease;
    }

    .page-ph7bet__faq-question:hover {
      background-color: #004085;
    }

    .page-ph7bet__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      font-size: 1.2em;
      color: #fff;
      pointer-events: none; /* Prevent h3 from intercepting click */
    }

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

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

    .page-ph7bet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px; /* Initial padding */
      background-color: #fff;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: #333; /* Ensure text color is visible */
    }

    .page-ph7bet__faq-item.active .page-ph7bet__faq-answer {
      max-height: 2000px !important; /* Use !important for override */
      padding: 20px 15px !important; /* Use !important for override */
      opacity: 1;
    }

    .page-ph7bet__faq-answer p {
      margin-bottom: 10px;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-ph7bet__hero-section {
        padding-top: 100px; /* Mobile padding */
        height: 400px; /* Adjust hero height for mobile */
      }

      .page-ph7bet__hero-image {
        height: 100%;
        object-fit: cover;
      }

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

      .page-ph7bet__hero-subtitle {
        font-size: 1.1em;
      }

      .page-ph7bet__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-ph7bet__section {
        padding: 25px 15px;
        margin-top: 15px;
      }

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

      .page-ph7bet__game-categories {
        grid-template-columns: 1fr; /* Single column for games on mobile */
      }

      .page-ph7bet__promo-item {
        flex: 1 1 100%;
      }

      .page-ph7bet__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 1em;
      }

      .page-ph7bet__provider-grid,
      .page-ph7bet__payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
      }

      .page-ph7bet__provider-logo-wrapper,
      .page-ph7bet__payment-method {
        padding: 8px;
      }

      .page-ph7bet__provider-logo,
      .page-ph7bet__payment-icon {
        max-height: 50px;
      }

      .page-ph7bet__faq-question {
        padding: 12px 15px;
        font-size: 1em;
      }

      .page-ph7bet__faq-question h3 {
        font-size: 1em;
      }

      .page-ph7bet__faq-answer {
        padding: 15px 15px;
      }

      /* Image responsive optimization for mobile */
      .page-ph7bet img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-ph7bet__game-image-wrapper,
      .page-ph7bet__provider-logo-wrapper,
      .page-ph7bet__payment-icon-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-ph7bet__hero-title {
        font-size: 1.8em;
      }
      .page-ph7bet__hero-subtitle {
        font-size: 1em;
      }
    }
  