
    /* Page-specific CSS for fb777 */
    .page-fb777 {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-top: 10px; /* Small padding to account for fixed header, assuming body padding is handled by shared.css */
    }

    .page-fb777__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-fb777__section--dark {
      background-color: #1a1a1a;
      color: #f0f0f0;
    }

    .page-fb777__hero-section {
      text-align: center;
      padding: 80px 20px;
      background-size: cover;
      background-position: center;
      color: #fff;
      position: relative;
      overflow: hidden;
      margin-bottom: 0; /* Hero section might not need margin-bottom if it's the first element */
      box-shadow: none;
      border-radius: 0;
    }

    .page-fb777__hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .page-fb777__hero-content {
      position: relative;
      z-index: 1;
      max-width: 900px;
      margin: 0 auto;
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 10px;
    }

    .page-fb777__title {
      font-size: 2.8em;
      margin-bottom: 15px;
      color: #ffcc00; /* Gold color for brand emphasis */
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-fb777__subtitle {
      font-size: 1.4em;
      margin-bottom: 30px;
      color: #fff;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    }

    .page-fb777__button {
      display: inline-block;
      padding: 15px 30px;
      background-color: #ffcc00;
      color: #1a1a1a;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .page-fb777__button:hover {
      background-color: #e6b800;
    }

    .page-fb777__heading {
      text-align: center;
      font-size: 2.2em;
      margin-bottom: 30px;
      color: #333;
    }

    .page-fb777__section--dark .page-fb777__heading {
      color: #ffcc00;
    }

    .page-fb777__text-content {
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

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

    .page-fb777__grid-item {
      background-color: #f0f0f0;
      padding: 20px;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-sizing: border-box; /* Ensure padding and border are included in the width */
    }

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

    .page-fb777__grid-item-title {
      font-size: 1.5em;
      margin-top: 15px;
      margin-bottom: 10px;
      color: #ffcc00;
    }

    .page-fb777__grid-item-description {
      font-size: 1em;
      color: #555;
      text-align: center;
    }

    .page-fb777__section--dark .page-fb777__grid-item {
      background-color: #333;
      color: #f0f0f0;
    }

    .page-fb777__section--dark .page-fb777__grid-item-description {
      color: #ccc;
    }

    .page-fb777__image-container {
      width: 100%;
      height: 250px; /* Fixed height for consistency */
      overflow: hidden;
      border-radius: 6px;
      margin-bottom: 15px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-fb777__image {
      max-width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    .page-fb777__game-providers-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-top: 30px;
    }

    .page-fb777__game-providers-item {
      background-color: #f0f0f0;
      padding: 10px 20px;
      border-radius: 5px;
      font-weight: bold;
      color: #333;
      box-sizing: border-box;
      max-width: 100%; /* Default for larger screens */
      text-align: center;
    }

    .page-fb777__section--dark .page-fb777__game-providers-item {
      background-color: #555;
      color: #f0f0f0;
    }

    .page-fb777__payment-methods-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-top: 30px;
    }

    .page-fb777__payment-methods-item {
      background-color: #f0f0f0;
      padding: 10px 20px;
      border-radius: 5px;
      font-weight: bold;
      color: #333;
      box-sizing: border-box;
      max-width: 100%; /* Default for larger screens */
      text-align: center;
    }

    .page-fb777__section--dark .page-fb777__payment-methods-item {
      background-color: #555;
      color: #f0f0f0;
    }

    /* FAQ Section Styles */
    .page-fb777__faq-section {
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-fb777__faq-item {
      background-color: #f0f0f0;
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .page-fb777__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: #ffcc00;
      color: #1a1a1a;
      font-weight: bold;
      font-size: 1.1em;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-fb777__faq-question:hover {
      background-color: #e6b800;
    }

    .page-fb777__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: #1a1a1a;
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

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

    .page-fb777__faq-item.active .page-fb777__faq-toggle {
      transform: rotate(45deg);
    }

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

    .page-fb777__faq-item.active .page-fb777__faq-answer {
      max-height: 2000px !important; /* Use !important to ensure override */
      padding: 20px 20px !important; /* Use !important to ensure override */
      opacity: 1;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .page-fb777__hero-section {
        padding: 60px 15px;
      }

      .page-fb777__hero-content {
        padding: 15px;
      }

      .page-fb777__title {
        font-size: 2em;
      }

      .page-fb777__subtitle {
        font-size: 1.2em;
      }

      .page-fb777__button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-fb777__section {
        padding: 30px 15px;
      }

      .page-fb777__heading {
        font-size: 1.8em;
      }

      .page-fb777__text-content {
        font-size: 1em;
      }

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

      .page-fb777__grid-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px;
      }

      .page-fb777__image-container {
        height: 200px;
      }

      .page-fb777__game-providers-list,
      .page-fb777__payment-methods-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-fb777__game-providers-item,
      .page-fb777__payment-methods-item {
        width: 90% !important; /* Slightly less than 100% to allow for container padding */
        max-width: 90% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      .page-fb777__faq-question {
        padding: 12px 15px;
        font-size: 1em;
      }

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

      .page-fb777__faq-answer {
        padding: 0 15px;
      }

      .page-fb777__faq-item.active .page-fb777__faq-answer {
        padding: 15px 15px !important;
      }
    }

    @media (max-width: 480px) {
      .page-fb777__title {
        font-size: 1.8em;
      }

      .page-fb777__subtitle {
        font-size: 1em;
      }
    }
  