
    /* CSS Styles for F8BET page */
    :root {
      --page-f8bet-primary-color: #ffcc00; /* Gold/Yellow */
      --page-f8bet-secondary-color: #e60000; /* Red */
      --page-f8bet-dark-bg: #1a1a1a; /* Dark background */
      --page-f8bet-light-text: #ffffff; /* White text */
      --page-f8bet-gray-text: #cccccc; /* Light gray text */
      --page-f8bet-accent-color: #007bff; /* Blue for links/buttons */
      --page-f8bet-border-color: #333333; /* Dark border */
      --page-f8bet-shadow-color: rgba(0, 0, 0, 0.5);
    }

    .page-f8bet {
      font-family: 'Arial', sans-serif;
      color: var(--page-f8bet-light-text);
      background-color: var(--page-f8bet-dark-bg);
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-f8bet__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }

    /* Hero Section */
    .page-f8bet__hero-section {
      position: relative;
      width: 100%;
      height: 60vh; /* Adjust height for visual impact */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-top: 10px; /* For fixed header clearance */
      box-sizing: border-box;
      overflow: hidden;
      background-color: #000; /* Fallback */
    }

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

    .page-f8bet__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.8) 100%);
      z-index: 2;
    }

    .page-f8bet__hero-content {
      position: relative;
      z-index: 3;
      padding: 20px;
      max-width: 90%;
    }

    .page-f8bet__hero-title {
      font-size: 2.8em;
      color: var(--page-f8bet-primary-color);
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px var(--page-f8bet-shadow-color);
      font-weight: bold;
      line-height: 1.2;
    }

    .page-f8bet__hero-subtitle {
      font-size: 1.3em;
      color: var(--page-f8bet-light-text);
      margin-bottom: 25px;
      text-shadow: 1px 1px 2px var(--page-f8bet-shadow-color);
    }

    .page-f8bet__promo-button {
      display: inline-block;
      padding: 15px 30px;
      background-color: var(--page-f8bet-secondary-color);
      color: var(--page-f8bet-light-text);
      border: none;
      border-radius: 50px;
      font-size: 1.1em;
      font-weight: bold;
      text-transform: uppercase;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 15px var(--page-f8bet-shadow-color);
      text-decoration: none; /* Ensure no underline */
    }

    .page-f8bet__promo-button:hover {
      background-color: #cc0000;
      transform: translateY(-2px);
    }

    /* Floating Login Button */
    .page-f8bet__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .page-f8bet__floating-button button {
      padding: 12px 25px;
      background-color: var(--page-f8bet-primary-color);
      color: var(--page-f8bet-dark-bg);
      border: none;
      border-radius: 30px;
      font-size: 1em;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 10px var(--page-f8bet-shadow-color);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .page-f8bet__floating-button button:hover {
      background-color: #e6b800;
      transform: translateY(-2px);
    }

    /* Section General Styles */
    .page-f8bet__section {
      padding: 60px 0;
      text-align: center;
    }

    .page-f8bet__section-title {
      font-size: 2.2em;
      color: var(--page-f8bet-primary-color);
      margin-bottom: 40px;
      font-weight: bold;
      position: relative;
      padding-bottom: 10px;
    }

    .page-f8bet__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: var(--page-f8bet-secondary-color);
      border-radius: 2px;
    }

    .page-f8bet__text-content {
      font-size: 1.1em;
      color: var(--page-f8bet-gray-text);
      margin-bottom: 30px;
    }

    /* Game Categories */
    .page-f8bet__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-f8bet__game-card {
      background-color: #2a2a2a;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 20px var(--page-f8bet-shadow-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-f8bet__game-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 25px var(--page-f8bet-shadow-color);
    }

    .page-f8bet__game-image-wrapper {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 15px;
      background-color: #000; /* Placeholder background */
    }

    .page-f8bet__game-image {
      width: 100%;
      height: auto;
      max-width: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .page-f8bet__game-card:hover .page-f8bet__game-image {
      transform: scale(1.05);
    }

    .page-f8bet__game-title {
      font-size: 1.5em;
      color: var(--page-f8bet-primary-color);
      margin-bottom: 10px;
      padding: 0 15px;
      font-weight: bold;
    }

    .page-f8bet__game-description {
      font-size: 0.95em;
      color: var(--page-f8bet-gray-text);
      padding: 0 15px;
      margin-bottom: 20px;
      flex-grow: 1; /* Allow description to take available space */
    }

    .page-f8bet__game-button {
      display: inline-block;
      padding: 10px 20px;
      background-color: var(--page-f8bet-secondary-color);
      color: var(--page-f8bet-light-text);
      border: none;
      border-radius: 25px;
      font-size: 0.9em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
    }

    .page-f8bet__game-button:hover {
      background-color: #cc0000;
      transform: translateY(-2px);
    }

    /* Promotions */
    .page-f8bet__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-f8bet__promo-card {
      background-color: #2a2a2a;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 20px var(--page-f8bet-shadow-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: left;
      padding: 25px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 250px; /* Ensure cards have a minimum height */
    }

    .page-f8bet__promo-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 25px var(--page-f8bet-shadow-color);
    }

    .page-f8bet__promo-card-title {
      font-size: 1.6em;
      color: var(--page-f8bet-primary-color);
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-f8bet__promo-card-description {
      font-size: 1em;
      color: var(--page-f8bet-gray-text);
      margin-bottom: 20px;
      flex-grow: 1;
    }

    /* Why Choose Us */
    .page-f8bet__feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-f8bet__feature-item {
      background-color: #2a2a2a;
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 8px 20px var(--page-f8bet-shadow-color);
      transition: transform 0.3s ease, background-color 0.3s ease;
      text-align: center;
      min-height: 180px;
    }

    .page-f8bet__feature-item:hover {
      transform: translateY(-10px);
      background-color: #3a3a3a;
    }

    .page-f8bet__feature-icon-wrapper {
        width: 80px;
        height: 80px;
        background-color: var(--page-f8bet-secondary-color);
        border-radius: 50%;
        margin: 0 auto 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5em;
        color: var(--page-f8bet-light-text);
        font-weight: bold;
    }

    .page-f8bet__feature-title {
      font-size: 1.4em;
      color: var(--page-f8bet-primary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-f8bet__feature-description {
      font-size: 0.95em;
      color: var(--page-f8bet-gray-text);
    }

    /* Download App / Guide */
    .page-f8bet__app-section {
      background-color: #222222;
      padding: 60px 0;
      text-align: center;
    }

    .page-f8bet__app-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }

    .page-f8bet__app-image {
      width: 100%;
      max-width: 400px;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 8px 20px var(--page-f8bet-shadow-color);
    }

    .page-f8bet__app-info {
      text-align: center;
    }

    .page-f8bet__app-title {
      font-size: 2em;
      color: var(--page-f8bet-primary-color);
      margin-bottom: 20px;
      font-weight: bold;
    }

    .page-f8bet__app-description {
      font-size: 1.1em;
      color: var(--page-f8bet-gray-text);
      margin-bottom: 30px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-f8bet__download-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .page-f8bet__download-button {
      display: inline-flex;
      align-items: center;
      padding: 12px 25px;
      background-color: var(--page-f8bet-accent-color);
      color: var(--page-f8bet-light-text);
      border: none;
      border-radius: 30px;
      font-size: 1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 10px var(--page-f8bet-shadow-color);
      text-decoration: none;
    }

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

    /* FAQ Section */
    .page-f8bet__faq-section {
      padding: 60px 0;
      background-color: var(--page-f8bet-dark-bg);
      text-align: center;
    }

    .page-f8bet__faq-list {
      max-width: 800px;
      margin: 40px auto 0;
      text-align: left;
    }

    .page-f8bet__faq-item {
      background-color: #2a2a2a;
      margin-bottom: 15px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      border: 1px solid var(--page-f8bet-border-color);
    }

    .page-f8bet__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      background-color: #333333;
      color: var(--page-f8bet-primary-color);
      font-size: 1.2em;
      font-weight: bold;
      border-bottom: 1px solid var(--page-f8bet-border-color);
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-f8bet__faq-question:hover {
      background-color: #444444;
    }

    .page-f8bet__faq-question h3 {
      margin: 0;
      color: inherit;
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-f8bet__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-f8bet-secondary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
      line-height: 1; /* Adjust line height for better centering */
    }

    .page-f8bet__faq-item.active .page-f8bet__faq-toggle {
      transform: rotate(45deg); /* Change '+' to 'x' or similar, or just to '-' */
      /* content: '−'; This won't work in CSS, JS handles it */
    }

    .page-f8bet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      background-color: #2a2a2a;
      color: var(--page-f8bet-gray-text);
      font-size: 1em;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      box-sizing: border-box;
    }

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

    .page-f8bet__faq-answer p {
      margin: 0 0 10px 0;
    }
    .page-f8bet__faq-answer p:last-child {
      margin-bottom: 0;
    }


    /* Responsive Design */
    @media (max-width: 768px) {
      .page-f8bet__hero-section {
        height: 50vh;
        padding-top: 10px; /* Mobile fixed header clearance */
      }

      .page-f8bet__hero-title {
        font-size: 2em;
      }

      .page-f8bet__hero-subtitle {
        font-size: 1em;
      }

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

      .page-f8bet__floating-button {
        bottom: 15px;
        right: 15px;
      }

      .page-f8bet__floating-button button {
        padding: 10px 20px;
        font-size: 0.9em;
      }

      .page-f8bet__section {
        padding: 40px 0;
      }

      .page-f8bet__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
      }

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

      .page-f8bet__game-grid,
      .page-f8bet__promo-grid,
      .page-f8bet__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-f8bet__game-card,
      .page-f8bet__promo-card,
      .page-f8bet__feature-item {
        padding: 20px;
      }

      .page-f8bet__game-image-wrapper {
        height: 180px;
      }

      .page-f8bet__game-title {
        font-size: 1.3em;
      }

      .page-f8bet__game-description {
        font-size: 0.85em;
      }

      .page-f8bet__promo-card-title {
        font-size: 1.4em;
      }

      .page-f8bet__promo-card-description {
        font-size: 0.9em;
      }

      .page-f8bet__app-section {
        padding: 40px 0;
      }

      .page-f8bet__app-title {
        font-size: 1.6em;
      }

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

      .page-f8bet__download-button {
        padding: 10px 20px;
        font-size: 0.9em;
      }

      .page-f8bet__faq-list {
        margin-top: 30px;
      }

      .page-f8bet__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
      }

      .page-f8bet__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
      }

      /* Ensure all images are responsive on mobile */
      .page-f8bet img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-f8bet__game-image-wrapper,
      .page-f8bet__app-image-container { /* Assuming there might be a container */
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-f8bet__hero-title {
        font-size: 1.8em;
      }
      .page-f8bet__hero-subtitle {
        font-size: 0.9em;
      }
      .page-f8bet__promo-button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
      .page-f8bet__floating-button button {
        padding: 8px 15px;
        font-size: 0.85em;
      }
      .page-f8bet__section-title {
        font-size: 1.6em;
      }
      .page-f8bet__text-content {
        font-size: 0.9em;
      }
      .page-f8bet__game-title {
        font-size: 1.2em;
      }
      .page-f8bet__game-description {
        font-size: 0.85em;
      }
      .page-f8bet__promo-card-title {
        font-size: 1.3em;
      }
      .page-f8bet__promo-card-description {
        font-size: 0.9em;
      }
      .page-f8bet__feature-title {
        font-size: 1.2em;
      }
      .page-f8bet__feature-description {
        font-size: 0.85em;
      }
      .page-f8bet__app-title {
        font-size: 1.4em;
      }
      .page-f8bet__app-description {
        font-size: 0.9em;
      }
      .page-f8bet__download-buttons {
        flex-direction: column;
        gap: 10px;
      }
      .page-f8bet__download-button {
        width: 80%;
        margin: 0 auto;
        justify-content: center;
      }
      .page-f8bet__faq-question {
        font-size: 1em;
      }
      .page-f8bet__faq-answer {
        font-size: 0.85em;
      }
    }
  