
    :root {
      --page-j88home__primary-color: #e44d26; /* A vibrant, energetic color */
      --page-j88home__secondary-color: #333;
      --page-j88home__accent-color: #f7b731; /* Gold/yellow for highlights */
      --page-j88home__text-color: #333;
      --page-j88home__light-text-color: #fff;
      --page-j88home__background-color: #f8f9fa;
      --page-j88home__card-background: #fff;
      --page-j88home__border-color: #ddd;
    }

    .page-j88home {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--page-j88home__text-color);
      background-color: var(--page-j88home__background-color);
      padding-bottom: 80px; /* Space for the floating button */
    }

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

    /* Hero Section */
    .page-j88home__hero-section {
      position: relative;
      text-align: center;
      color: var(--page-j88home__light-text-color);
      overflow: hidden;
      padding-top: 10px; /* For fixed header */
      padding-bottom: 60px; /* Adjust as needed */
      background-color: #000; /* Fallback */
    }

    .page-j88home__hero-image-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
    }
    .page-j88home__hero-image {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      filter: brightness(0.7); /* Darken image for text readability */
      max-width: 100%;
      height: auto;
    }

    .page-j88home__hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 800px;
      z-index: 2;
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 10px;
    }

    .page-j88home__hero-title {
      font-size: 2.5em;
      margin-bottom: 15px;
      color: #fff;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .page-j88home__hero-subtitle {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: #eee;
    }

    .page-j88home__button {
      display: inline-block;
      background-color: var(--page-j88home__primary-color);
      color: var(--page-j88home__light-text-color);
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
    }

    .page-j88home__button:hover {
      background-color: #ff6a00;
    }

    /* Floating Login Button */
    .page-j88home__floating-button-wrapper {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      border-radius: 10px;
      overflow: hidden;
    }

    .page-j88home__floating-button {
      display: block;
      width: 100%;
      padding: 15px 20px;
      background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Orange gradient */
      color: #fff;
      text-align: center;
      font-size: 1.2em;
      font-weight: bold;
      border-radius: 10px;
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-j88home__floating-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    /* Section Styling */
    .page-j88home__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: var(--page-j88home__card-background);
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .page-j88home__section-title {
      font-size: 2em;
      color: var(--page-j88home__primary-color);
      text-align: center;
      margin-bottom: 30px;
      position: relative;
      padding-bottom: 10px;
    }

    .page-j88home__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background-color: var(--page-j88home__accent-color);
      border-radius: 2px;
    }

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

    .page-j88home__game-card {
      background-color: #fefefe;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      padding: 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .page-j88home__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .page-j88home__game-icon-container {
      width: 100%; /* Ensure container fills card width */
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin-bottom: 10px;
    }
    .page-j88home__game-icon {
      width: 100%;
      height: auto;
      max-height: 150px; /* Limit icon height */
      object-fit: contain;
      border-radius: 8px;
      max-width: 100%;
      height: auto;
    }

    .page-j88home__game-title {
      font-size: 1.1em;
      font-weight: bold;
      color: var(--page-j88home__secondary-color);
      margin-top: 10px;
      min-height: 2.2em; /* Ensure consistent height for titles */
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    /* Promotions */
    .page-j88home__promo-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 30px;
    }

    .page-j88home__promo-card {
      background-color: var(--page-j88home__card-background);
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
    }

    .page-j88home__promo-image-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin-bottom: 15px;
    }
    .page-j88home__promo-image {
      width: 100%;
      height: auto;
      max-height: 250px;
      object-fit: cover;
      border-radius: 8px;
      max-width: 100%;
      height: auto;
    }

    .page-j88home__promo-title {
      font-size: 1.5em;
      color: var(--page-j88home__primary-color);
      margin-bottom: 10px;
    }

    .page-j88home__promo-description {
      font-size: 0.95em;
      color: var(--page-j88home__text-color);
      margin-bottom: 20px;
    }

    /* How To section */
    .page-j88home__steps-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      margin-top: 30px;
    }

    .page-j88home__step-card {
      background-color: var(--page-j88home__card-background);
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      padding: 25px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .page-j88home__step-number {
      position: absolute;
      top: -15px;
      left: -15px;
      background-color: var(--page-j88home__accent-color);
      color: var(--page-j88home__light-text-color);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5em;
      font-weight: bold;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .page-j88home__step-title {
      font-size: 1.3em;
      color: var(--page-j88home__secondary-color);
      margin-bottom: 10px;
      margin-top: 20px;
    }

    .page-j88home__step-description {
      font-size: 0.95em;
      color: var(--page-j88home__text-color);
    }

    /* FAQ Section */
    .page-j88home__faq-list {
      margin-top: 30px;
    }

    .page-j88home__faq-item {
      background-color: var(--page-j88home__card-background);
      border: 1px solid var(--page-j88home__border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
    }

    .page-j88home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #f2f2f2;
      border-bottom: 1px solid var(--page-j88home__border-color);
      transition: background-color 0.3s ease;
    }

    .page-j88home__faq-question:hover {
      background-color: #e6e6e6;
    }

    .page-j88home__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: var(--page-j88home__primary-color);
      pointer-events: none; /* Prevent h3 from blocking click */
      flex-grow: 1;
    }

    .page-j88home__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-j88home__secondary-color);
      margin-left: 15px;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-j88home__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;
      color: var(--page-j88home__text-color);
      font-size: 0.95em;
    }

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

    .page-j88home__faq-item.active .page-j88home__faq-question {
      background-color: #e6e6e6;
    }

    .page-j88home__faq-item.active .page-j88home__faq-toggle {
      transform: rotate(45deg); /* Optional: animate the + to an X or - */
    }

    /* Why Choose J88 */
    .page-j88home__benefits-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 30px;
    }

    .page-j88home__benefit-card {
      background-color: var(--page-j88home__card-background);
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      padding: 25px;
      text-align: center;
    }

    .page-j88home__benefit-icon-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin-bottom: 15px;
      display: flex;
      justify-content: center;
    }
    .page-j88home__benefit-icon {
      width: 100%;
      max-width: 100px; /* Allow icons to be visually smaller */
      height: auto;
      object-fit: contain;
      color: var(--page-j88home__primary-color);
      max-width: 100%;
      height: auto;
    }

    .page-j88home__benefit-title {
      font-size: 1.2em;
      color: var(--page-j88home__secondary-color);
      margin-bottom: 10px;
    }

    .page-j88home__benefit-description {
      font-size: 0.9em;
      color: var(--page-j88home__text-color);
    }

    /* Responsive Design */
    @media (min-width: 768px) {
      .page-j88home__hero-section {
        padding-top: 10px; /* Desktop fixed header padding */
        padding-bottom: 100px;
      }

      .page-j88home__hero-title {
        font-size: 3.5em;
      }

      .page-j88home__hero-subtitle {
        font-size: 1.5em;
      }

      .page-j88home__game-grid {
        grid-template-columns: repeat(4, 1fr);
      }

      .page-j88home__promo-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .page-j88home__steps-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .page-j88home__benefits-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .page-j88home__floating-button-wrapper {
        width: auto;
        right: 20px;
        left: auto;
        transform: translateX(0);
      }

      .page-j88home__promo-card {
        flex-direction: row;
        text-align: left;
      }
      .page-j88home__promo-image-container {
        width: 40%;
        margin-right: 20px;
        margin-bottom: 0;
      }
      .page-j88home__promo-content {
        width: 60%;
      }
    }

    /* Image responsive optimization for mobile */
    @media (max-width: 768px) {
      .page-j88home__hero-image,
      .page-j88home__game-icon,
      .page-j88home__promo-image,
      .page-j88home__benefit-icon {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-j88home__hero-image-container,
      .page-j88home__game-icon-container,
      .page-j88home__promo-image-container,
      .page-j88home__benefit-icon-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
      .page-j88home__hero-section {
        padding-top: 10px !important; /* Mobile fixed header padding */
      }
      .page-j88home__faq-answer {
        padding: 0 10px;
      }
      .page-j88home__faq-item.active .page-j88home__faq-answer {
        padding: 15px 10px !important;
      }
      .page-j88home__faq-question {
        padding: 12px 15px;
      }
      .page-j88home__faq-question h3 {
        font-size: 1em;
      }
    }
  