
    :root {
      --page-yy777-ph-primary-color: #e44d26; /* A vibrant orange-red for action */
      --page-yy777-ph-secondary-color: #333;
      --page-yy777-ph-accent-color: #007bff; /* Blue for links/highlights */
      --page-yy777-ph-background-light: #f9f9f9;
      --page-yy777-ph-background-dark: #222;
      --page-yy777-ph-text-light: #fff;
      --page-yy777-ph-text-dark: #333;
      --page-yy777-ph-border-color: #ddd;
    }

    .page-yy777-ph {
      font-family: 'Arial', sans-serif;
      color: var(--page-yy777-ph-text-dark);
      line-height: 1.6;
      background-color: var(--page-yy777-ph-background-light);
      padding-bottom: 40px;
    }

    .page-yy777-ph__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
    }

    .page-yy777-ph__section--dark {
      background-color: var(--page-yy777-ph-background-dark);
      color: var(--page-yy777-ph-text-light);
    }

    .page-yy777-ph__section-title {
      text-align: center;
      font-size: 2.5em;
      margin-bottom: 30px;
      color: var(--page-yy777-ph-primary-color);
      position: relative;
      padding-bottom: 10px;
    }

    .page-yy777-ph__section-title--light {
      color: var(--page-yy777-ph-text-light);
    }

    .page-yy777-ph__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: var(--page-yy777-ph-accent-color);
      border-radius: 2px;
    }

    .page-yy777-ph__hero-section {
      position: relative;
      width: 100%;
      height: 500px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--page-yy777-ph-text-light);
      padding-top: 10px; /* Small padding as body handles header offset */
      box-sizing: border-box;
    }

    .page-yy777-ph__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
      filter: brightness(0.6);
    }

    .page-yy777-ph__hero-content {
      z-index: 1;
      padding: 20px;
      max-width: 800px;
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 10px;
    }

    .page-yy777-ph__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      line-height: 1.2;
    }

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

    .page-yy777-ph__button {
      display: inline-block;
      background-color: var(--page-yy777-ph-primary-color);
      color: var(--page-yy777-ph-text-light);
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-ph__button:hover {
      background-color: #ff6633;
      transform: translateY(-2px);
    }

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

    .page-yy777-ph__info-card {
      background-color: var(--page-yy777-ph-text-light);
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--page-yy777-ph-border-color);
    }

    .page-yy777-ph__info-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .page-yy777-ph__info-card-icon {
      width: 100%;
      max-width: 250px;
      height: auto;
      margin-bottom: 20px;
      border-radius: 8px;
    }

    .page-yy777-ph__info-card-title {
      font-size: 1.8em;
      margin-bottom: 15px;
      color: var(--page-yy777-ph-primary-color);
    }

    .page-yy777-ph__info-card-description {
      font-size: 1em;
      color: var(--page-yy777-ph-secondary-color);
    }

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

    .page-yy777-ph__game-card {
      background-color: var(--page-yy777-ph-background-dark);
      color: var(--page-yy777-ph-text-light);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      position: relative;
    }

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

    .page-yy777-ph__game-image-wrapper {
      width: 100%;
      height: 200px;
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-yy777-ph__game-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .page-yy777-ph__game-card:hover .page-yy777-ph__game-image {
      transform: scale(1.05);
    }

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

    .page-yy777-ph__game-title {
      font-size: 1.5em;
      margin-bottom: 10px;
      color: var(--page-yy777-ph-primary-color);
    }

    .page-yy777-ph__game-description {
      font-size: 0.95em;
      margin-bottom: 15px;
    }

    .page-yy777-ph__payment-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 40px;
      list-style: none;
      padding: 0;
    }

    .page-yy777-ph__payment-item {
      background-color: var(--page-yy777-ph-text-light);
      padding: 15px 25px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      font-weight: bold;
      color: var(--page-yy777-ph-secondary-color);
      transition: transform 0.2s ease;
      box-sizing: border-box;
      width: auto; /* Allow items to size naturally */
      text-align: center;
    }

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

    .page-yy777-ph__faq-container {
      margin-top: 40px;
    }

    .page-yy777-ph__faq-item {
      background-color: var(--page-yy777-ph-text-light);
      border: 1px solid var(--page-yy777-ph-border-color);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .page-yy777-ph__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      background-color: #f0f0f0;
      font-weight: bold;
      color: var(--page-yy777-ph-secondary-color);
      transition: background-color 0.3s ease;
      user-select: none;
    }

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

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

    .page-yy777-ph__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-yy777-ph__faq-item.active .page-yy777-ph__faq-toggle {
      transform: rotate(45deg); /* Changes '+' to 'x' or equivalent */
    }

    .page-yy777-ph__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      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-ph-secondary-color);
    }

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

    .page-yy777-ph__promotion-card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-ph__promotion-card {
      background-color: var(--page-yy777-ph-text-light);
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--page-yy777-ph-border-color);
    }

    .page-yy777-ph__promotion-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .page-yy777-ph__promotion-image-wrapper {
      width: 100%;
      height: 220px;
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-yy777-ph__promotion-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .page-yy777-ph__promotion-content {
      padding: 25px;
    }

    .page-yy777-ph__promotion-title {
      font-size: 1.6em;
      margin-bottom: 10px;
      color: var(--page-yy777-ph-primary-color);
    }

    .page-yy777-ph__promotion-description {
      font-size: 1em;
      margin-bottom: 20px;
      color: var(--page-yy777-ph-secondary-color);
    }

    .page-yy777-ph__promo-link-button {
      background-color: var(--page-yy777-ph-accent-color);
      color: var(--page-yy777-ph-text-light);
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      display: inline-block;
    }

    .page-yy777-ph__promo-link-button:hover {
      background-color: #0056b3;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-yy777-ph__hero-section {
        height: 400px;
      }

      .page-yy777-ph__hero-title {
        font-size: 2.5em;
      }

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

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

      .page-yy777-ph__button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-yy777-ph__info-card,
      .page-yy777-ph__game-card,
      .page-yy777-ph__promotion-card {
        margin: 0 auto;
        max-width: 400px; /* Constrain width for better mobile stacking */
      }

      .page-yy777-ph__payment-list {
        flex-direction: column;
        align-items: center;
      }

      .page-yy777-ph__payment-item {
        width: 100% !important;
        max-width: 250px !important; /* Constrain individual item width */
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 12px 20px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-yy777-ph__faq-question {
        padding: 15px 20px;
      }

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

      .page-yy777-ph__faq-answer {
        padding: 0 20px;
      }

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

    @media (max-width: 480px) {
      .page-yy777-ph__hero-title {
        font-size: 2em;
      }

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

      .page-yy777-ph__section-title {
        font-size: 1.8em;
      }

      .page-yy777-ph__section {
        padding: 30px 15px;
      }
    }
  