
    :root {
      --page-j88-primary-color: #f39c12; /* Cam */
      --page-j88-secondary-color: #34495e; /* Xám đậm */
      --page-j88-accent-color: #e74c3c; /* Đỏ */
      --page-j88-text-color: #ecf0f1; /* Trắng nhạt */
      --page-j88-bg-color: #2c3e50; /* Xanh đậm */
      --page-j88-light-bg-color: #3f556d; /* Xanh đậm hơn */
      --page-j88-border-color: #4a627a;
    }

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

    .page-j88__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      box-sizing: border-box;
    }

    .page-j88__section {
      padding: 40px 0;
      text-align: center;
      margin-bottom: 20px;
      background-color: var(--page-j88-light-bg-color);
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .page-j88__section--dark {
      background-color: var(--page-j88-secondary-color);
    }

    .page-j88__section-title {
      font-size: 2.5em;
      color: var(--page-j88-primary-color);
      margin-bottom: 20px;
      text-transform: uppercase;
      font-weight: bold;
    }

    .page-j88__section-title span {
      color: var(--page-j88-text-color);
    }

    .page-j88__text {
      font-size: 1.1em;
      margin-bottom: 15px;
      color: var(--page-j88-text-color);
    }

    /* Hero Section */
    .page-j88__hero-section {
      position: relative;
      width: 100%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      padding-top: 120px; /* Desktop fixed header spacing */
      box-sizing: border-box;
    }

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

    .page-j88__hero-content {
      position: relative;
      z-index: 10;
      padding: 30px 20px;
      max-width: 800px;
      margin-top: -50px; /* Overlap slightly with image for visual flow */
      background-color: rgba(44, 62, 80, 0.9);
      border-radius: 12px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    .page-j88__hero-title {
      font-size: 3.2em;
      color: var(--page-j88-primary-color);
      margin-bottom: 15px;
      line-height: 1.2;
      font-weight: 900;
    }

    .page-j88__hero-description {
      font-size: 1.3em;
      color: var(--page-j88-text-color);
      margin-bottom: 30px;
    }

    .page-j88__promo-button {
      display: inline-block;
      background-color: var(--page-j88-accent-color);
      color: #fff;
      padding: 15px 30px;
      font-size: 1.4em;
      font-weight: bold;
      border-radius: 50px;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      border: none;
      cursor: pointer;
    }

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

    /* Game Categories */
    .page-j88__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      padding: 20px;
    }

    .page-j88__game-card {
      background-color: var(--page-j88-bg-color);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-decoration: none;
      color: var(--page-j88-text-color);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%; /* Ensure cards are same height */
    }

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

    .page-j88__game-card-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: 200px; /* Fixed height for consistent image display */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-j88__game-card-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }

    .page-j88__game-card-title {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-j88-primary-color);
      padding: 15px;
      text-align: center;
    }

    /* Game Providers */
    .page-j88__providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      padding: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .page-j88__provider-logo-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        background-color: #fff;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px; /* Consistent height for logos */
    }

    .page-j88__provider-logo {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
    }

    /* Promotions */
    .page-j88__promotion-card {
      background-color: var(--page-j88-bg-color);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      margin-bottom: 20px;
      text-align: left;
      display: flex;
      flex-direction: column;
    }

    .page-j88__promotion-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: 250px; /* Fixed height for promo images */
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

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

    .page-j88__promotion-title {
      font-size: 1.8em;
      color: var(--page-j88-primary-color);
      margin-bottom: 10px;
    }

    .page-j88__promotion-description {
      font-size: 1.1em;
      color: var(--page-j88-text-color);
      margin-bottom: 15px;
    }

    .page-j88__promotion-button {
      display: inline-block;
      background-color: var(--page-j88-accent-color);
      color: #fff;
      padding: 10px 20px;
      font-size: 1.1em;
      border-radius: 25px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .page-j88__promotion-button:hover {
      background-color: #c0392b;
    }

    /* Payments */
    .page-j88__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 15px;
      padding: 20px;
      max-width: 900px;
      margin: 0 auto;
    }

    .page-j88__payment-item {
      background-color: #fff;
      border-radius: 8px;
      padding: 10px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100px;
      transition: transform 0.2s ease;
    }

    .page-j88__payment-item:hover {
        transform: translateY(-5px);
    }

    .page-j88__payment-icon {
      width: 80px;
      max-width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
      margin-bottom: 5px;
    }

    .page-j88__payment-name {
      font-size: 0.9em;
      color: var(--page-j88-secondary-color);
      font-weight: bold;
      text-align: center;
    }

    /* FAQ Section */
    .page-j88__faq-container {
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
    }

    .page-j88__faq-item {
      background-color: var(--page-j88-bg-color);
      border: 1px solid var(--page-j88-border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .page-j88__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: var(--page-j88-light-bg-color);
      color: var(--page-j88-text-color);
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-j88__faq-question:hover {
      background-color: #506d8a;
    }

    .page-j88__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      text-align: left;
      color: var(--page-j88-primary-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

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

    .page-j88__faq-item.active .page-j88__faq-toggle {
      transform: rotate(45deg); /* Change + to X or similar */
      content: "−"; /* Visually change to minus, JS will update text */
    }

    .page-j88__faq-answer {
      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;
      background-color: var(--page-j88-bg-color);
      color: var(--page-j88-text-color);
      text-align: left;
      font-size: 1em;
    }

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

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

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

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-j88__hero-section {
        padding-top: 100px; /* Mobile fixed header spacing */
      }
      .page-j88__hero-title {
        font-size: 2.2em;
      }
      .page-j88__hero-description {
        font-size: 1em;
      }
      .page-j88__promo-button {
        font-size: 1.2em;
        padding: 12px 25px;
      }
      .page-j88__section-title {
        font-size: 2em;
      }
      .page-j88__game-grid, .page-j88__providers-grid, .page-j88__payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
      }
      .page-j88__promotion-card {
        flex-direction: column;
      }
      .page-j88__promotion-image-wrapper {
        height: 180px;
      }
      .page-j88__promotion-title {
        font-size: 1.5em;
      }
      .page-j88__floating-button {
          bottom: 15px;
          right: 15px;
          padding: 12px 20px;
          font-size: 1.1em;
      }
      .page-j88__game-card-image-wrapper, .page-j88__provider-logo-wrapper, .page-j88__payment-item {
          height: auto; /* Allow height to adjust on mobile */
      }
      .page-j88__game-card-image, .page-j88__provider-logo, .page-j88__payment-icon {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important; /* Force full width on mobile */
      }
      .page-j88__payment-icon {
        width: 60px;
      }
    }

    @media (max-width: 480px) {
      .page-j88__game-grid, .page-j88__providers-grid, .page-j88__payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      }
      .page-j88__hero-title {
        font-size: 1.8em;
      }
      .page-j88__hero-description {
        font-size: 0.9em;
      }
      .page-j88__promo-button {
        font-size: 1em;
        padding: 10px 20px;
      }
      .page-j88__faq-question {
        font-size: 1.1em;
        padding: 12px 15px;
      }
      .page-j88__faq-answer {
        padding: 15px 15px !important;
      }
      .page-j88__floating-button {
          padding: 10px 18px;
          font-size: 1em;
      }
    }
  