
    /* Page-specific CSS for yy777 ph m home */
    .page-yy777-ph-m-home {
      font-family: 'Arial', sans-serif;
      color: #e0e0e0;
      background-color: #1a1a2e; /* Dark background */
      line-height: 1.6;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

    .page-yy777-ph-m-home__hero-section {
      text-align: center;
      padding: 60px 20px;
      position: relative;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      color: #ffffff;
      padding-top: 10px; /* Small decorative padding, as body handles main offset */
    }

    .page-yy777-ph-m-home__hero-image {
      width: 100%;
      height: auto;
      max-height: 500px;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
      filter: brightness(0.6); /* Darken image for text readability */
    }

    .page-yy777-ph-m-home__hero-content {
      position: relative;
      z-index: 1;
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 350px; /* Ensure content has space */
    }

    .page-yy777-ph-m-home__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      font-weight: bold;
      color: #ffc107; /* Bright yellow for prominence */
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-ph-m-home__hero-subtitle {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: #f8f9fa;
      max-width: 700px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-ph-m-home__hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .page-yy777-ph-m-home__button {
      background-color: #ffc107;
      color: #1a1a2e;
      padding: 14px 30px;
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
    }

    .page-yy777-ph-m-home__button:hover {
      background-color: #e0a800;
      transform: translateY(-2px);
    }

    .page-yy777-ph-m-home__button--secondary {
      background-color: #007bff;
      color: #ffffff;
    }

    .page-yy777-ph-m-home__button--secondary:hover {
      background-color: #0056b3;
    }

    .page-yy777-ph-m-home__floating-buttons {
      position: fixed;
      top: calc(var(--header-offset, 122px) + 10px); /* Position below header */
      right: 15px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-yy777-ph-m-home__floating-button {
      background-color: #28a745; /* Green for register */
      color: #ffffff;
      padding: 10px 15px;
      border: none;
      border-radius: 5px;
      font-size: 0.9em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .page-yy777-ph-m-home__floating-button--login {
      background-color: #007bff; /* Blue for login */
    }

    .page-yy777-ph-m-home__floating-button:hover {
      opacity: 0.9;
    }

    .page-yy777-ph-m-home__section {
      padding: 50px 20px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .page-yy777-ph-m-home__section-title {
      font-size: 2.2em;
      margin-bottom: 30px;
      color: #ffc107;
      font-weight: bold;
    }

    .page-yy777-ph-m-home__section-description {
      font-size: 1.1em;
      color: #cccccc;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-ph-m-home__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__card {
      background-color: #2a2a44;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: left;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-yy777-ph-m-home__card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-ph-m-home__card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-yy777-ph-m-home__card-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .page-yy777-ph-m-home__card-title {
      font-size: 1.5em;
      margin-bottom: 15px;
      color: #ffc107;
      font-weight: bold;
    }

    .page-yy777-ph-m-home__card-text {
      font-size: 1em;
      color: #cccccc;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .page-yy777-ph-m-home__promo-link {
      color: #ffc107;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
      display: inline-block;
      margin-top: auto; /* Push to bottom */
    }

    .page-yy777-ph-m-home__promo-link:hover {
      color: #e0a800;
    }

    .page-yy777-ph-m-home__payment-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__payment-item {
      background-color: #2a2a44;
      padding: 20px 30px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.3s ease;
      min-width: 120px;
      max-width: 160px;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__payment-item:hover {
      transform: translateY(-5px);
    }

    .page-yy777-ph-m-home__payment-icon {
      width: 100px;
      height: auto;
      max-height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .page-yy777-ph-m-home__payment-name {
      font-size: 1em;
      font-weight: bold;
      color: #ffffff;
      text-transform: capitalize;
    }

    .page-yy777-ph-m-home__provider-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__provider-item {
      background-color: #2a2a44;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__provider-item:hover {
      transform: scale(1.05);
    }

    .page-yy777-ph-m-home__provider-logo {
      width: 100%;
      max-width: 120px;
      height: auto;
      max-height: 80px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .page-yy777-ph-m-home__provider-name {
      font-size: 1em;
      font-weight: bold;
      color: #ffffff;
      text-align: center;
    }

    .page-yy777-ph-m-home__faq-container {
      max-width: 900px;
      margin: 0 auto;
      text-align: left;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__faq-item {
      background-color: #2a2a44;
      border-radius: 8px;
      margin-bottom: 15px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      overflow: hidden;
    }

    .page-yy777-ph-m-home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      user-select: none;
      background-color: #3b3b5c;
      transition: background-color 0.3s ease;
    }

    .page-yy777-ph-m-home__faq-question:hover {
      background-color: #4a4a70;
    }

    .page-yy777-ph-m-home__faq-question-text {
      font-size: 1.2em;
      font-weight: bold;
      color: #ffc107;
      margin: 0;
      pointer-events: none; /* Prevent text from blocking click */
    }

    .page-yy777-ph-m-home__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: #ffc107;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent icon from blocking click */
    }

    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-toggle {
      transform: rotate(45deg); /* Change + to X or similar, or just rotate */
    }

    .page-yy777-ph-m-home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      color: #cccccc;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      font-size: 1em;
    }

    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-answer {
      max-height: 2000px !important; /* Sufficiently large value */
      padding: 20px 25px !important;
      opacity: 1;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-yy777-ph-m-home__hero-section {
        padding: 40px 15px;
      }

      .page-yy777-ph-m-home__hero-title {
        font-size: 2em;
      }

      .page-yy777-ph-m-home__hero-subtitle {
        font-size: 1em;
      }

      .page-yy777-ph-m-home__hero-buttons {
        flex-direction: column;
        gap: 15px;
      }

      .page-yy777-ph-m-home__button {
        width: 100%;
        max-width: 280px;
      }

      .page-yy777-ph-m-home__floating-buttons {
        flex-direction: row;
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
        top: auto;
        bottom: 20px; /* Adjust for mobile, often bottom */
        justify-content: space-around;
        gap: 10px;
        background-color: rgba(26, 26, 46, 0.8); /* Semi-transparent background */
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
      }

      .page-yy777-ph-m-home__floating-button {
        flex: 1;
        padding: 12px 10px;
        font-size: 0.85em;
        text-align: center;
      }

      .page-yy777-ph-m-home__section {
        padding: 30px 15px;
      }

      .page-yy777-ph-m-home__section-title {
        font-size: 1.8em;
      }

      .page-yy777-ph-m-home__section-description {
        font-size: 0.95em;
      }

      .page-yy777-ph-m-home__grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-yy777-ph-m-home__card {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-ph-m-home__payment-grid,
      .page-yy777-ph-m-home__provider-grid {
        gap: 15px;
      }

      .page-yy777-ph-m-home__payment-item,
      .page-yy777-ph-m-home__provider-item {
        width: calc(50% - 15px); /* Two items per row */
        max-width: none;
        box-sizing: border-box !important;
      }

      .page-yy777-ph-m-home__faq-question {
        padding: 15px 20px;
      }

      .page-yy777-ph-m-home__faq-question-text {
        font-size: 1em;
      }

      .page-yy777-ph-m-home__faq-answer {
        padding: 0 20px;
      }

      .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-answer {
        padding: 15px 20px !important;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-ph-m-home__floating-buttons {
        bottom: 10px;
        padding: 8px;
        gap: 5px;
      }
      .page-yy777-ph-m-home__floating-button {
        padding: 10px 8px;
        font-size: 0.8em;
      }
      .page-yy777-ph-m-home__payment-item,
      .page-yy777-ph-m-home__provider-item {
        width: 100%; /* One item per row on very small screens */
      }
    }
  