
    :root {
      --page-yy777-com-ph__primary-color: #f7b32b; /* Gold/Yellow */
      --page-yy777-com-ph__secondary-color: #e04e3b; /* Reddish-orange */
      --page-yy777-com-ph__dark-bg: #1a1a1a; /* Dark background */
      --page-yy777-com-ph__light-text: #ffffff; /* White text */
      --page-yy777-com-ph__gray-text: #cccccc; /* Gray text */
      --page-yy777-com-ph__border-color: #333333; /* Dark border */
      --page-yy777-com-ph__padding-section: 40px 20px;
      --page-yy777-com-ph__max-width: 1200px;
    }

    .page-yy777-com-ph {
      font-family: 'Arial', sans-serif;
      color: var(--page-yy777-com-ph__light-text);
      background-color: var(--page-yy777-com-ph__dark-bg);
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: var(--header-offset, 122px); /* Fallback if shared.css doesn't set it */
    }

    .page-yy777-com-ph__container {
      max-width: var(--page-yy777-com-ph__max-width);
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .page-yy777-com-ph__section {
      padding: var(--page-yy777-com-ph__padding-section);
      text-align: center;
      border-bottom: 1px solid var(--page-yy777-com-ph__border-color);
    }

    .page-yy777-com-ph__section:last-of-type {
      border-bottom: none;
    }

    .page-yy777-com-ph__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:online_casino,gaming,promo,yy777]') no-repeat center center / cover;
      min-height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--page-yy777-com-ph__light-text);
      text-align: center;
      padding: 10px 20px 60px 20px; /* Adjusted padding-top as body already has offset */
      position: relative;
    }

    .page-yy777-com-ph__hero-content {
      max-width: 800px;
      position: relative;
      z-index: 2;
    }

    .page-yy777-com-ph__hero-title {
      font-size: 3em;
      margin-bottom: 15px;
      color: var(--page-yy777-com-ph__primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-com-ph__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: var(--page-yy777-com-ph__light-text);
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-com-ph__button {
      background-color: var(--page-yy777-com-ph__primary-color);
      color: var(--page-yy777-com-ph__dark-bg);
      padding: 12px 25px;
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      font-weight: bold;
    }

    .page-yy777-com-ph__button:hover {
      background-color: #e6a220; /* Slightly darker gold */
      transform: translateY(-2px);
    }

    .page-yy777-com-ph__promo-link {
      background-color: var(--page-yy777-com-ph__secondary-color);
      color: var(--page-yy777-com-ph__light-text);
      padding: 12px 25px;
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      font-weight: bold;
      margin-top: 20px;
    }

    .page-yy777-com-ph__promo-link:hover {
      background-color: #c94332;
      transform: translateY(-2px);
    }

    .page-yy777-com-ph__floating-buttons {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      background-color: rgba(26, 26, 26, 0.95);
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
      z-index: 1000;
      box-sizing: border-box;
      border-top: 1px solid var(--page-yy777-com-ph__border-color);
    }

    .page-yy777-com-ph__floating-button {
      flex: 1;
      margin: 0 5px;
      padding: 10px 0;
      font-size: 1.1em;
      border-radius: 0;
      text-align: center;
      border: none;
    }

    .page-yy777-com-ph__floating-button--register {
      background-color: var(--page-yy777-com-ph__primary-color);
      color: var(--page-yy777-com-ph__dark-bg);
    }

    .page-yy777-com-ph__floating-button--login {
      background-color: var(--page-yy777-com-ph__secondary-color);
      color: var(--page-yy777-com-ph__light-text);
    }

    .page-yy777-com-ph__floating-button--register:hover {
      background-color: #e6a220;
    }

    .page-yy777-com-ph__floating-button--login:hover {
      background-color: #c94332;
    }

    .page-yy777-com-ph__heading {
      font-size: 2.5em;
      color: var(--page-yy777-com-ph__primary-color);
      margin-bottom: 30px;
      position: relative;
      padding-bottom: 10px;
    }

    .page-yy777-com-ph__heading::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--page-yy777-com-ph__secondary-color);
    }

    .page-yy777-com-ph__subheading {
      font-size: 1.8em;
      color: var(--page-yy777-com-ph__light-text);
      margin-bottom: 20px;
    }

    .page-yy777-com-ph__text {
      font-size: 1.1em;
      color: var(--page-yy777-com-ph__gray-text);
      margin-bottom: 20px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-com-ph__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 40px;
    }

    .page-yy777-com-ph__game-card {
      background-color: #2a2a2a;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      text-align: left;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--page-yy777-com-ph__border-color);
    }

    .page-yy777-com-ph__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-com-ph__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Ensure responsiveness */
      height: auto; /* Ensure responsiveness */
      box-sizing: border-box; /* Ensure padding and border are included in width */
    }

    .page-yy777-com-ph__game-card-content {
      padding: 20px;
    }

    .page-yy777-com-ph__game-card-title {
      font-size: 1.4em;
      color: var(--page-yy777-com-ph__primary-color);
      margin-bottom: 10px;
    }

    .page-yy777-com-ph__game-card-description {
      font-size: 0.95em;
      color: var(--page-yy777-com-ph__gray-text);
    }

    .page-yy777-com-ph__features-list {
      list-style: none;
      padding: 0;
      margin: 40px auto 0 auto;
      max-width: 900px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .page-yy777-com-ph__feature-item {
      background-color: #2a2a2a;
      border-radius: 8px;
      padding: 25px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      border: 1px solid var(--page-yy777-com-ph__border-color);
      box-sizing: border-box; /* Crucial for mobile responsiveness */
      max-width: 100%;
      width: 100%;
    }

    .page-yy777-com-ph__feature-item-title {
      font-size: 1.3em;
      color: var(--page-yy777-com-ph__primary-color);
      margin-top: 15px;
      margin-bottom: 10px;
    }

    .page-yy777-com-ph__feature-item-text {
      color: var(--page-yy777-com-ph__gray-text);
      font-size: 0.95em;
    }

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

    .page-yy777-com-ph__logo-item {
      background-color: #2a2a2a;
      border-radius: 8px;
      padding: 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      border: 1px solid var(--page-yy777-com-ph__border-color);
      transition: transform 0.2s ease;
      box-sizing: border-box;
      max-width: 100%;
      width: 100%;
    }

    .page-yy777-com-ph__logo-item:hover {
      transform: scale(1.05);
    }

    .page-yy777-com-ph__logo-image {
      max-width: 100%;
      max-height: 80px;
      height: auto;
      object-fit: contain;
      display: block;
      box-sizing: border-box;
    }

    .page-yy777-com-ph__faq-section {
      text-align: left;
    }

    .page-yy777-com-ph__faq-list {
      margin-top: 40px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      padding: 0;
    }

    .page-yy777-com-ph__faq-item {
      background-color: #2a2a2a;
      border: 1px solid var(--page-yy777-com-ph__border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
      max-width: 100%;
      width: 100%;
    }

    .page-yy777-com-ph__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #333333;
      transition: background-color 0.3s ease;
      box-sizing: border-box;
    }

    .page-yy777-com-ph__faq-question:hover {
      background-color: #444444;
    }

    .page-yy777-com-ph__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: var(--page-yy777-com-ph__primary-color);
      pointer-events: none; /* Prevent h3 from blocking click on parent */
    }

    .page-yy777-com-ph__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-yy777-com-ph__primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click on parent */
    }

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

    .page-yy777-com-ph__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      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-yy777-com-ph__gray-text);
      font-size: 0.95em;
      box-sizing: border-box;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-com-ph__faq-item.active .page-yy777-com-ph__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px !important;
      opacity: 1;
    }

    .page-yy777-com-ph__cta-section {
      background-color: var(--page-yy777-com-ph__secondary-color);
      color: var(--page-yy777-com-ph__light-text);
      padding: 60px 20px;
    }

    .page-yy777-com-ph__cta-title {
      font-size: 2.5em;
      margin-bottom: 20px;
      color: var(--page-yy777-com-ph__light-text);
    }

    .page-yy777-com-ph__cta-text {
      font-size: 1.2em;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-com-ph__cta-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .page-yy777-com-ph__cta-button {
      background-color: var(--page-yy777-com-ph__primary-color);
      color: var(--page-yy777-com-ph__dark-bg);
      padding: 15px 30px;
      border-radius: 8px;
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-com-ph__cta-button--login {
      background-color: var(--page-yy777-com-ph__dark-bg);
      color: var(--page-yy777-com-ph__primary-color);
      border: 2px solid var(--page-yy777-com-ph__primary-color);
    }

    .page-yy777-com-ph__cta-button:hover {
      background-color: #e6a220;
      transform: translateY(-2px);
    }

    .page-yy777-com-ph__cta-button--login:hover {
      background-color: #333333;
      transform: translateY(-2px);
    }

    /* Mobile responsiveness */
    @media (max-width: 768px) {
      .page-yy777-com-ph__hero-title {
        font-size: 2.2em;
      }

      .page-yy777-com-ph__hero-subtitle {
        font-size: 1.2em;
      }

      .page-yy777-com-ph__heading {
        font-size: 2em;
      }

      .page-yy777-com-ph__subheading {
        font-size: 1.5em;
      }

      .page-yy777-com-ph__text,
      .page-yy777-com-ph__game-card-description,
      .page-yy777-com-ph__feature-item-text,
      .page-yy777-com-ph__faq-answer {
        font-size: 1em;
      }

      .page-yy777-com-ph__game-grid,
      .page-yy777-com-ph__features-list,
      .page-yy777-com-ph__payment-grid,
      .page-yy777-com-ph__provider-grid {
        grid-template-columns: 1fr;
      }

      .page-yy777-com-ph__game-card-image,
      .page-yy777-com-ph__logo-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-yy777-com-ph__game-card,
      .page-yy777-com-ph__feature-item,
      .page-yy777-com-ph__logo-item,
      .page-yy777-com-ph__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-com-ph__faq-list {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-com-ph__faq-question h3 {
        font-size: 1.1em;
      }

      .page-yy777-com-ph__faq-answer {
        padding: 15px !important; /* Adjusted for smaller screens */
      }

      .page-yy777-com-ph__faq-item.active .page-yy777-com-ph__faq-answer {
        padding: 15px !important;
      }

      .page-yy777-com-ph__floating-buttons {
        padding: 8px 0;
      }

      .page-yy777-com-ph__floating-button {
        font-size: 1em;
        padding: 8px 0;
      }

      .page-yy777-com-ph__cta-title {
        font-size: 2em;
      }

      .page-yy777-com-ph__cta-text {
        font-size: 1em;
      }

      .page-yy777-com-ph__cta-button {
        width: 100%;
        margin-bottom: 10px;
      }
    }
  