
    /* CSS toàn cục cho trang chủ Fi88 */
    .page-trangchu {
      font-family: 'Arial', sans-serif;
      background-color: #000000; /* Nền đen */
      color: #FFFFFF; /* Chữ trắng mặc định */
      line-height: 1.6;
    }

    .page-trangchu__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    .page-trangchu__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #1a1a1a; /* Nền hơi xám đậm cho các phần */
      border-radius: 8px;
    }

    .page-trangchu__section-title {
      color: #FFD700; /* Chữ vàng */
      text-align: center;
      margin-bottom: 30px;
      font-size: 2.5em;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    .page-trangchu__section-subtitle {
      color: #FFFFFF; /* Chữ trắng */
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.2em;
    }

    /* Hero Section */
    .page-trangchu__hero-section {
      position: relative;
      width: 100%;
      text-align: center;
      padding-top: 160px; /* An toàn cho thanh điều hướng cố định */
      background-color: #000000;
      overflow: hidden;
    }

    .page-trangchu__hero-image-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-trangchu__hero-image {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 8px;
    }

    .page-trangchu__hero-content {
      position: relative;
      padding: 30px 20px;
      z-index: 1;
      max-width: 900px;
      margin: 0 auto;
    }

    .page-trangchu__hero-title {
      font-size: 3em;
      color: #FFD700; /* Chữ vàng */
      margin-bottom: 15px;
      line-height: 1.2;
    }

    .page-trangchu__hero-description {
      font-size: 1.2em;
      color: #FFFFFF; /* Chữ trắng */
      margin-bottom: 30px;
    }

    .page-trangchu__cta-button {
      display: inline-block;
      background-color: #FFD700; /* Nút vàng */
      color: #000000; /* Chữ đen trên nút vàng */
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      cursor: pointer;
      border: none;
    }

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

    /* Giới Thiệu Section */
    .page-trangchu__about-content {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }

    .page-trangchu__about-text {
      font-size: 1.1em;
      color: #FFFFFF;
      text-align: center;
    }

    .page-trangchu__about-features {
      list-style: none;
      padding: 0;
      margin: 20px 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      width: 100%;
    }

    .page-trangchu__about-feature-item {
      background-color: #333333;
      padding: 20px;
      border-radius: 8px;
      text-align: center;
      color: #FFD700;
      font-weight: bold;
      font-size: 1.1em;
    }
    
    .page-trangchu__about-feature-item p {
        color: #FFFFFF;
        font-weight: normal;
        margin-top: 10px;
        font-size: 0.95em;
    }

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

    .page-trangchu__game-card {
      background-color: #333333;
      border-radius: 8px;
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%; /* Đảm bảo các thẻ có chiều cao bằng nhau */
    }

    .page-trangchu__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    }

    .page-trangchu__game-image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: 200px; /* Chiều cao cố định cho hình ảnh game */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-trangchu__game-image {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Đảm bảo hình ảnh lấp đầy khung mà không bị kéo giãn */
      display: block;
    }

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

    .page-trangchu__game-card-title {
      font-size: 1.4em;
      color: #FFD700;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-trangchu__game-card-description {
      font-size: 0.95em;
      color: #CCCCCC;
      margin-bottom: 15px;
    }

    .page-trangchu__game-card-button {
      background-color: #FFD700;
      color: #000000;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
      width: fit-content;
      margin: 0 auto;
    }

    .page-trangchu__game-card-button:hover {
      background-color: #e0b800;
    }

    /* Promotions Section */
    .page-trangchu__promotion-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
    }

    .page-trangchu__promotion-card {
      background-color: #333333;
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
    }

    .page-trangchu__promotion-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    }

    .page-trangchu__promotion-image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: 220px; /* Cố định chiều cao hình ảnh khuyến mãi */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-trangchu__promotion-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .page-trangchu__promotion-content {
      padding: 20px;
    }

    .page-trangchu__promotion-title {
      font-size: 1.5em;
      color: #FFD700;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-trangchu__promotion-description {
      font-size: 1em;
      color: #CCCCCC;
      margin-bottom: 15px;
    }

    .page-trangchu__promotion-button {
      background-color: #FFD700;
      color: #000000;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .page-trangchu__promotion-button:hover {
      background-color: #e0b800;
    }

    /* Quick Guide Section */
    .page-trangchu__guide-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        text-align: center;
    }
    .page-trangchu__guide-item {
        background-color: #333333;
        padding: 25px;
        border-radius: 8px;
        color: #FFFFFF;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .page-trangchu__guide-item h3 {
        color: #FFD700;
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    .page-trangchu__guide-item p {
        font-size: 0.95em;
        margin-bottom: 15px;
    }
    .page-trangchu__guide-item-button {
        background-color: #FFD700;
        color: #000000;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        cursor: pointer;
        border: none;
    }
    .page-trangchu__guide-item-button:hover {
        background-color: #e0b800;
    }

    /* Game Providers Section */
    .page-trangchu__providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Nhỏ hơn để chứa logo */
      gap: 20px;
      justify-items: center;
      align-items: center;
    }

    .page-trangchu__provider-item {
      background-color: #333333;
      border-radius: 8px;
      padding: 15px;
      text-align: center;
      height: 100%; /* Đảm bảo chiều cao đồng đều */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .page-trangchu__provider-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
    }

    .page-trangchu__provider-image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: 100px; /* Cố định chiều cao cho logo nhà cung cấp */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-trangchu__provider-logo {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain; /* Giữ tỷ lệ và nằm gọn trong khung */
      display: block;
      margin: 0 auto;
    }

    .page-trangchu__provider-name {
      color: #FFFFFF;
      font-size: 0.9em;
      margin-top: 10px;
      font-weight: bold;
    }

    /* FAQ Section */
    .page-trangchu__faq-section {
      background-color: #1a1a1a;
      border-radius: 8px;
      padding: 40px 20px;
    }

    .page-trangchu__faq-item {
      margin-bottom: 10px;
      border: 1px solid #333333;
      border-radius: 5px;
      overflow: hidden;
    }

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

    .page-trangchu__faq-question:hover {
      background-color: #444444;
    }
    
    .page-trangchu__faq-question h3 {
        margin: 0;
        color: #FFD700;
        font-size: 1.1em;
        pointer-events: none; /* Ngăn chặn h3 chặn sự kiện click */
    }

    .page-trangchu__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #FFD700;
      transition: transform 0.3s ease;
      pointer-events: none; /* Ngăn chặn toggle chặn sự kiện click */
    }

    .page-trangchu__faq-item.active .page-trangchu__faq-toggle {
      transform: rotate(45deg); /* Biến + thành X hoặc xoay để thành dấu trừ */
    }
    
    .page-trangchu__faq-item.active .page-trangchu__faq-toggle::before {
        content: "−"; /* Thay đổi dấu cộng thành dấu trừ khi mở */
    }
    .page-trangchu__faq-item .page-trangchu__faq-toggle::before {
        content: "+"; /* Dấu cộng mặc định */
    }


    .page-trangchu__faq-answer {
      background-color: #222222;
      color: #FFFFFF;
      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;
    }

    .page-trangchu__faq-item.active .page-trangchu__faq-answer {
      max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
      padding: 20px 15px !important;
      opacity: 1;
    }

    /* Why Choose Fi88 Section */
    .page-trangchu__why-choose-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-trangchu__why-choose-card {
        background-color: #333333;
        padding: 25px;
        border-radius: 8px;
        text-align: center;
        color: #FFFFFF;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .page-trangchu__why-choose-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    }
    .page-trangchu__why-choose-card h3 {
        color: #FFD700;
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    .page-trangchu__why-choose-card p {
        font-size: 1em;
    }

    /* Floating Login Button */
    .page-trangchu__floating-login-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #FFD700; /* Nền vàng */
      color: #000000; /* Chữ đen */
      padding: 15px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      transition: transform 0.3s ease, background-color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .page-trangchu__floating-login-button:hover {
      background-color: #e0b800;
      transform: translateY(-3px);
    }

    .page-trangchu__floating-login-button span {
        font-size: 1.5em; /* Kích thước biểu tượng cảm xúc */
        line-height: 1;
    }


    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-trangchu__container {
        padding: 10px;
      }

      .page-trangchu__section {
        padding: 20px 10px;
      }

      .page-trangchu__section-title {
        font-size: 2em;
        margin-bottom: 20px;
      }

      .page-trangchu__hero-section {
        padding-top: 160px !important; /* Đảm bảo an toàn cho mobile */
      }

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

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

      .page-trangchu__game-grid,
      .page-trangchu__promotion-grid,
      .page-trangchu__providers-grid,
      .page-trangchu__guide-grid,
      .page-trangchu__why-choose-grid {
        grid-template-columns: 1fr;
      }
      
      .page-trangchu__game-image-container,
      .page-trangchu__promotion-image-container,
      .page-trangchu__provider-image-container {
          width: 100% !important;
          max-width: 100% !important;
          height: auto !important; /* Đảm bảo hình ảnh không bị cắt ngang */
          min-height: 200px !important; /* Đảm bảo kích thước tối thiểu */
          overflow: hidden !important;
          box-sizing: border-box !important;
      }

      .page-trangchu__game-image,
      .page-trangchu__promotion-image,
      .page-trangchu__provider-logo {
          max-width: 100% !important;
          height: auto !important;
          display: block !important;
      }

      .page-trangchu__floating-login-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 1em;
      }
      
      .page-trangchu__faq-question {
          font-size: 1em;
          padding: 12px 15px;
      }
      .page-trangchu__faq-question h3 {
          font-size: 1em;
      }
      .page-trangchu__faq-answer {
          padding: 15px 15px;
      }
    }
  