
    :root {
      --page-yy777-com-primary-color: #e44d26; /* A vibrant orange for action */
      --page-yy777-com-secondary-color: #333;
      --page-yy777-com-background-light: #f5f5f5;
      --page-yy777-com-text-color: #333;
      --page-yy777-com-text-light: #fff;
      --page-yy777-com-border-color: #ddd;
      --page-yy777-com-accent-color: #007bff;
    }

    .page-yy777-com {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--page-yy777-com-text-color);
      background-color: var(--page-yy777-com-background-light);
      padding-top: 10px; /* Minimal top padding, relying on body padding for header offset */
    }

    .page-yy777-com__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

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

    .page-yy777-com__title {
      text-align: center;
      color: var(--page-yy777-com-primary-color);
      margin-bottom: 30px;
      font-size: 2.5em;
      font-weight: 700;
    }

    .page-yy777-com__title--light {
      color: var(--page-yy777-com-text-light);
    }

    .page-yy777-com__subtitle {
      text-align: center;
      color: var(--page-yy777-com-secondary-color);
      margin-bottom: 20px;
      font-size: 1.8em;
    }

    .page-yy777-com__subtitle--light {
      color: var(--page-yy777-com-text-light);
    }

    .page-yy777-com__text-center {
      text-align: center;
    }

    .page-yy777-com__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:online_casino,gaming_platform,yy777_com]') center center / cover no-repeat;
      color: #fff;
      text-align: center;
      padding: 80px 20px;
      border-radius: 8px;
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 450px;
      box-sizing: border-box;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-com__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      color: #fff;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      max-width: 900px;
    }

    .page-yy777-com__hero-description {
      font-size: 1.4em;
      margin-bottom: 30px;
      max-width: 800px;
      line-height: 1.5;
    }

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

    .page-yy777-com__button:hover {
      background-color: #c7401f;
    }

    .page-yy777-com__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      justify-content: center;
      margin-top: 30px;
    }

    .page-yy777-com__promo-card {
      background-color: var(--page-yy777-com-background-light);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
      display: flex;
      flex-direction: column;
    }

    .page-yy777-com__promo-card:hover {
      transform: translateY(-5px);
    }

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

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

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

    .page-yy777-com__promo-card-description {
      font-size: 0.95em;
      color: var(--page-yy777-com-secondary-color);
      margin-bottom: 15px;
    }

    .page-yy777-com__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 30px;
      justify-content: center;
    }

    .page-yy777-com__game-card {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .page-yy777-com__game-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com__game-card-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }

    .page-yy777-com__game-card-title {
      font-size: 1.3em;
      color: var(--page-yy777-com-primary-color);
      margin: 15px 10px 10px;
      flex-grow: 1;
    }

    .page-yy777-com__game-card-text {
      font-size: 0.9em;
      color: var(--page-yy777-com-secondary-color);
      margin: 0 10px 15px;
    }

    .page-yy777-com__features-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
      list-style: none;
      padding: 0;
    }

    .page-yy777-com__feature-item {
      background-color: var(--page-yy777-com-background-light);
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .page-yy777-com__feature-icon {
      width: 80px;
      height: 80px;
      margin-bottom: 15px;
      object-fit: contain;
    }

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

    .page-yy777-com__feature-description {
      font-size: 0.95em;
      color: var(--page-yy777-com-secondary-color);
    }

    .page-yy777-com__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-content: center;
    }

    .page-yy777-com__payment-card {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s ease;
    }

    .page-yy777-com__payment-card:hover {
      transform: translateY(-3px);
    }

    .page-yy777-com__payment-logo {
      width: 120px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .page-yy777-com__payment-name {
      font-size: 1em;
      font-weight: bold;
      color: var(--page-yy777-com-secondary-color);
    }

    .page-yy777-com__provider-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-content: center;
    }

    .page-yy777-com__provider-card {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s ease;
    }

    .page-yy777-com__provider-card:hover {
      transform: translateY(-3px);
    }

    .page-yy777-com__provider-logo {
      width: 150px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .page-yy777-com__provider-name {
      font-size: 1.1em;
      font-weight: bold;
      color: var(--page-yy777-com-secondary-color);
    }

    .page-yy777-com__faq-container {
      max-width: 900px;
      margin: 30px auto 0;
    }

    .page-yy777-com__faq-item {
      background-color: #fff;
      border: 1px solid var(--page-yy777-com-border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
    }

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

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

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

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

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

    .page-yy777-com__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-text-color);
      font-size: 0.95em;
      line-height: 1.6;
    }

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

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

    .page-yy777-com__floating-button {
      background-color: var(--page-yy777-com-primary-color);
      color: var(--page-yy777-com-text-light);
      padding: 12px 20px;
      border-radius: 50px;
      font-size: 1em;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      width: 120px; /* Fixed width for consistency */
      box-sizing: border-box;
    }

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

    .page-yy777-com__floating-button--login {
      background-color: var(--page-yy777-com-accent-color);
    }

    .page-yy777-com__floating-button--login:hover {
      background-color: #0056b3;
    }
    
    .page-yy777-com__external-link {
      color: var(--page-yy777-com-primary-color);
      text-decoration: underline;
    }

    .page-yy777-com__external-link:hover {
      color: #c7401f;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
      .page-yy777-com__hero-title {
        font-size: 2.5em;
      }

      .page-yy777-com__hero-description {
        font-size: 1.1em;
      }

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

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

      .page-yy777-com__section {
        padding: 30px 15px;
        margin-left: 10px;
        margin-right: 10px;
      }

      .page-yy777-com__promo-grid,
      .page-yy777-com__game-grid,
      .page-yy777-com__features-list,
      .page-yy777-com__payment-grid,
      .page-yy777-com__provider-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .page-yy777-com__feature-item,
      .page-yy777-com__promo-card,
      .page-yy777-com__game-card,
      .page-yy777-com__payment-card,
      .page-yy777-com__provider-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px; /* Adjust padding for smaller screens */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      /* Ensure images are responsive */
      .page-yy777-com__promo-card-image,
      .page-yy777-com__game-card-image,
      .page-yy777-com__feature-icon,
      .page-yy777-com__payment-logo,
      .page-yy777-com__provider-logo {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-yy777-com__faq-container {
        margin-left: 10px;
        margin-right: 10px;
      }

      .page-yy777-com__faq-question {
        padding: 12px 15px;
      }

      .page-yy777-com__faq-question h3 {
        font-size: 1em;
      }

      .page-yy777-com__faq-answer {
        padding: 15px !important; /* Adjust padding for mobile */
      }

      .page-yy777-com__floating-buttons {
        bottom: 15px;
        right: 15px;
      }

      .page-yy777-com__floating-button {
        width: 100px;
        padding: 10px 15px;
        font-size: 0.9em;
      }
    }

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

      .page-yy777-com__hero-description {
        font-size: 1em;
      }

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