
    /* Reset và các biến cơ bản */
    :root {
      --page-xin88home__primary-color: #e44d26; /* Cam đỏ */
      --page-xin88home__secondary-color: #333;
      --page-xin88home__accent-color: #f7b32b; /* Vàng cam */
      --page-xin88home__text-color: #333;
      --page-xin88home__light-text-color: #f8f8f8;
      --page-xin88home__bg-color: #f0f2f5;
      --page-xin88home__card-bg: #fff;
      --page-xin88home__border-color: #ddd;
      --page-xin88home__max-width: 1200px;
      --page-xin88home__spacing-unit: 20px;
    }

    .page-xin88home {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--page-xin88home__text-color);
      background-color: var(--page-xin88home__bg-color);
      padding-bottom: 80px; /* Đảm bảo có khoảng trống cho nút nổi */
    }

    .page-xin88home__container {
      max-width: var(--page-xin88home__max-width);
      margin: 0 auto;
      padding: 0 var(--page-xin88home__spacing-unit);
    }

    /* Tiêu đề chung */
    .page-xin88home h1,
    .page-xin88home h2,
    .page-xin88home h3 {
      color: var(--page-xin88home__primary-color);
      margin-bottom: var(--page-xin88home__spacing-unit);
      text-align: center;
    }

    .page-xin88home h1 {
      font-size: 2.2em;
      padding-top: 10px; /* Khoảng trống để tránh bị header cố định che */
    }

    .page-xin88home h2 {
      font-size: 1.8em;
      border-bottom: 2px solid var(--page-xin88home__primary-color);
      padding-bottom: 10px;
      margin-top: 40px;
      margin-bottom: 30px;
    }

    .page-xin88home h3 {
      font-size: 1.4em;
      color: var(--page-xin88home__secondary-color);
    }

    .page-xin88home p {
      margin-bottom: 15px;
    }

    /* Nút hành động */
    .page-xin88home__button {
      display: inline-block;
      background-color: var(--page-xin88home__primary-color);
      color: var(--page-xin88home__light-text-color);
      padding: 12px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
      border: none;
      cursor: pointer;
      font-size: 1em;
    }

    .page-xin88home__button:hover {
      background-color: #c0392b; /* Màu tối hơn khi hover */
      transform: translateY(-2px);
    }

    .page-xin88home__button--secondary {
      background-color: var(--page-xin88home__accent-color);
      color: var(--page-xin88home__secondary-color);
    }

    .page-xin88home__button--secondary:hover {
      background-color: #e6a000;
    }

    /* Hero Section */
    .page-xin88home__hero-section {
      position: relative;
      background-color: #2c3e50; /* Màu nền dự phòng */
      color: var(--page-xin88home__light-text-color);
      text-align: center;
      padding: 10px 0 60px 0; /* Đảm bảo padding-top để tránh header cố định */
      overflow: hidden;
      margin-bottom: 20px;
    }

    .page-xin88home__hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.4; /* Làm mờ ảnh nền */
      z-index: 1;
    }

    .page-xin88home__hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
    }

    .page-xin88home__hero-content h1 {
      font-size: 2.8em;
      margin-bottom: 15px;
      color: var(--page-xin88home__light-text-color);
      padding-top: 0; /* H1 trong hero đã có padding từ hero-section */
    }

    .page-xin88home__hero-content p {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: var(--page-xin88home__light-text-color);
    }

    /* Nút đăng nhập nổi */
    .page-xin88home__floating-login-button {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 400px;
      background-color: var(--page-xin88home__accent-color);
      color: var(--page-xin88home__secondary-color);
      padding: 15px 20px;
      border-radius: 10px 10px 0 0;
      text-align: center;
      font-size: 1.1em;
      font-weight: bold;
      box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      cursor: pointer;
      border: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .page-xin88home__floating-login-button:hover {
      background-color: #e6a000;
      transform: translateX(-50%) translateY(-3px);
    }

    /* General Section Styling */
    .page-xin88home__section {
      background-color: var(--page-xin88home__card-bg);
      padding: 40px var(--page-xin88home__spacing-unit);
      margin-bottom: var(--page-xin88home__spacing-unit);
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    /* Game Categories */
    .page-xin88home__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: var(--page-xin88home__spacing-unit);
      margin-top: var(--page-xin88home__spacing-unit);
    }

    .page-xin88home__game-card {
      background-color: var(--page-xin88home__bg-color);
      border-radius: 8px;
      padding: 15px;
      text-align: center;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .page-xin88home__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .page-xin88home__game-card-image {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
      margin-bottom: 10px;
      object-fit: cover;
      width: 200px; /* Minimum size */
      height: 150px; /* Minimum size */
    }

    .page-xin88home__game-card h3 {
      margin: 0;
      font-size: 1.1em;
      color: var(--page-xin88home__primary-color);
    }

    /* Promotions Section */
    .page-xin88home__promotion-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: var(--page-xin88home__spacing-unit);
      margin-top: var(--page-xin88home__spacing-unit);
    }

    .page-xin88home__promotion-item {
      background-color: var(--page-xin88home__card-bg);
      border: 1px solid var(--page-xin88home__border-color);
      border-radius: 8px;
      padding: var(--page-xin88home__spacing-unit);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .page-xin88home__promotion-item-image {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
      margin-bottom: 15px;
      object-fit: cover;
      width: 300px; /* Recommended size */
      height: 200px; /* Recommended size */
    }

    .page-xin88home__promotion-item h3 {
      color: var(--page-xin88home__primary-color);
      margin-bottom: 10px;
    }

    /* Download App Section */
    .page-xin88home__download-app {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .page-xin88home__download-app-image {
      max-width: 100%;
      height: auto;
      margin-bottom: 20px;
      border-radius: 8px;
      object-fit: cover;
      width: 400px; /* Recommended size */
      height: 250px; /* Recommended size */
    }

    .page-xin88home__download-qr {
      width: 150px;
      height: 150px;
      margin-top: 20px;
      border: 1px solid var(--page-xin88home__border-color);
      padding: 10px;
      border-radius: 5px;
    }

    /* FAQ Section */
    .page-xin88home__faq-list {
      margin-top: var(--page-xin88home__spacing-unit);
    }

    .page-xin88home__faq-item {
      background-color: var(--page-xin88home__card-bg);
      border: 1px solid var(--page-xin88home__border-color);
      border-radius: 8px;
      margin-bottom: 10px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .page-xin88home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: var(--page-xin88home__bg-color);
      color: var(--page-xin88home__secondary-color);
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .page-xin88home__faq-question:hover {
      background-color: #e0e0e0;
    }

    .page-xin88home__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      text-align: left;
      flex-grow: 1;
      color: var(--page-xin88home__secondary-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

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

    .page-xin88home__faq-item.active .page-xin88home__faq-toggle {
      transform: rotate(45deg); /* Change + to X or similar */
    }
    
    .page-xin88home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
      background-color: var(--page-xin88home__card-bg);
      color: var(--page-xin88home__text-color);
    }

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

    /* List styling for instructions */
    .page-xin88home__list-container {
      list-style-type: decimal;
      padding-left: 25px;
      margin-top: 15px;
      margin-bottom: 15px;
    }

    .page-xin88home__list-item {
      margin-bottom: 10px;
    }

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

      .page-xin88home h1 {
        font-size: 2.0em;
      }

      .page-xin88home h2 {
        font-size: 1.5em;
      }

      .page-xin88home__hero-content h1 {
        font-size: 2.2em;
      }

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

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

      .page-xin88home__game-card {
        padding: 10px;
      }

      .page-xin88home__game-card-image {
        width: 150px;
        height: 100px;
      }

      .page-xin88home__game-card h3 {
        font-size: 0.9em;
      }

      .page-xin88home__promotion-item {
        flex-direction: column;
        padding: 15px;
      }

      .page-xin88home__promotion-item-image {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin-bottom: 15px;
      }

      .page-xin88home__floating-login-button {
        width: 100%;
        max-width: none;
        border-radius: 0;
        padding: 12px 20px;
      }

      .page-xin88home__section {
        padding: 25px 15px;
      }

      .page-xin88home__faq-question {
        padding: 12px 15px;
      }

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

      /* Image responsive for mobile */
      .page-xin88home img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      /* List item responsive for mobile */
      .page-xin88home__list-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      .page-xin88home__list-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 20px !important; /* Keep some padding for list numbers */
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
    }

    @media (min-width: 769px) {
      .page-xin88home__game-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 cột trên desktop */
      }
      .page-xin88home__promotion-list {
        grid-template-columns: repeat(2, 1fr); /* 2 cột trên desktop */
      }
      .page-xin88home__download-app {
        flex-direction: row;
        gap: 40px;
        text-align: left;
      }
      .page-xin88home__download-app-content {
        flex: 1;
      }
      .page-xin88home__download-app-image {
        width: 400px;
        height: 250px;
      }
      .page-xin88home__download-qr-container {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .page-xin88home__floating-login-button {
        width: 300px; /* Nhỏ hơn trên desktop */
        padding: 12px 20px;
      }
    }
  