
    :root {
      --page-yy777-home-primary-color: #007bff; /* A vibrant blue */
      --page-yy777-home-secondary-color: #6c757d; /* Grey */
      --page-yy777-home-accent-color: #ffc107; /* Yellow/Gold for highlights */
      --page-yy777-home-dark-bg: #1a1a2e; /* Dark background */
      --page-yy777-home-light-bg: #f8f9fa; /* Light background */
      --page-yy777-home-text-color: #333; /* Dark text on light bg */
      --page-yy777-home-light-text-color: #f8f9fa; /* Light text on dark bg */
      --page-yy777-home-border-color: #e9ecef;
    }

    .page-yy777-home {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--page-yy777-home-text-color);
      background-color: var(--page-yy777-home-light-bg);
      padding-top: 10px; /* Small padding, assuming body handles main header offset */
    }

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

    .page-yy777-home__section--dark {
      background-color: var(--page-yy777-home-dark-bg);
      color: var(--page-yy777-home-light-text-color);
    }

    .page-yy777-home__section-title {
      text-align: center;
      color: var(--page-yy777-home-primary-color);
      margin-bottom: 30px;
      font-size: 2.2em;
      font-weight: 700;
    }

    .page-yy777-home__section--dark .page-yy777-home__section-title {
      color: var(--page-yy777-home-accent-color);
    }

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

    /* Hero Section */
    .page-yy777-home__hero-section {
      position: relative;
      background-color: var(--page-yy777-home-dark-bg);
      color: var(--page-yy777-home-light-text-color);
      padding: 80px 20px;
      text-align: center;
      overflow: hidden;
      border-radius: 8px;
      margin-bottom: 20px;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .page-yy777-home__hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3;
      z-index: 1;
    }

    .page-yy777-home__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: 0 auto;
    }

    .page-yy777-home__hero-title {
      font-size: 3em;
      margin-bottom: 20px;
      color: var(--page-yy777-home-accent-color);
      line-height: 1.2;
    }

    .page-yy777-home__hero-subtitle {
      font-size: 1.3em;
      margin-bottom: 30px;
      opacity: 0.9;
    }

    .page-yy777-home__button-group {
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
    }

    .page-yy777-home__button {
      display: inline-block;
      padding: 12px 25px;
      border-radius: 50px;
      font-size: 1.1em;
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      cursor: pointer;
      border: none;
    }

    .page-yy777-home__button--primary {
      background-color: var(--page-yy777-home-primary-color);
      color: var(--page-yy777-home-light-text-color);
    }

    .page-yy777-home__button--primary:hover {
      background-color: #0056b3;
      transform: translateY(-2px);
    }

    .page-yy777-home__button--secondary {
      background-color: var(--page-yy777-home-accent-color);
      color: var(--page-yy777-home-dark-bg);
    }

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

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

    .page-yy777-home__floating-button {
      background-color: var(--page-yy777-home-primary-color);
      color: var(--page-yy777-home-light-text-color);
      border: none;
      border-radius: 50px;
      padding: 12px 20px;
      font-size: 1em;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
      min-width: 120px; /* Ensure buttons are wide enough */
    }

    .page-yy777-home__floating-button:hover {
      background-color: #0056b3;
      transform: translateY(-2px);
    }

    /* Content Grid */
    .page-yy777-home__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-yy777-home__grid-item {
      background-color: var(--page-yy777-home-light-bg);
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }

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

    .page-yy777-home__grid-item-image {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      margin-bottom: 15px;
      object-fit: cover;
      min-width: 200px; /* Min image size enforcement */
      min-height: 200px;
    }

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

    .page-yy777-home__grid-item-description {
      font-size: 0.95em;
      color: var(--page-yy777-home-secondary-color);
    }

    /* Game Providers / Payment Methods List */
    .page-yy777-home__logo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-items: center;
      align-items: center;
    }

    .page-yy777-home__logo-item {
      padding: 10px;
      background-color: #fff;
      border-radius: 6px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
    }

    .page-yy777-home__logo-image {
      max-width: 100%;
      height: auto;
      max-height: 80px; /* Adjust as needed */
      object-fit: contain;
      min-width: 200px; /* Min image size enforcement for placeholders */
      min-height: 200px;
    }

    /* FAQ Section */
    .page-yy777-home__faq-section {
      background-color: #fff;
      padding: 40px 20px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
      max-width: 900px;
      margin: 20px auto;
      box-sizing: border-box;
    }

    .page-yy777-home__faq-title {
      text-align: center;
      color: var(--page-yy777-home-primary-color);
      margin-bottom: 30px;
      font-size: 2em;
    }

    .page-yy777-home__faq-item {
      border-bottom: 1px solid var(--page-yy777-home-border-color);
      margin-bottom: 10px;
    }

    .page-yy777-home__faq-item:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }

    .page-yy777-home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      cursor: pointer;
      user-select: none;
      background-color: #f1f1f1;
      border-radius: 4px;
      margin-bottom: 5px;
      transition: background-color 0.3s ease;
    }

    .page-yy777-home__faq-question:hover {
      background-color: #e2e6ea;
    }

    .page-yy777-home__faq-question h3 {
      margin: 0;
      font-size: 1.15em;
      color: var(--page-yy777-home-text-color);
      pointer-events: none; /* Prevent h3 from blocking click */
    }

    .page-yy777-home__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-yy777-home-primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-yy777-home__faq-item.active .page-yy777-home__faq-toggle {
      transform: rotate(45deg); /* Plus to X */
    }

    .page-yy777-home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      background-color: #fdfdfd;
      border-radius: 0 0 4px 4px;
      color: var(--page-yy777-home-secondary-color);
      font-size: 0.95em;
    }

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

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-yy777-home__section {
        padding: 30px 15px;
      }

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

      .page-yy777-home__hero-section {
        padding: 60px 15px;
      }

      .page-yy777-home__hero-title {
        font-size: 2.2em;
      }

      .page-yy777-home__hero-subtitle {
        font-size: 1.1em;
      }

      .page-yy777-home__button {
        padding: 10px 20px;
        font-size: 1em;
      }

      .page-yy777-home__button-group {
        flex-direction: column;
        gap: 10px;
      }

      .page-yy777-home__grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-yy777-home__grid-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-home__grid-item-description {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-yy777-home__logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 15px;
      }

      .page-yy777-home__logo-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      
      .page-yy777-home__logo-image {
        min-width: 150px; /* Adjust min-width for mobile for placeholders if necessary */
        min-height: 150px;
      }

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

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

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

      .page-yy777-home__faq-answer {
        padding: 15px 12px !important;
      }

      .page-yy777-home__floating-buttons {
        flex-direction: row;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 15px;
        justify-content: space-around;
        gap: 10px;
      }

      .page-yy777-home__floating-button {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9em;
        min-width: unset;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-home__hero-title {
        font-size: 1.8em;
      }
      .page-yy777-home__hero-subtitle {
        font-size: 1em;
      }
      .page-yy777-home__floating-buttons {
        flex-direction: column; /* Stack buttons on very small screens */
        align-items: center;
      }
      .page-yy777-home__floating-button {
        width: 100%;
        max-width: 250px; /* Limit width to avoid stretching too much */
      }
    }
  