
    /* Base styles for the page, ensuring good contrast and responsive design */
    :root {
      --page-yy777-ph-primary-color: #e02424; /* A vibrant red, common in casino themes */
      --page-yy777-ph-secondary-color: #ffc107; /* Gold/yellow for highlights */
      --page-yy777-ph-background-dark: #1a1a1a;
      --page-yy777-ph-background-light: #2a2a2a;
      --page-yy777-ph-text-light: #f0f0f0;
      --page-yy777-ph-text-dark: #333;
      --page-yy777-ph-border-color: #444;
      --page-yy777-ph-padding-section: 60px 20px;
      --page-yy777-ph-padding-item: 20px;
      --page-yy777-ph-border-radius: 8px;
    }

    .page-yy777-ph {
      font-family: 'Arial', sans-serif;
      color: var(--page-yy777-ph-text-light);
      background-color: var(--page-yy777-ph-background-dark);
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll */
      padding-top: 10px; /* Small padding at the top for visual separation, assuming body padding handles header offset */
    }

    .page-yy777-ph__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .page-yy777-ph__section {
      padding: var(--page-yy777-ph-padding-section);
      text-align: center;
    }

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

    .page-yy777-ph__heading {
      color: var(--page-yy777-ph-secondary-color);
      margin-bottom: 25px;
      font-size: 2.5em;
    }

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

    .page-yy777-ph__text {
      font-size: 1.1em;
      margin-bottom: 20px;
    }

    /* Hero Section */
    .page-yy777-ph__hero-section {
      position: relative;
      background: var(--page-yy777-ph-background-dark);
      padding: 120px 20px 80px; /* Adjusted padding */
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      min-height: 60vh;
      box-sizing: border-box;
      text-align: center;
    }

    .page-yy777-ph__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      filter: brightness(0.4); /* Darken background for text readability */
    }

    .page-yy777-ph__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
      border-radius: var(--page-yy777-ph-border-radius);
      background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    }

    .page-yy777-ph__hero-title {
      font-size: 3.5em;
      color: var(--page-yy777-ph-secondary-color);
      margin-bottom: 20px;
      line-height: 1.1;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-ph__hero-description {
      font-size: 1.4em;
      color: var(--page-yy777-ph-text-light);
      margin-bottom: 30px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

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

    .page-yy777-ph__button {
      background-color: var(--page-yy777-ph-primary-color);
      color: var(--page-yy777-ph-text-light);
      padding: 15px 30px;
      border: none;
      border-radius: var(--page-yy777-ph-border-radius);
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none; /* Ensure no underline for button-like elements */
      display: inline-block; /* For proper padding/sizing */
    }

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

    .page-yy777-ph__button--secondary {
      background-color: var(--page-yy777-ph-secondary-color);
      color: var(--page-yy777-ph-background-dark);
    }

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

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

    .page-yy777-ph__floating-button {
      background-color: var(--page-yy777-ph-primary-color);
      color: var(--page-yy777-ph-text-light);
      padding: 12px 25px;
      border: none;
      border-radius: 50px; /* Pill shape */
      font-size: 1em;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
    }

    .page-yy777-ph__floating-button:hover {
      background-color: #c01e1e;
      transform: translateY(-2px);
    }

    /* About Section */
    .page-yy777-ph__about-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }

    .page-yy777-ph__about-image-wrapper {
      width: 100%;
      max-width: 600px;
      border-radius: var(--page-yy777-ph-border-radius);
      overflow: hidden;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    .page-yy777-ph__about-image {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .page-yy777-ph__about-text-content {
      text-align: left;
    }

    /* Game Providers Section */
    .page-yy777-ph__providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-ph__provider-card {
      background-color: var(--page-yy777-ph-background-light);
      padding: var(--page-yy777-ph-padding-item);
      border-radius: var(--page-yy777-ph-border-radius);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-yy777-ph__provider-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }

    .page-yy777-ph__provider-logo-wrapper {
      width: 100%;
      max-width: 250px; /* Ensure images are not too large but meet minimum */
      height: 150px; /* Fixed height for consistency */
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
      border-radius: var(--page-yy777-ph-border-radius);
      background-color: #000; /* Dark background for logos */
    }

    .page-yy777-ph__provider-logo {
      max-width: 100%;
      max-height: 100%;
      height: auto;
      display: block;
      object-fit: contain;
    }

    .page-yy777-ph__provider-name {
      font-size: 1.3em;
      font-weight: bold;
      color: var(--page-yy777-ph-secondary-color);
    }

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

    .page-yy777-ph__promo-card {
      background-color: var(--page-yy777-ph-background-light);
      border-radius: var(--page-yy777-ph-border-radius);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      text-align: left;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-yy777-ph__promo-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }

    .page-yy777-ph__promo-image-wrapper {
      width: 100%;
      height: 200px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

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

    .page-yy777-ph__promo-content {
      padding: var(--page-yy777-ph-padding-item);
    }

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

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

    /* Payments Section */
    .page-yy777-ph__payments-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 40px;
      justify-items: center;
    }

    .page-yy777-ph__payment-method {
      background-color: var(--page-yy777-ph-background-light);
      padding: 15px;
      border-radius: var(--page-yy777-ph-border-radius);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      width: 100%;
      max-width: 200px; /* Restrict max width for smaller cards */
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      transition: transform 0.3s ease;
    }

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

    .page-yy777-ph__payment-logo-wrapper {
      width: 100%;
      height: 80px; /* Fixed height for consistency */
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .page-yy777-ph__payment-logo {
      max-width: 100%;
      max-height: 100%;
      height: auto;
      object-fit: contain;
    }

    .page-yy777-ph__payment-name {
      font-size: 0.9em;
      font-weight: bold;
      color: var(--page-yy777-ph-text-light);
      text-align: center;
    }

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

    .page-yy777-ph__feature-card {
      background-color: var(--page-yy777-ph-background-light);
      padding: var(--page-yy777-ph-padding-item);
      border-radius: var(--page-yy777-ph-border-radius);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-yy777-ph__feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }

    .page-yy777-ph__feature-icon-wrapper {
      width: 100px; /* Minimum 200x200px image, so wrapper needs to be larger to contain it */
      height: 100px;
      margin: 0 auto 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .page-yy777-ph__feature-icon {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

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

    .page-yy777-ph__feature-description {
      font-size: 1em;
      color: var(--page-yy777-ph-text-light);
    }

    /* FAQ Section */
    .page-yy777-ph__faq-section {
      background-color: var(--page-yy777-ph-background-light);
    }

    .page-yy777-ph__faq-item {
      background-color: var(--page-yy777-ph-background-dark);
      border: 1px solid var(--page-yy777-ph-border-color);
      border-radius: var(--page-yy777-ph-border-radius);
      margin-bottom: 15px;
      overflow: hidden;
    }

    .page-yy777-ph__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: var(--page-yy777-ph-padding-item);
      cursor: pointer;
      user-select: none;
      background-color: #333;
      transition: background-color 0.3s ease;
    }

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

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

    .page-yy777-ph__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-yy777-ph-secondary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
    }

    .page-yy777-ph__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px; /* Initial padding, will be updated on active */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      text-align: left;
      color: var(--page-yy777-ph-text-light);
      background-color: var(--page-yy777-ph-background-dark);
    }

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

    .page-yy777-ph__faq-item.active .page-yy777-ph__faq-toggle {
      transform: rotate(45deg); /* Rotate '+' to 'x' or similar, visually indicating 'collapse' */
      content: '−'; /* Change to minus sign */
    }

    /* Call to Action Section */
    .page-yy777-ph__cta-section {
      background-color: var(--page-yy777-ph-primary-color);
      color: var(--page-yy777-ph-text-light);
      padding: 80px 20px;
    }

    .page-yy777-ph__cta-title {
      font-size: 2.8em;
      margin-bottom: 20px;
      color: var(--page-yy777-ph-text-light);
    }

    .page-yy777-ph__cta-description {
      font-size: 1.2em;
      margin-bottom: 40px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-yy777-ph__hero-title {
        font-size: 3em;
      }
      .page-yy777-ph__hero-description {
        font-size: 1.2em;
      }
      .page-yy777-ph__heading {
        font-size: 2em;
      }
      .page-yy777-ph__subheading {
        font-size: 1.6em;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-ph__hero-section {
        padding: 100px 15px 60px;
        min-height: 70vh;
      }
      .page-yy777-ph__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-ph__hero-description {
        font-size: 1em;
      }
      .page-yy777-ph__hero-buttons {
        flex-direction: column;
        gap: 15px;
      }
      .page-yy777-ph__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }

      .page-yy777-ph__section {
        padding: 40px 15px;
      }
      .page-yy777-ph__heading {
        font-size: 1.8em;
      }
      .page-yy777-ph__subheading {
        font-size: 1.4em;
      }
      .page-yy777-ph__text {
        font-size: 1em;
      }

      .page-yy777-ph__about-content {
        flex-direction: column;
      }

      /* List item responsive requirements */
      .page-yy777-ph__providers-grid,
      .page-yy777-ph__promotions-grid,
      .page-yy777-ph__payments-grid,
      .page-yy777-ph__features-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-ph__provider-card,
      .page-yy777-ph__promo-card,
      .page-yy777-ph__payment-method,
      .page-yy777-ph__feature-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !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__faq-question h3 {
        font-size: 1em;
      }
      .page-yy777-ph__faq-toggle {
        font-size: 1.5em;
      }
      .page-yy777-ph__faq-answer {
        padding: 0 10px;
      }
      .page-yy777-ph__faq-item.active .page-yy777-ph__faq-answer {
        padding: 15px 10px !important;
      }

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

    @media (max-width: 480px) {
      .page-yy777-ph__hero-title {
        font-size: 2em;
      }
      .page-yy777-ph__hero-description {
        font-size: 0.9em;
      }
      .page-yy777-ph__floating-buttons {
        bottom: 10px;
        right: 10px;
      }
      .page-yy777-ph__floating-button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
    }

    /* Image responsive styles */
    .page-yy777-ph img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    .page-yy777-ph__image-wrapper {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
    }
    @media (max-width: 768px) {
      .page-yy777-ph img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-yy777-ph__image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
    }
  