
    /* Tổng quan */
    .page-8xbet {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f9fa;
      padding-bottom: 80px; /* Khoảng trống cho nút nổi */
    }

    /* Đảm bảo tất cả hình ảnh có kích thước phù hợp */
    .page-8xbet img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      object-fit: cover;
    }

    /* Các phần chính */
    .page-8xbet__section {
      padding: 40px 15px;
      margin-bottom: 20px;
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .page-8xbet__section-title {
      font-size: 2.2em;
      color: #0056b3;
      text-align: center;
      margin-bottom: 30px;
      font-weight: bold;
      position: relative;
    }
    .page-8xbet__section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background-color: #0056b3;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    .page-8xbet__subsection-title {
      font-size: 1.8em;
      color: #007bff;
      margin-top: 30px;
      margin-bottom: 20px;
      font-weight: 600;
      text-align: center;
    }

    .page-8xbet__text {
      font-size: 1.1em;
      margin-bottom: 15px;
      text-align: justify;
    }

    /* Hero Section */
    .page-8xbet__hero-section {
      position: relative;
      background-color: #003366;
      color: #ffffff;
      padding: 10px 0 60px; /* Padding top để tránh bị che bởi header */
      text-align: center;
      overflow: hidden;
      border-radius: 0 0 15px 15px;
    }

    .page-8xbet__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      opacity: 0.2;
    }
    .page-8xbet__hero-background img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0;
      box-shadow: none;
    }

    .page-8xbet__hero-content {
      position: relative;
      z-index: 2;
      padding: 20px 15px;
      max-width: 900px;
      margin: 0 auto;
    }

    .page-8xbet__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      line-height: 1.2;
      font-weight: 700;
      color: #ffc107;
    }
    .page-8xbet__hero-subtitle {
      font-size: 1.4em;
      margin-bottom: 25px;
      color: #e9ecef;
    }

    .page-8xbet__cta-button {
      display: inline-block;
      background-color: #ffc107;
      color: #003366;
      padding: 15px 30px;
      border-radius: 50px;
      font-size: 1.2em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
    .page-8xbet__cta-button:hover {
      background-color: #e0a800;
      transform: translateY(-2px);
    }

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

    .page-8xbet__game-card {
      background-color: #f1f7fc;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .page-8xbet__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .page-8xbet__game-card-image-wrapper {
      width: 100%;
      height: 200px;
      overflow: hidden;
    }
    .page-8xbet__game-card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .page-8xbet__game-card:hover .page-8xbet__game-card-image {
      transform: scale(1.05);
    }

    .page-8xbet__game-card-content {
      padding: 20px;
      flex-grow: 1;
    }
    .page-8xbet__game-card-title {
      font-size: 1.5em;
      color: #0056b3;
      margin-bottom: 10px;
      font-weight: bold;
    }
    .page-8xbet__game-card-description {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 15px;
    }
    .page-8xbet__game-card-button {
      background-color: #007bff;
      color: #ffffff;
      padding: 10px 20px;
      border-radius: 30px;
      font-size: 1em;
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.3s ease;
      display: inline-block;
    }
    .page-8xbet__game-card-button:hover {
      background-color: #0056b3;
    }

    /* Hướng dẫn và thông tin */
    .page-8xbet__list {
      list-style: none;
      padding-left: 0;
    }
    .page-8xbet__list-item {
      background-color: #e9f5ff;
      margin-bottom: 10px;
      padding: 15px 20px;
      border-left: 5px solid #007bff;
      border-radius: 8px;
      font-size: 1.05em;
      color: #333;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
    .page-8xbet__list-item strong {
      color: #0056b3;
    }

    /* Nút nổi đăng nhập */
    .page-8xbet__floating-button {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(45deg, #ffc107, #ff9800);
      color: #333;
      padding: 15px 30px;
      border-radius: 50px;
      font-size: 1.3em;
      font-weight: bold;
      text-decoration: none;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      animation: page-8xbet__pulse 2s infinite;
      white-space: nowrap; /* Ngăn nút xuống dòng */
    }
    .page-8xbet__floating-button:hover {
      background: linear-gradient(45deg, #e0a800, #e68a00);
      transform: translateX(-50%) translateY(-2px);
    }

    @keyframes page-8xbet__pulse {
      0% { transform: translateX(-50%) scale(1); }
      50% { transform: translateX(-50%) scale(1.05); }
      100% { transform: translateX(-50%) scale(1); }
    }

    /* FAQ Section */
    .page-8xbet__faq-section {
      max-width: 800px;
      margin: 0 auto;
    }
    .page-8xbet__faq-item {
      background-color: #f1f7fc;
      border: 1px solid #dee2e6;
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .page-8xbet__faq-item.active {
      background-color: #e6f2ff;
      border-color: #007bff;
    }
    .page-8xbet__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #ffffff;
      border-radius: 8px;
      font-weight: bold;
      color: #0056b3;
      font-size: 1.15em;
      transition: background-color 0.3s ease;
    }
    .page-8xbet__faq-question:hover {
      background-color: #f0f0f0;
    }
    .page-8xbet__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      pointer-events: none; /* Ngăn h3 chặn sự kiện click */
      color: inherit; /* Kế thừa màu từ parent */
    }
    .page-8xbet__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      margin-left: 15px;
      color: #007bff;
      pointer-events: none; /* Ngăn toggle chặn sự kiện click */
      transition: transform 0.3s ease;
    }
    .page-8xbet__faq-item.active .page-8xbet__faq-toggle {
      transform: rotate(45deg); /* Biến + thành X hoặc - */
      color: #dc3545;
    }
    .page-8xbet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Ban đầu không có padding dọc */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: #495057;
      font-size: 1em;
    }
    .page-8xbet__faq-item.active .page-8xbet__faq-answer {
      max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
      padding: 20px 20px !important; /* Padding khi mở rộng */
      opacity: 1;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .page-8xbet__hero-section {
        padding-top: 10px; /* Adjust for mobile fixed header */
        padding-bottom: 40px;
      }
      .page-8xbet__hero-title {
        font-size: 2em;
      }
      .page-8xbet__hero-subtitle {
        font-size: 1.1em;
      }
      .page-8xbet__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }
      .page-8xbet__section {
        padding: 30px 10px;
      }
      .page-8xbet__section-title {
        font-size: 1.8em;
      }
      .page-8xbet__subsection-title {
        font-size: 1.5em;
      }
      .page-8xbet__text {
        font-size: 1em;
      }
      .page-8xbet__game-grid {
        grid-template-columns: 1fr;
      }
      .page-8xbet__game-card-image-wrapper {
        height: 180px;
      }
      .page-8xbet__game-card-title {
        font-size: 1.3em;
      }
      .page-8xbet__game-card-description {
        font-size: 0.9em;
      }
      .page-8xbet__floating-button {
        width: 90%;
        font-size: 1.1em;
        padding: 12px 20px;
        bottom: 15px;
      }
      .page-8xbet__faq-question {
        font-size: 1em;
        padding: 12px 15px;
      }
      .page-8xbet__faq-toggle {
        font-size: 1.5em;
      }
      .page-8xbet__faq-answer {
        padding: 0 15px;
      }
      .page-8xbet__faq-item.active .page-8xbet__faq-answer {
        padding: 15px 15px !important;
      }
      /* Ensure all images are responsive on mobile */
      .page-8xbet img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
      }
      .page-8xbet__game-card-image {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-8xbet__hero-background img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-8xbet__game-card-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (min-width: 769px) {
      .page-8xbet__hero-section {
        padding-top: 10px; /* Adjust for desktop fixed header */
      }
      .page-8xbet__section {
        padding: 60px 30px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
      }
      .page-8xbet__hero-title {
        font-size: 3.5em;
      }
      .page-8xbet__hero-subtitle {
        font-size: 1.6em;
      }
      .page-8xbet__floating-button {
        max-width: 400px; /* Giới hạn chiều rộng trên desktop */
      }
      .page-8xbet__game-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  