
    :root {
      --page-primary-color: #e0b000; /* Gold/Yellow */
      --page-secondary-color: #333; /* Dark Grey */
      --page-accent-color: #c09000; /* Darker Gold */
      --page-text-color: #eee; /* Light Grey */
      --page-dark-text-color: #1a1a1a; /* Very Dark Grey */
      --page-background-color: #121212; /* Dark background for casino feel */
      --page-light-background: #1e1e1e;
      --page-border-color: #444;
    }

    .page-https-www-yy777-ph-m-home {
      font-family: 'Arial', sans-serif;
      color: var(--page-text-color);
      background-color: var(--page-background-color);
      line-height: 1.6;
      padding-top: 10px; /* Small top padding, assuming body has header offset */
    }

    .page-https-www-yy777-ph-m-home h1,
    .page-https-www-yy777-ph-m-home h2,
    .page-https-www-yy777-ph-m-home h3 {
      color: var(--page-primary-color);
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-https-www-yy777-ph-m-home h1 {
      font-size: 2.5em;
      text-align: center;
      margin-top: 20px;
      margin-bottom: 30px;
    }

    .page-https-www-yy777-ph-m-home h2 {
      font-size: 2em;
      text-align: center;
      margin-top: 40px;
      margin-bottom: 25px;
    }

    .page-https-www-yy777-ph-m-home h3 {
      font-size: 1.5em;
      margin-top: 30px;
      margin-bottom: 15px;
    }

    .page-https-www-yy777-ph-m-home__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .page-https-www-yy777-ph-m-home__hero-section {
      text-align: center;
      padding: 60px 20px;
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:casino,slots,promotions,yy777]') no-repeat center center/cover;
      position: relative;
      color: #fff;
      border-radius: 10px;
      margin-bottom: 40px;
    }

    .page-https-www-yy777-ph-m-home__hero-section h1 {
      font-size: 3em;
      color: var(--page-primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
      margin-bottom: 20px;
    }

    .page-https-www-yy777-ph-m-home__hero-section p {
      font-size: 1.2em;
      max-width: 800px;
      margin: 0 auto 30px;
      line-height: 1.8;
    }

    .page-https-www-yy777-ph-m-home__promo-button {
      display: inline-block;
      background-color: var(--page-primary-color);
      color: var(--page-dark-text-color);
      padding: 15px 30px;
      border-radius: 50px;
      font-size: 1.1em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-https-www-yy777-ph-m-home__promo-button:hover {
      background-color: var(--page-accent-color);
      transform: translateY(-3px);
    }

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

    .page-https-www-yy777-ph-m-home__floating-button {
      background-color: var(--page-primary-color);
      color: var(--page-dark-text-color);
      padding: 12px 25px;
      border-radius: 30px;
      font-weight: bold;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.3s ease;
      font-size: 1em;
    }

    .page-https-www-yy777-ph-m-home__floating-button:hover {
      background-color: var(--page-accent-color);
      transform: translateY(-2px);
    }

    .page-https-www-yy777-ph-m-home__game-showcase {
      margin-bottom: 50px;
    }

    .page-https-www-yy777-ph-m-home__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      justify-content: center;
    }

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

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

    .page-https-www-yy777-ph-m-home__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      border-bottom: 2px solid var(--page-border-color);
    }

    .page-https-www-yy777-ph-m-home__game-card h3 {
      color: var(--page-primary-color);
      font-size: 1.3em;
      margin: 15px 10px 10px;
    }

    .page-https-www-yy777-ph-m-home__game-card p {
      color: var(--page-text-color);
      font-size: 0.9em;
      padding: 0 15px;
      margin-bottom: 15px;
    }

    .page-https-www-yy777-ph-m-home__section {
      background-color: var(--page-light-background);
      padding: 40px 20px;
      border-radius: 10px;
      margin-bottom: 40px;
    }

    .page-https-www-yy777-ph-m-home__section p {
      color: var(--page-text-color);
      margin-bottom: 15px;
    }

    .page-https-www-yy777-ph-m-home__list {
      list-style: none;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }

    .page-https-www-yy777-ph-m-home__list-item {
      background-color: var(--page-background-color);
      padding: 15px 20px;
      border-radius: 8px;
      border-left: 4px solid var(--page-primary-color);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      box-sizing: border-box;
      word-wrap: break-word; /* Ensure text wraps */
      overflow-wrap: break-word; /* Ensure text wraps */
      word-break: break-word; /* For long keywords */
    }

    .page-https-www-yy777-ph-m-home__list-item strong {
      color: var(--page-primary-color);
    }

    .page-https-www-yy777-ph-m-home__faq-section {
      margin-bottom: 50px;
    }

    .page-https-www-yy777-ph-m-home__faq-item {
      background-color: var(--page-light-background);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .page-https-www-yy777-ph-m-home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: var(--page-secondary-color);
      cursor: pointer;
      user-select: none;
      border-bottom: 1px solid var(--page-border-color);
      transition: background-color 0.3s ease;
    }

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

    .page-https-www-yy777-ph-m-home__faq-question h3 {
      margin: 0;
      color: var(--page-primary-color);
      font-size: 1.2em;
      pointer-events: none; /* Prevents click on text from blocking parent click */
    }

    .page-https-www-yy777-ph-m-home__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevents click on toggle from blocking parent click */
    }

    .page-https-www-yy777-ph-m-home__faq-item.active .page-https-www-yy777-ph-m-home__faq-toggle {
      transform: rotate(45deg); /* Changes '+' to 'x' visually */
    }

    .page-https-www-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: var(--page-text-color);
    }

    .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;
    }

    .page-https-www-yy777-ph-m-home__promo-link {
      display: block;
      text-align: center;
      margin-top: 30px;
    }

    .page-https-www-yy777-ph-m-home__external-link {
      color: var(--page-primary-color);
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    .page-https-www-yy777-ph-m-home__external-link:hover {
      color: var(--page-accent-color);
      text-decoration: underline;
    }

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

      .page-https-www-yy777-ph-m-home__hero-section h1 {
        font-size: 2.2em;
      }

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

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

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

      .page-https-www-yy777-ph-m-home h3 {
        font-size: 1.3em;
      }

      .page-https-www-yy777-ph-m-home__container {
        padding: 0 15px;
      }

      .page-https-www-yy777-ph-m-home__floating-buttons {
        flex-direction: row;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 15px;
        justify-content: space-around;
      }

      .page-https-www-yy777-ph-m-home__floating-button {
        flex: 1;
        margin: 0 5px;
        padding: 10px 15px;
        font-size: 0.9em;
      }

      .page-https-www-yy777-ph-m-home__game-grid {
        grid-template-columns: 1fr;
      }

      .page-https-www-yy777-ph-m-home__game-card-image {
        height: 180px;
      }

      .page-https-www-yy777-ph-m-home__list {
        grid-template-columns: 1fr;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }

      .page-https-www-yy777-ph-m-home__list-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

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

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

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

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

      /* Image responsive optimization */
      .page-https-www-yy777-ph-m-home img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-https-www-yy777-ph-m-home__game-card-image {
        max-width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        object-fit: cover;
      }
      .page-https-www-yy777-ph-m-home__game-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
      }
    }
  