
    /* Tổng quan */
    :root {
      --page-king88-primary-color: #e44d26; /* Cam */
      --page-king88-secondary-color: #ffb703; /* Vàng */
      --page-king88-accent-color: #007bff; /* Xanh dương */
      --page-king88-dark-bg: #1a1a1a; /* Nền tối */
      --page-king88-light-bg: #f5f5f5; /* Nền sáng */
      --page-king88-text-color: #333; /* Màu chữ chính */
      --page-king88-light-text-color: #fff; /* Màu chữ sáng */
      --page-king88-border-color: #ddd;
    }

    body {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--page-king88-text-color);
      background-color: var(--page-king88-light-bg);
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .page-king88 {
      max-width: 100%;
      margin: 0 auto;
      overflow-x: hidden; /* Ngăn chặn tràn ngang */
    }

    .page-king88-section {
      padding: 20px;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .page-king88-section-dark {
      background-color: var(--page-king88-dark-bg);
      color: var(--page-king88-light-text-color);
      padding: 30px 20px;
      border-radius: 0;
      box-shadow: none;
    }

    .page-king88-section-dark h2,
    .page-king88-section-dark p {
      color: var(--page-king88-light-text-color);
    }

    .page-king88-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .page-king88 h1,
    .page-king88 h2,
    .page-king88 h3 {
      color: var(--page-king88-primary-color);
      text-align: center;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .page-king88 h1 {
      font-size: 2.2em;
      color: var(--page-king88-light-text-color); /* For hero section */
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-king88 h2 {
      font-size: 1.8em;
      border-bottom: 2px solid var(--page-king88-secondary-color);
      display: inline-block;
      padding-bottom: 5px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-king88 p {
      margin-bottom: 15px;
      text-align: justify;
    }

    .page-king88-button {
      display: inline-block;
      background-color: var(--page-king88-primary-color);
      color: var(--page-king88-light-text-color);
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
    }

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

    /* Hero Section */
    .page-king88-hero {
      position: relative;
      width: 100%;
      min-height: 300px; /* Minimum height for mobile */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-top: 160px; /* Safe zone for floating header/menu (140px-180px) */
      padding-bottom: 40px;
      box-sizing: border-box;
      background-color: #333; /* Fallback background */
      overflow: hidden;
    }

    .page-king88-hero-image {
      max-width: 100%;
      height: 100%;
      display: block;
      margin: 0 auto;
      object-fit: cover; /* Ensures image covers the area without distortion */
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      z-index: 0;
      opacity: 0.7; /* Slightly dim the background image for text readability */
    }

    .page-king88-hero-content {
      position: relative;
      z-index: 1;
      color: var(--page-king88-light-text-color);
      max-width: 90%;
    }

    .page-king88-hero p {
      font-size: 1.1em;
      margin-bottom: 30px;
      color: var(--page-king88-light-text-color);
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    /* Floating Login Button */
    .page-king88-floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .page-king88-floating-button {
      background-color: var(--page-king88-secondary-color);
      color: var(--page-king88-dark-bg); /* Ensure contrast */
      padding: 10px 15px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      font-size: 0.9em;
      text-align: center;
      min-width: 120px;
    }

    .page-king88-floating-button:hover {
      background-color: #ffc107;
      transform: translateY(-3px);
    }
    .page-king88-floating-button.login {
      background-color: var(--page-king88-primary-color);
      color: var(--page-king88-light-text-color); /* Ensure contrast */
    }
    .page-king88-floating-button.login:hover {
      background-color: #c0392b;
    }


    /* Game Categories / Product Display */
    .page-king88-game-categories,
    .page-king88-game-providers {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Min 140px for mobile */
      gap: 15px;
      margin-top: 20px;
      justify-content: center; /* Center items in the grid */
    }

    .page-king88-game-card {
      background-color: var(--page-king88-light-bg);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      text-align: center;
      text-decoration: none;
      color: var(--page-king88-text-color);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px;
    }

    .page-king88-game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .page-king88-game-card img {
      width: 100%;
      max-width: 120px; /* Constrain image size for uniformity */
      height: auto;
      display: block;
      margin: 0 auto 10px auto;
      border-radius: 4px;
    }
    .page-king88-game-card.provider img {
        max-width: 100px; /* Smaller for logos */
        height: 60px; /* Fixed height for provider logos */
        object-fit: contain; /* Ensure logo fits without cropping */
    }


    .page-king88-game-card h3 {
      font-size: 1em;
      margin: 0;
      color: var(--page-king88-primary-color);
      padding: 5px 0;
      text-align: center;
    }

    /* Promotions */
    .page-king88-promotions-list {
      list-style: none;
      padding: 0;
    }

    .page-king88-promotions-list li {
      background-color: var(--page-king88-light-bg);
      margin-bottom: 10px;
      padding: 15px;
      border-left: 5px solid var(--page-king88-secondary-color);
      border-radius: 5px;
      display: flex;
      align-items: center;
      color: var(--page-king88-text-color); /* Ensure text color is visible */
    }

    .page-king88-promotions-list li:before {
      content: "🎁";
      margin-right: 10px;
      font-size: 1.2em;
    }

    /* FAQ */
    .page-king88-faq-item {
      margin-bottom: 10px;
      border: 1px solid var(--page-king88-border-color);
      border-radius: 5px;
      overflow: hidden;
    }

    .page-king88-faq-question {
      background-color: #f0f0f0;
      padding: 15px;
      cursor: pointer;
      font-weight: bold;
      color: var(--page-king88-primary-color); /* Ensure contrast */
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .page-king88-faq-question.active {
      background-color: #e0e0e0;
    }

    .page-king88-faq-question span {
      font-size: 1.2em;
      transition: transform 0.3s ease;
    }

    .page-king88-faq-question.active span {
      transform: rotate(90deg);
    }

    .page-king88-faq-answer {
      padding: 15px;
      background-color: #f9f9f9;
      display: none;
      color: var(--page-king88-text-color); /* Ensure contrast */
    }

    .page-king88-faq-answer.active {
      display: block;
    }

    /* Responsive adjustments */
    @media (min-width: 768px) {
      .page-king88-section {
        padding: 30px;
      }

      .page-king88 h1 {
        font-size: 3em;
      }

      .page-king88 h2 {
        font-size: 2.2em;
      }

      .page-king88-hero {
        min-height: 400px;
        padding-top: 100px; /* Smaller safe zone for desktop */
      }
      .page-king88-hero-content {
        max-width: 80%;
      }

      .page-king88-floating-buttons {
        flex-direction: row;
        bottom: 30px;
        right: 30px;
        gap: 20px;
      }
      .page-king88-floating-button {
        padding: 12px 20px;
        font-size: 1em;
        min-width: 150px;
      }

      .page-king88-game-categories,
      .page-king88-game-providers {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
      }
    }

    @media (min-width: 1024px) {
      .page-king88-game-categories,
      .page-king88-game-providers {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      }
    }
  