
    /* Base styles for mobile-first */
    :root {
      --page-cm88-primary-color: #e44d26; /* A vibrant, engaging color */
      --page-cm88-secondary-color: #333;
      --page-cm88-text-color: #f0f0f0;
      --page-cm88-background-color: #1a1a1a;
      --page-cm88-card-background: #2a2a2a;
      --page-cm88-border-color: #444;
      --page-cm88-button-hover: #ff6f4d;
      --page-cm88-shadow: rgba(0, 0, 0, 0.3);
    }

    .page-cm88 {
      font-family: 'Arial', sans-serif;
      color: var(--page-cm88-text-color);
      background-color: var(--page-cm88-background-color);
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll */
    }

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

    .page-cm88__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: var(--page-cm88-card-background);
      border-radius: 10px;
      box-shadow: 0 4px 15px var(--page-cm88-shadow);
      text-align: center;
    }

    .page-cm88__section:nth-child(even) {
      background-color: #222; /* Slightly different background for visual separation */
    }

    .page-cm88__heading-primary {
      color: var(--page-cm88-primary-color);
      font-size: 2.5em;
      margin-bottom: 20px;
      text-align: center;
      text-shadow: 2px 2px 4px var(--page-cm88-shadow);
    }

    .page-cm88__heading-secondary {
      color: var(--page-cm88-primary-color);
      font-size: 1.8em;
      margin-top: 30px;
      margin-bottom: 20px;
      text-align: center;
    }

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

    /* Hero Section */
    .page-cm88__hero-section {
      position: relative;
      background-size: cover;
      background-position: center;
      color: #fff;
      text-align: center;
      padding: 10px 20px 80px 20px; /* Adjusted padding-top for fixed header */
      border-radius: 0 0 10px 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 300px; /* Ensure banner is visible */
    }

    .page-cm88__hero-image {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: block;
      border-radius: 10px;
      margin-bottom: 20px;
    }
    
    .page-cm88__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      padding: 20px;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 10px;
    }

    .page-cm88__hero-title {
      font-size: 2.2em;
      margin-bottom: 15px;
      color: #fff;
      text-shadow: 2px 2px 4px var(--page-cm88-shadow);
    }

    .page-cm88__hero-description {
      font-size: 1.1em;
      margin-bottom: 25px;
      color: #eee;
    }

    .page-cm88__button {
      display: inline-block;
      background-color: var(--page-cm88-primary-color);
      color: #fff;
      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-cm88__button:hover {
      background-color: var(--page-cm88-button-hover);
    }

    /* Floating Login Button */
    .page-cm88__floating-login-button {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--page-cm88-primary-color);
      color: #fff;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      z-index: 1000;
      transition: background-color 0.3s ease, transform 0.3s ease;
      white-space: nowrap; /* Prevent text wrapping */
    }

    .page-cm88__floating-login-button:hover {
      background-color: var(--page-cm88-button-hover);
      transform: translateX(-50%) translateY(-5px);
    }

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

    .page-cm88__game-card {
      background-color: var(--page-cm88-card-background);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px var(--page-cm88-shadow);
      transition: transform 0.3s ease;
      text-align: center;
      display: flex;
      flex-direction: column;
    }

    .page-cm88__game-card:hover {
      transform: translateY(-5px);
    }

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

    .page-cm88__game-image {
      width: 100%;
      height: auto;
      max-width: 100%;
      object-fit: cover; /* Ensure images cover the area */
    }

    .page-cm88__game-content {
      padding: 15px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-cm88__game-title {
      font-size: 1.3em;
      color: var(--page-cm88-primary-color);
      margin-bottom: 10px;
    }

    .page-cm88__game-description {
      font-size: 0.95em;
      color: #ccc;
      margin-bottom: 15px;
    }

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

    .page-cm88__feature-item {
      background-color: var(--page-cm88-card-background);
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 2px 8px var(--page-cm88-shadow);
      text-align: left;
    }

    .page-cm88__feature-title {
      color: var(--page-cm88-primary-color);
      font-size: 1.4em;
      margin-bottom: 10px;
    }

    .page-cm88__feature-text {
      color: #ccc;
      font-size: 1em;
    }

    /* Promotions Section */
    .page-cm88__promotion-card {
      background-color: var(--page-cm88-primary-color);
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      margin-top: 30px;
      color: #fff;
    }

    .page-cm88__promotion-title {
      font-size: 2em;
      margin-bottom: 15px;
      color: #fff;
    }

    .page-cm88__promotion-text {
      font-size: 1.1em;
      margin-bottom: 25px;
      color: #f0f0f0;
    }

    /* FAQ Section */
    .page-cm88__faq-list {
      margin-top: 30px;
      text-align: left;
    }

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

    .page-cm88__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #3a3a3a;
      transition: background-color 0.3s ease;
    }

    .page-cm88__faq-question:hover {
      background-color: #4a4a4a;
    }

    .page-cm88__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: var(--page-cm88-primary-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-cm88__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-cm88-primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
    }

    .page-cm88__faq-item.active .page-cm88__faq-toggle {
      transform: rotate(45deg); /* Rotate + to X or simply change to - */
    }

    .page-cm88__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: #2a2a2a;
      color: #ccc;
    }

    .page-cm88__faq-item.active .page-cm88__faq-answer {
      max-height: 2000px !important; /* Use !important as required */
      padding: 20px 15px !important; /* Use !important as required */
      opacity: 1;
    }

    /* General image responsive styling */
    .page-cm88 img {
        max-width: 100%;
        height: auto;
        display: block; /* Remove extra space below images */
    }
    .page-cm88__image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

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

      .page-cm88__section {
        padding: 30px 15px;
      }

      .page-cm88__hero-section {
        padding: 10px 15px 60px 15px; /* Mobile padding-top for fixed header */
        min-height: 250px;
      }

      .page-cm88__hero-title {
        font-size: 1.8em;
      }

      .page-cm88__hero-description {
        font-size: 1em;
      }

      .page-cm88__floating-login-button {
        padding: 12px 20px;
        font-size: 1em;
        bottom: 15px;
      }

      .page-cm88__heading-primary {
        font-size: 2em;
      }

      .page-cm88__heading-secondary {
        font-size: 1.5em;
      }

      .page-cm88__game-grid {
        grid-template-columns: 1fr;
      }

      .page-cm88__game-image-wrapper {
        height: 180px;
      }

      .page-cm88__promotion-title {
        font-size: 1.6em;
      }

      .page-cm88__promotion-text {
        font-size: 1em;
      }

      .page-cm88__faq-question h3 {
        font-size: 1em;
      }

      /* Force responsive image styles on mobile with !important */
      .page-cm88 img {
          max-width: 100% !important;
          height: auto !important;
      }
      .page-cm88__image-container {
          width: 100% !important;
          max-width: 100% !important;
          overflow: hidden !important;
          box-sizing: border-box !important;
      }
    }

    @media (min-width: 769px) {
      .page-cm88__features-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Ensure good contrast */
    .page-cm88 h1, .page-cm88 h2, .page-cm88 h3, .page-cm88 h4, .page-cm88 h5, .page-cm88 h6 {
        color: var(--page-cm88-primary-color);
    }
    .page-cm88 p, .page-cm88 li {
        color: var(--page-cm88-text-color);
    }
    .page-cm88__button, .page-cm88__floating-login-button {
        background-color: var(--page-cm88-primary-color);
        color: #fff; /* White text on primary color button */
    }
    .page-cm88__button:hover, .page-cm88__floating-login-button:hover {
        background-color: var(--page-cm88-button-hover);
    }
    .page-cm88__card-background {
        background-color: var(--page-cm88-card-background);
    }
    .page-cm88__background-color {
        background-color: var(--page-cm88-background-color);
    }
  