
    :root {
      --page-yy777-com-ph-primary-color: #e44d26; /* A vibrant orange for action */
      --page-yy777-com-ph-secondary-color: #333; /* Dark grey for text */
      --page-yy777-com-ph-accent-color: #f7b731; /* Golden yellow for highlights */
      --page-yy777-com-ph-background-dark: #1a1a1a; /* Dark background */
      --page-yy777-com-ph-background-light: #f5f5f5; /* Light background for contrast */
      --page-yy777-com-ph-text-light: #ffffff; /* White text on dark background */
      --page-yy777-com-ph-text-dark: #333333; /* Dark text on light background */
      --page-yy777-com-ph-border-color: #444;
      --page-yy777-com-ph-button-hover: #ff6633;
    }

    .page-yy777-com-ph {
      font-family: 'Arial', sans-serif;
      color: var(--page-yy777-com-ph-text-light);
      background-color: var(--page-yy777-com-ph-background-dark);
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: 10px; /* Small padding to avoid content directly touching the header, relying on body padding for main offset */
    }

    .page-yy777-com-ph__section {
      padding: 60px 20px;
      max-width: 1200px;
      margin: 0 auto;
      box-sizing: border-box;
    }

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

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

    .page-yy777-com-ph__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:online_casino,gaming,yy777_hero]') no-repeat center center/cover;
      min-height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      padding: 80px 20px; /* Adjusted padding */
      box-sizing: border-box;
    }

    .page-yy777-com-ph__hero-content {
      max-width: 800px;
      animation: fadeIn 1s ease-out;
    }

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

    .page-yy777-com-ph__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: var(--page-yy777-com-ph-text-light);
      opacity: 0.9;
    }

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

    .page-yy777-com-ph__button {
      background-color: var(--page-yy777-com-ph-primary-color);
      color: var(--page-yy777-com-ph-text-light);
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      min-width: 150px;
    }

    .page-yy777-com-ph__button:hover {
      background-color: var(--page-yy777-com-ph-button-hover);
      transform: translateY(-3px);
    }

    .page-yy777-com-ph__title {
      font-size: 2.8em;
      color: var(--page-yy777-com-ph-primary-color);
      text-align: center;
      margin-bottom: 40px;
      position: relative;
      padding-bottom: 15px;
    }

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

    .page-yy777-com-ph__subtitle {
      font-size: 1.8em;
      color: var(--page-yy777-com-ph-accent-color);
      text-align: center;
      margin-bottom: 30px;
    }

    .page-yy777-com-ph__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: center;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

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

    .page-yy777-com-ph__card {
      background-color: var(--page-yy777-com-ph-background-dark);
      border: 1px solid var(--page-yy777-com-ph-border-color);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
      color: var(--page-yy777-com-ph-text-light);
    }

    .page-yy777-com-ph__card--light {
      background-color: var(--page-yy777-com-ph-text-light);
      color: var(--page-yy777-com-ph-text-dark);
      border-color: #ddd;
    }

    .page-yy777-com-ph__card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-com-ph__card-image {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
      border-bottom: 1px solid var(--page-yy777-com-ph-border-color);
    }

    .page-yy777-com-ph__card-image--light {
      border-bottom: 1px solid #ddd;
    }

    .page-yy777-com-ph__card-content {
      padding: 25px 20px;
    }

    .page-yy777-com-ph__card-title {
      font-size: 1.5em;
      color: var(--page-yy777-com-ph-accent-color);
      margin-bottom: 15px;
    }

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

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

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

    .page-yy777-com-ph__promo-link:hover {
      color: var(--page-yy777-com-ph-accent-color);
    }

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

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

    .page-yy777-com-ph__payment-item--light {
      background-color: var(--page-yy777-com-ph-text-light);
      color: var(--page-yy777-com-ph-text-dark);
      border-color: #ddd;
    }

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

    .page-yy777-com-ph__payment-icon {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 10px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-com-ph__payment-name {
      font-size: 0.9em;
      font-weight: bold;
    }

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

    .page-yy777-com-ph__faq-container {
      max-width: 900px;
      margin: 40px auto 0 auto;
    }

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

    .page-yy777-com-ph__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      background-color: #f9f9f9;
      cursor: pointer;
      user-select: none;
      font-weight: bold;
      font-size: 1.1em;
      color: var(--page-yy777-com-ph-text-dark);
      transition: background-color 0.3s ease;
    }

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

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

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

    .page-yy777-com-ph__faq-item.active .page-yy777-com-ph__faq-toggle {
      transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
    }

    .page-yy777-com-ph__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      background-color: #fff;
      color: var(--page-yy777-com-ph-secondary-color);
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
    }

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

    .page-yy777-com-ph__faq-answer p {
      margin: 0;
      padding-bottom: 10px;
    }

    /* Floating buttons for Login/Register */
    .page-yy777-com-ph__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
    }

    .page-yy777-com-ph__floating-button {
      background-color: var(--page-yy777-com-ph-accent-color);
      color: var(--page-yy777-com-ph-text-dark);
      padding: 12px 25px;
      border-radius: 30px;
      font-size: 1.1em;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      min-width: 120px;
    }

    .page-yy777-com-ph__floating-button--register {
      background-color: var(--page-yy777-com-ph-primary-color);
      color: var(--page-yy777-com-ph-text-light);
    }

    .page-yy777-com-ph__floating-button:hover {
      transform: translateY(-3px);
      filter: brightness(1.1);
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-yy777-com-ph__hero-title {
        font-size: 3em;
      }
      .page-yy777-com-ph__hero-subtitle {
        font-size: 1.3em;
      }
      .page-yy777-com-ph__title {
        font-size: 2.2em;
      }
      .page-yy777-com-ph__subtitle {
        font-size: 1.5em;
      }
      .page-yy777-com-ph__text {
        font-size: 1em;
      }
      .page-yy777-com-ph__card-title {
        font-size: 1.3em;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-com-ph__section {
        padding: 40px 15px;
      }
      .page-yy777-com-ph__hero-section {
        min-height: 500px;
        padding: 60px 15px;
      }
      .page-yy777-com-ph__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-com-ph__hero-subtitle {
        font-size: 1.1em;
      }
      .page-yy777-com-ph__button-group {
        flex-direction: column;
        gap: 15px;
      }
      .page-yy777-com-ph__button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
      }
      .page-yy777-com-ph__title {
        font-size: 2em;
        margin-bottom: 30px;
      }
      .page-yy777-com-ph__subtitle {
        font-size: 1.3em;
      }
      .page-yy777-com-ph__grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .page-yy777-com-ph__card-image {
        height: 200px;
      }
      .page-yy777-com-ph__payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
      }
      .page-yy777-com-ph__payment-icon {
        width: 60px;
        height: 60px;
      }
      .page-yy777-com-ph__payment-name {
        font-size: 0.8em;
      }
      .page-yy777-com-ph__faq-question {
        padding: 15px;
        font-size: 1em;
      }
      .page-yy777-com-ph__faq-question h3 {
        font-size: 1em;
      }
      .page-yy777-com-ph__faq-answer {
        padding: 0 15px;
      }
      .page-yy777-com-ph__faq-item.active .page-yy777-com-ph__faq-answer {
        padding: 15px !important;
      }
      .page-yy777-com-ph__floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
      }
      .page-yy777-com-ph__floating-button {
        padding: 10px 20px;
        font-size: 1em;
        min-width: 100px;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-com-ph__hero-title {
        font-size: 2em;
      }
      .page-yy777-com-ph__hero-subtitle {
        font-size: 1em;
      }
      .page-yy777-com-ph__title {
        font-size: 1.8em;
      }
      .page-yy777-com-ph__text {
        font-size: 0.95em;
      }
      .page-yy777-com-ph__card-title {
        font-size: 1.2em;
      }
    }

    /* Ensure images are responsive and contained */
    .page-yy777-com-ph img {
      max-width: 100%;
      height: auto;
      box-sizing: border-box;
    }

    @media (max-width: 768px) {
      .page-yy777-com-ph img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-yy777-com-ph__payment-grid .page-yy777-com-ph__payment-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-com-ph__payment-grid {
        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-com-ph__faq-container {
        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-com-ph__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-com-ph__card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-com-ph__grid {
        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-com-ph__text {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
  