
    /* Base styles for the page */
    .page-https-www-yy777-ph-m-home {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
      padding-top: 10px; /* Base padding for the first section, assuming body has header offset */
    }

    /* Section styling */
    .page-https-www-yy777-ph-m-home__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .page-https-www-yy777-ph-m-home__section--dark {
      background-color: #2c3e50;
      color: #ecf0f1;
    }

    .page-https-www-yy777-ph-m-home__section--dark h2,
    .page-https-www-yy777-ph-m-home__section--dark h3 {
      color: #f1c40f;
    }

    /* Headings */
    .page-https-www-yy777-ph-m-home__heading-primary {
      font-size: 2.8em;
      color: #e74c3c;
      text-align: center;
      margin-bottom: 20px;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }

    .page-https-www-yy777-ph-m-home__heading-secondary {
      font-size: 2.2em;
      color: #2980b9;
      text-align: center;
      margin-bottom: 30px;
      border-bottom: 2px solid #e7e7e7;
      padding-bottom: 10px;
    }

    .page-https-www-yy777-ph-m-home__heading-tertiary {
      font-size: 1.8em;
      color: #34495e;
      margin-bottom: 15px;
    }

    /* Paragraphs */
    .page-https-www-yy777-ph-m-home__paragraph {
      margin-bottom: 15px;
      font-size: 1.1em;
    }

    /* Buttons */
    .page-https-www-yy777-ph-m-home__button {
      display: inline-block;
      background-color: #f1c40f;
      color: #2c3e50;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1.1em;
      text-align: center;
      box-sizing: border-box;
    }

    .page-https-www-yy777-ph-m-home__button:hover {
      background-color: #f39c12;
    }

    /* Call to action */
    .page-https-www-yy777-ph-m-home__cta-container {
      text-align: center;
      margin-top: 40px;
      padding: 30px;
      background-color: #e74c3c;
      color: #ffffff;
      border-radius: 8px;
    }

    .page-https-www-yy777-ph-m-home__cta-container .page-https-www-yy777-ph-m-home__heading-secondary {
      color: #ffffff;
      border-bottom-color: #f1c40f;
    }

    .page-https-www-yy777-ph-m-home__cta-container .page-https-www-yy777-ph-m-home__button {
      background-color: #f1c40f;
      color: #2c3e50;
      margin-top: 20px;
    }

    /* Floating buttons (Register/Login) */
    .page-https-www-yy777-ph-m-home__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-https-www-yy777-ph-m-home__floating-button {
      background-color: #27ae60;
      color: #ffffff;
      padding: 12px 20px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
      text-align: center;
      box-sizing: border-box;
    }

    .page-https-www-yy777-ph-m-home__floating-button--login {
      background-color: #3498db;
    }

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

    /* Image container */
    .page-https-www-yy777-ph-m-home__image-container {
      text-align: center;
      margin: 30px 0;
    }

    .page-https-www-yy777-ph-m-home__image-container img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      display: block; /* Ensures image takes full width of container if smaller */
      margin: 0 auto; /* Center image */
      box-sizing: border-box;
    }

    /* Grid for features/games */
    .page-https-www-yy777-ph-m-home__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-https-www-yy777-ph-m-home__grid-item {
      background-color: #f4f4f4;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

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

    .page-https-www-yy777-ph-m-home__grid-item-icon {
      margin-bottom: 15px;
    }

    .page-https-www-yy777-ph-m-home__grid-item-icon img {
      max-width: 100%; /* Ensures image fits within its container */
      height: auto;
      border-radius: 4px;
      box-sizing: border-box;
    }

    .page-https-www-yy777-ph-m-home__grid-item h3 {
      color: #e74c3c;
      font-size: 1.4em;
      margin-bottom: 10px;
    }

    .page-https-www-yy777-ph-m-home__grid-item p {
      font-size: 0.95em;
      color: #555;
    }

    /* Payment methods */
    .page-https-www-yy777-ph-m-home__payment-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-https-www-yy777-ph-m-home__payment-logo {
      width: 120px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ecf0f1;
      border-radius: 5px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s ease;
      box-sizing: border-box;
    }

    .page-https-www-yy777-ph-m-home__payment-logo:hover {
      transform: translateY(-3px);
    }

    .page-https-www-yy777-ph-m-home__payment-logo img {
      max-width: 80%;
      max-height: 70%;
      height: auto;
      box-sizing: border-box;
    }

    /* FAQ Section */
    .page-https-www-yy777-ph-m-home__faq-section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #fefefe;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .page-https-www-yy777-ph-m-home__faq-item {
      border-bottom: 1px solid #eee;
      margin-bottom: 10px;
    }

    .page-https-www-yy777-ph-m-home__faq-item:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }

    .page-https-www-yy777-ph-m-home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      background-color: #f1f1f1;
      border-radius: 5px;
      cursor: pointer;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-https-www-yy777-ph-m-home__faq-question:hover {
      background-color: #e0e0e0;
    }

    .page-https-www-yy777-ph-m-home__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: #333;
      pointer-events: none; /* Prevent h3 from blocking click */
    }

    .page-https-www-yy777-ph-m-home__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #e74c3c;
      width: 20px;
      text-align: center;
      pointer-events: none; /* Prevent toggle from blocking click */
      transition: transform 0.3s ease;
    }

    .page-https-www-yy777-ph-m-home__faq-item.active .page-https-www-yy777-ph-m-home__faq-toggle {
      transform: rotate(45deg); /* Plus sign rotates to form an 'x' or minus */
    }

    .page-https-www-yy777-ph-m-home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      background-color: #ffffff;
      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;
      font-size: 0.95em;
    }

    .page-https-www-yy777-ph-m-home__faq-item.active .page-https-www-yy777-ph-m-home__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to contain content */
      padding: 20px 15px !important;
      opacity: 1;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-https-www-yy777-ph-m-home__section {
        padding: 30px 15px;
      }

      .page-https-www-yy777-ph-m-home__heading-primary {
        font-size: 2em;
      }

      .page-https-www-yy777-ph-m-home__heading-secondary {
        font-size: 1.8em;
      }

      .page-https-www-yy777-ph-m-home__heading-tertiary {
        font-size: 1.5em;
      }

      .page-https-www-yy777-ph-m-home__paragraph {
        font-size: 1em;
      }

      .page-https-www-yy777-ph-m-home__button {
        padding: 10px 20px;
        font-size: 1em;
      }

      .page-https-www-yy777-ph-m-home__floating-buttons {
        bottom: 10px;
        right: 10px;
        gap: 8px;
      }

      .page-https-www-yy777-ph-m-home__floating-button {
        padding: 10px 18px;
        font-size: 0.9em;
      }

      .page-https-www-yy777-ph-m-home__grid {
        grid-template-columns: 1fr; /* Single column on mobile */
      }

      .page-https-www-yy777-ph-m-home__grid-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-https-www-yy777-ph-m-home__payment-methods {
        flex-direction: column;
        align-items: center;
      }

      .page-https-www-yy777-ph-m-home__payment-logo {
        width: 100%;
        max-width: 200px;
        height: 70px;
      }

      .page-https-www-yy777-ph-m-home__faq-question {
        padding: 12px;
      }

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

      .page-https-www-yy777-ph-m-home__faq-answer {
        padding: 15px 12px !important; /* Adjusted for mobile */
      }

      .page-https-www-yy777-ph-m-home__image-container img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
    }

    /* Ensure all images are responsive */
    .page-https-www-yy777-ph-m-home img {
      max-width: 100%;
      height: auto;
      box-sizing: border-box;
    }
  