
    :root {
      --page-yy777-ph-primary: #FFD700; /* Gold */
      --page-yy777-ph-secondary: #00BFFF; /* Deep Sky Blue */
      --page-yy777-ph-dark-bg: #1a1a1a;
      --page-yy777-ph-light-text: #f0f0f0;
      --page-yy777-ph-medium-text: #cccccc;
      --page-yy777-ph-accent-hover: #FFFACD; /* Light Gold */
    }

    .page-yy777-ph {
      font-family: 'Arial', sans-serif;
      color: var(--page-yy777-ph-light-text);
      background-color: var(--page-yy777-ph-dark-bg);
      line-height: 1.6;
      padding-bottom: 80px; /* Space for floating buttons */
    }

    .page-yy777-ph__hero-section {
      position: relative;
      width: 100%;
      height: 60vh;
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--page-yy777-ph-light-text);
      overflow: hidden;
      padding-top: 10px; /* Minimal padding, assuming body handles main offset */
      box-sizing: border-box;
    }

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

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

    .page-yy777-ph__hero-title {
      font-size: 3.5em;
      margin-bottom: 10px;
      color: var(--page-yy777-ph-primary);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 20px;
      color: var(--page-yy777-ph-light-text);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__button {
      display: inline-block;
      padding: 12px 25px;
      background-color: var(--page-yy777-ph-primary);
      color: var(--page-yy777-ph-dark-bg);
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none; /* Ensure no underline if used with <a> */
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__button:hover {
      background-color: var(--page-yy777-ph-accent-hover);
      transform: translateY(-2px);
    }

    .page-yy777-ph__section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
      box-sizing: border-box;
    }

    .page-yy777-ph__section-title {
      font-size: 2.5em;
      color: var(--page-yy777-ph-primary);
      margin-bottom: 30px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__text-content {
      font-size: 1.1em;
      color: var(--page-yy777-ph-medium-text);
      margin-bottom: 20px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

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

    .page-yy777-ph__card {
      background-color: #2a2a2a;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: left;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

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

    .page-yy777-ph__card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-ph__card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-yy777-ph__card-title {
      font-size: 1.5em;
      color: var(--page-yy777-ph-primary);
      margin-bottom: 10px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__card-description {
      font-size: 0.95em;
      color: var(--page-yy777-ph-medium-text);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__promo-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-ph__promo-item {
      background-color: #2a2a2a;
      border: 1px solid var(--page-yy777-ph-primary);
      border-radius: 8px;
      padding: 20px;
      flex: 1 1 calc(33% - 40px); /* 3 items per row, accounting for gap */
      min-width: 280px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      text-align: left;
      box-sizing: border-box;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__promo-item h3 {
      color: var(--page-yy777-ph-primary);
      margin-top: 0;
      font-size: 1.3em;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__promo-item p {
      color: var(--page-yy777-ph-medium-text);
      font-size: 0.95em;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__payment-providers,
    .page-yy777-ph__game-providers {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-ph__provider-item {
      background-color: #2a2a2a;
      border-radius: 8px;
      padding: 15px 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      color: var(--page-yy777-ph-light-text);
      font-weight: bold;
      flex: 0 1 auto; /* Allow items to shrink/grow based on content */
      min-width: 120px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.3s ease;
      box-sizing: border-box;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__provider-item:hover {
      background-color: #3a3a3a;
    }

    .page-yy777-ph__floating-buttons {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 1000;
    }

    .page-yy777-ph__register-btn,
    .page-yy777-ph__login-btn {
      padding: 12px 30px;
      border-radius: 30px;
      font-size: 1.1em;
      font-weight: bold;
      color: var(--page-yy777-ph-dark-bg);
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-yy777-ph__register-btn {
      background-color: var(--page-yy777-ph-primary);
    }

    .page-yy777-ph__register-btn:hover {
      background-color: var(--page-yy777-ph-accent-hover);
      transform: translateY(-2px);
    }

    .page-yy777-ph__login-btn {
      background-color: var(--page-yy777-ph-secondary);
      color: var(--page-yy777-ph-light-text);
    }

    .page-yy777-ph__login-btn:hover {
      background-color: #4dc3ff; /* Lighter Deep Sky Blue */
      transform: translateY(-2px);
    }

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

    .page-yy777-ph__faq-item {
      background-color: #2a2a2a;
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
    }

    .page-yy777-ph__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: #333;
      color: var(--page-yy777-ph-light-text);
      font-size: 1.2em;
      font-weight: bold;
      user-select: none;
      transition: background-color 0.3s ease;
      box-sizing: border-box;
    }

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

    .page-yy777-ph__faq-question h3 {
      margin: 0;
      color: inherit;
      pointer-events: none; /* Prevent h3 from blocking click event */
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

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

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

    .page-yy777-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-ph-medium-text);
      font-size: 1em;
      box-sizing: border-box;
    }

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

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-yy777-ph__hero-title {
        font-size: 3em;
      }
      .page-yy777-ph__hero-subtitle {
        font-size: 1.3em;
      }
      .page-yy777-ph__section-title {
        font-size: 2.2em;
      }
      .page-yy777-ph__promo-item {
        flex: 1 1 calc(50% - 30px); /* 2 items per row */
      }
    }

    @media (max-width: 768px) {
      .page-yy777-ph__hero-section {
        height: 50vh;
        min-height: 350px;
      }
      .page-yy777-ph__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-ph__hero-subtitle {
        font-size: 1.1em;
      }
      .page-yy777-ph__button {
        padding: 10px 20px;
        font-size: 1em;
      }
      .page-yy777-ph__section {
        padding: 30px 15px;
      }
      .page-yy777-ph__section-title {
        font-size: 2em;
      }
      .page-yy777-ph__grid {
        grid-template-columns: 1fr;
      }
      .page-yy777-ph__card-image {
        height: 180px;
      }
      .page-yy777-ph__card-title {
        font-size: 1.3em;
      }
      .page-yy777-ph__promo-list {
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-ph__promo-item {
        flex: 1 1 100% !important; /* 1 item per row */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-ph__promo-item h3 {
        font-size: 1.2em;
      }
      .page-yy777-ph__payment-providers,
      .page-yy777-ph__game-providers {
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-ph__provider-item {
        min-width: unset;
        flex: 1 1 calc(50% - 10px); /* 2 items per row */
        padding: 10px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-ph__floating-buttons {
        gap: 10px;
        bottom: 15px;
      }
      .page-yy777-ph__register-btn,
      .page-yy777-ph__login-btn {
        padding: 10px 20px;
        font-size: 1em;
      }
      .page-yy777-ph__faq-question {
        font-size: 1.1em;
        padding: 15px;
      }
      .page-yy777-ph__faq-answer {
        padding: 0 15px;
      }
      .page-yy777-ph__faq-item.active .page-yy777-ph__faq-answer {
        padding: 15px !important;
      }
      .page-yy777-ph img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-yy777-ph__card-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-ph__hero-title {
        font-size: 2em;
      }
      .page-yy777-ph__hero-subtitle {
        font-size: 0.9em;
      }
      .page-yy777-ph__section-title {
        font-size: 1.8em;
      }
      .page-yy777-ph__floating-buttons {
        flex-direction: column;
        width: calc(100% - 40px);
        max-width: 300px;
      }
      .page-yy777-ph__register-btn,
      .page-yy777-ph__login-btn {
        width: 100%;
        text-align: center;
      }
      .page-yy777-ph__provider-item {
        flex: 1 1 100%; /* 1 item per row */
      }
    }
  