
    :root {
      --page-nhacaihi88__primary-color: #ffd700; /* Vàng */
      --page-nhacaihi88__secondary-color: #ffffff; /* Trắng */
      --page-nhacaihi88__background-color: #000000; /* Đen */
      --page-nhacaihi88__dark-gray: #1a1a1a;
      --page-nhacaihi88__light-gray: #333333;
    }

    .page-nhacaihi88 {
      font-family: 'Arial', sans-serif;
      background-color: var(--page-nhacaihi88__background-color);
      color: var(--page-nhacaihi88__secondary-color);
      line-height: 1.6;
      padding-bottom: 80px; /* Space for footer */
    }

    /* Fixed header safe zone */
    .page-nhacaihi88__hero-section {
      padding-top: 120px; /* Desktop */
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    @media (max-width: 768px) {
      .page-nhacaihi88__hero-section {
        padding-top: 100px; /* Mobile */
      }
    }

    .page-nhacaihi88__hero-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      object-fit: cover;
      border-radius: 8px;
    }
    
    .page-nhacaihi88__hero-content {
        padding: 20px 15px;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        margin-top: -50px; /* Pull up slightly over image */
        position: relative;
        z-index: 1;
    }

    .page-nhacaihi88__main-heading {
      color: var(--page-nhacaihi88__primary-color);
      text-align: center;
      margin-bottom: 15px;
      font-size: 2.2em;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      padding: 0 15px;
    }

    .page-nhacaihi88__sub-heading {
      color: var(--page-nhacaihi88__secondary-color);
      text-align: center;
      margin-bottom: 25px;
      font-size: 1.2em;
      padding: 0 15px;
    }

    .page-nhacaihi88__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      background-color: var(--page-nhacaihi88__dark-gray);
      border-radius: 8px;
      margin-bottom: 30px;
    }

    .page-nhacaihi88__section-title {
      color: var(--page-nhacaihi88__primary-color);
      text-align: center;
      margin-bottom: 30px;
      font-size: 2em;
      border-bottom: 2px solid var(--page-nhacaihi88__primary-color);
      padding-bottom: 10px;
      display: inline-block;
      width: auto;
    }
    
    .page-nhacaihi88__section-title strong {
        color: var(--page-nhacaihi88__primary-color);
    }

    .page-nhacaihi88__text-content {
      margin-bottom: 20px;
      text-align: justify;
      color: var(--page-nhacaihi88__secondary-color);
    }

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

    .page-nhacaihi88__text-content strong {
      color: var(--page-nhacaihi88__primary-color);
    }

    /* Floating Login Button */
    .page-nhacaihi88__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: var(--page-nhacaihi88__primary-color);
      color: var(--page-nhacaihi88__background-color);
      padding: 15px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      transition: transform 0.3s ease, background-color 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

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

    /* Game Categories / Product Display */
    .page-nhacaihi88__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      justify-content: center;
    }

    .page-nhacaihi88__game-card {
      background-color: var(--page-nhacaihi88__light-gray);
      border-radius: 10px;
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-nhacaihi88__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    .page-nhacaihi88__game-card-image-wrapper {
        width: 100%;
        height: 200px; /* Fixed height for image container */
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #222;
    }

    .page-nhacaihi88__game-card-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      min-height: 200px; /* Ensure minimum size */
      object-fit: cover;
      display: block;
    }

    .page-nhacaihi88__game-card-title {
      color: var(--page-nhacaihi88__primary-color);
      font-size: 1.3em;
      padding: 15px;
      margin-top: auto; /* Push to bottom */
    }
    
    .page-nhacaihi88__game-card-title a {
        color: var(--page-nhacaihi88__primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .page-nhacaihi88__game-card-title a:hover {
        color: var(--page-nhacaihi88__secondary-color);
    }

    /* Game Providers */
    .page-nhacaihi88__provider-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      justify-items: center;
      align-items: center;
    }

    .page-nhacaihi88__provider-item {
      background-color: var(--page-nhacaihi88__light-gray);
      border-radius: 8px;
      padding: 15px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      min-height: 150px; /* Ensure minimum height for provider cards */
    }

    .page-nhacaihi88__provider-item:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    .page-nhacaihi88__provider-logo {
      width: 100%;
      max-width: 200px; /* Max width for provider logos */
      height: auto;
      min-height: 100px; /* Ensure minimum size */
      object-fit: contain;
      margin-bottom: 10px;
    }
    
    .page-nhacaihi88__provider-name {
        color: var(--page-nhacaihi88__secondary-color);
        font-weight: bold;
        font-size: 1.1em;
    }

    /* Payment Methods */
    .page-nhacaihi88__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 15px;
      justify-items: center;
      align-items: center;
    }

    .page-nhacaihi88__payment-item {
      background-color: var(--page-nhacaihi88__light-gray);
      border-radius: 8px;
      padding: 10px;
      text-align: center;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      min-height: 100px; /* Ensure minimum height for payment cards */
    }

    .page-nhacaihi88__payment-item:hover {
      transform: scale(1.05);
    }

    .page-nhacaihi88__payment-logo {
      width: 100%;
      max-width: 150px; /* Max width for payment logos */
      height: auto;
      min-height: 80px; /* Ensure minimum size */
      object-fit: contain;
    }

    /* Promotions */
    .page-nhacaihi88__promo-card {
      background-color: var(--page-nhacaihi88__light-gray);
      border-radius: 10px;
      padding: 25px;
      margin-bottom: 20px;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .page-nhacaihi88__promo-card h3 {
      color: var(--page-nhacaihi88__primary-color);
      font-size: 1.8em;
      margin-bottom: 15px;
    }

    .page-nhacaihi88__promo-card p {
      color: var(--page-nhacaihi88__secondary-color);
      margin-bottom: 20px;
    }

    .page-nhacaihi88__promo-button {
      background-color: var(--page-nhacaihi88__primary-color);
      color: var(--page-nhacaihi88__background-color);
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      display: inline-block;
    }

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

    /* FAQ Section */
    .page-nhacaihi88__faq-list {
      list-style: none;
      padding: 0;
      max-width: 800px;
      margin: 0 auto;
    }

    .page-nhacaihi88__faq-item {
      background-color: var(--page-nhacaihi88__light-gray);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
    }

    .page-nhacaihi88__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: var(--page-nhacaihi88__dark-gray);
      color: var(--page-nhacaihi88__primary-color);
      font-weight: bold;
      font-size: 1.1em;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-nhacaihi88__faq-question:hover {
      background-color: #2a2a2a;
    }

    .page-nhacaihi88__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      pointer-events: none; /* Prevent h3 from blocking click event */
      color: var(--page-nhacaihi88__primary-color);
    }

    .page-nhacaihi88__faq-toggle {
      font-size: 1.5em;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
      color: var(--page-nhacaihi88__primary-color);
    }

    .page-nhacaihi88__faq-item.active .page-nhacaihi88__faq-toggle {
      transform: rotate(45deg); /* Change + to X or - */
    }

    .page-nhacaihi88__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      color: var(--page-nhacaihi88__secondary-color);
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
    }

    .page-nhacaihi88__faq-item.active .page-nhacaihi88__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 15px !important;
      opacity: 1;
    }
    
    .page-nhacaihi88__faq-answer p {
        margin-bottom: 10px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-nhacaihi88__main-heading {
        font-size: 1.8em;
      }
      .page-nhacaihi88__sub-heading {
        font-size: 1em;
      }
      .page-nhacaihi88__section {
        padding: 25px 15px;
      }
      .page-nhacaihi88__section-title {
        font-size: 1.6em;
      }
      .page-nhacaihi88__game-grid {
        grid-template-columns: 1fr;
      }
      .page-nhacaihi88__provider-grid,
      .page-nhacaihi88__payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      }
      .page-nhacaihi88__floating-button {
        padding: 12px 20px;
        font-size: 1em;
        bottom: 15px;
        right: 15px;
      }
      .page-nhacaihi88__game-card-image-wrapper {
        height: 180px;
      }
      .page-nhacaihi88__game-card-image {
        min-height: 180px;
      }
      .page-nhacaihi88__provider-logo {
        max-width: 120px;
        min-height: 80px;
      }
      .page-nhacaihi88__payment-logo {
        max-width: 100px;
        min-height: 60px;
      }
    }
    
    /* Global image responsive optimization */
    .page-nhacaihi88 img {
      max-width: 100%;
      height: auto;
      display: block; /* Remove extra space below images */
    }
    .page-nhacaihi88 .page-nhacaihi88__game-card-image-wrapper,
    .page-nhacaihi88 .page-nhacaihi88__provider-item,
    .page-nhacaihi88 .page-nhacaihi88__payment-item {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
    }

    @media (max-width: 768px) {
        .page-nhacaihi88 img {
            max-width: 100% !important;
            height: auto !important;
        }
        .page-nhacaihi88 .page-nhacaihi88__game-card-image-wrapper,
        .page-nhacaihi88 .page-nhacaihi88__provider-item,
        .page-nhacaihi88 .page-nhacaihi88__payment-item {
            width: 100% !important;
            max-width: 100% !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }
    }
  