
    /* Base styles for the page */
    .page-yy777-ph-m-home {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-top: 10px; /* Small decorative padding, assuming body handles main header offset */
    }

    /* Hero Section */
    .page-yy777-ph-m-home__hero-section {
      position: relative;
      width: 100%;
      height: 60vh;
      min-height: 350px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      overflow: hidden;
      background-color: #1a1a1a;
      margin-bottom: 40px;
    }

    .page-yy777-ph-m-home__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      filter: brightness(0.6); /* Allowed for background darkening */
    }

    .page-yy777-ph-m-home__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      padding: 20px;
    }

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

    .page-yy777-ph-m-home__hero-description {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: #eee;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-ph-m-home__promo-link {
      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;
      font-size: 1.1em;
      border: none;
      cursor: pointer;
    }

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

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

    .page-yy777-ph-m-home__floating-button {
      background-color: #ffd700;
      color: #1a1a1a;
      border: none;
      padding: 12px 20px;
      border-radius: 50px;
      font-size: 1em;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
      width: 120px; /* Fixed width for consistency */
    }

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

    /* Section Styles */
    .page-yy777-ph-m-home__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      text-align: center;
    }

    .page-yy777-ph-m-home__section-title {
      font-size: 2.2em;
      color: #1a1a1a;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
    }

    .page-yy777-ph-m-home__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background-color: #ffd700;
    }

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

    /* Promotions Grid */
    .page-yy777-ph-m-home__promotions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__promo-card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: left;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-yy777-ph-m-home__promo-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

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

    .page-yy777-ph-m-home__promo-content {
      padding: 25px;
    }

    .page-yy777-ph-m-home__promo-title {
      font-size: 1.5em;
      color: #1a1a1a;
      margin-bottom: 10px;
    }

    .page-yy777-ph-m-home__promo-text {
      color: #666;
      margin-bottom: 20px;
    }

    .page-yy777-ph-m-home__promo-action {
      display: inline-block;
      background-color: #ffd700;
      color: #1a1a1a;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-ph-m-home__promo-action:hover {
      background-color: #e6c200;
    }

    /* Game Categories */
    .page-yy777-ph-m-home__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__category-card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
    }

    .page-yy777-ph-m-home__category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .page-yy777-ph-m-home__category-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
      margin-bottom: 15px;
    }

    .page-yy777-ph-m-home__category-title {
      font-size: 1.4em;
      color: #1a1a1a;
      margin-bottom: 10px;
      padding: 0 15px;
    }

    .page-yy777-ph-m-home__category-description {
      color: #777;
      font-size: 0.95em;
      padding: 0 15px;
    }

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

    .page-yy777-ph-m-home__payment-item {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.2s ease;
    }

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

    .page-yy777-ph-m-home__payment-logo {
      max-width: 100px;
      height: auto;
      margin-bottom: 10px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-ph-m-home__payment-name {
      font-weight: bold;
      color: #333;
      font-size: 0.9em;
    }

    /* Game Providers */
    .page-yy777-ph-m-home__providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      margin-top: 40px;
    }

    .page-yy777-ph-m-home__provider-item {
      background-color: #fff;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.2s ease;
    }

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

    .page-yy777-ph-m-home__provider-logo {
      max-width: 80px;
      height: auto;
      margin-bottom: 8px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-ph-m-home__provider-name {
      font-size: 0.85em;
      color: #555;
    }

    /* FAQ Section */
    .page-yy777-ph-m-home__faq-container {
      max-width: 900px;
      margin: 40px auto;
      text-align: left;
    }

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

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

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

    .page-yy777-ph-m-home__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #333;
      pointer-events: none; /* Prevent h3 from interfering with click event */
      flex-grow: 1;
    }

    .page-yy777-ph-m-home__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #ffd700;
      margin-left: 15px;
      pointer-events: none; /* Prevent span from interfering with click event */
      transition: transform 0.3s ease;
    }

    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-toggle {
      transform: rotate(45deg); /* Rotates the '+' to 'x' visually, or you can change to '-' */
      color: #007bff;
    }
    
    .page-yy777-ph-m-home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: #555;
      font-size: 1em;
      background-color: #fff;
    }

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

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .page-yy777-ph-m-home__hero-section {
        height: 50vh;
      }

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

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

      .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__promotions-grid,
      .page-yy777-ph-m-home__game-categories,
      .page-yy777-ph-m-home__payment-methods-grid,
      .page-yy777-ph-m-home__providers-grid {
        grid-template-columns: 1fr; /* Single column layout for mobile */
        gap: 20px;
      }

      /* List item specific mobile styling */
      .page-yy777-ph-m-home__promo-card,
      .page-yy777-ph-m-home__category-card,
      .page-yy777-ph-m-home__payment-item,
      .page-yy777-ph-m-home__provider-item,
      .page-yy777-ph-m-home__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-yy777-ph-m-home__promo-content,
      .page-yy777-ph-m-home__category-card {
        padding: 15px;
      }

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

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

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

      /* Image responsiveness for mobile */
      .page-yy777-ph-m-home__hero-background,
      .page-yy777-ph-m-home__promo-image,
      .page-yy777-ph-m-home__category-image,
      .page-yy777-ph-m-home__payment-logo,
      .page-yy777-ph-m-home__provider-logo {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-yy777-ph-m-home__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row; /* Buttons side-by-side on smaller screens */
        width: calc(100% - 30px);
        justify-content: space-around;
      }

      .page-yy777-ph-m-home__floating-button {
        flex: 1;
        width: auto;
        padding: 10px 15px;
        font-size: 0.9em;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-ph-m-home__hero-title {
        font-size: 1.6em;
      }
      .page-yy777-ph-m-home__section-title {
        font-size: 1.6em;
      }
      .page-yy777-ph-m-home__floating-buttons {
        bottom: 10px;
        right: 10px;
        width: calc(100% - 20px);
      }
    }
  