
    :root {
      --primary-color: #e44d26; /* A vibrant red-orange for a betting site */
      --secondary-color: #333;
      --accent-color: #f7b32b; /* Gold/yellow for highlights */
      --background-dark: #1a1a1a;
      --background-light: #2c2c2c;
      --text-light: #f0f0f0;
      --text-dark: #ccc;
      --border-color: #444;
    }

    /* Base styles for the page container */
    .page-game-z88 {
      font-family: 'Arial', sans-serif;
      color: var(--text-light);
      background-color: var(--background-dark);
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Ensure good contrast for all text */
    .page-game-z88 h1,
    .page-game-z88 h2,
    .page-game-z88 h3,
    .page-game-z88 h4,
    .page-game-z88 p,
    .page-game-z88 li,
    .page-game-z88 .page-game-z88__button,
    .page-game-z88 .page-game-z88__floating-button {
      color: var(--text-light); /* Ensure text is light on dark background */
    }

    .page-game-z88__hero-section {
      position: relative;
      width: 100%;
      height: 60vh; /* Adjust height for mobile first */
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--text-light);
      overflow: hidden;
      padding-top: 10px; /* Small padding, assuming body handles main offset */
      background-color: #000; /* Fallback */
    }

    .page-game-z88__hero-section img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      opacity: 0.7; /* Darken image for text readability */
      max-width: 100%;
      height: auto;
      display: block;
    }

    .page-game-z88__hero-content {
      position: relative;
      z-index: 2;
      max-width: 90%;
      padding: 20px;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 10px;
    }

    .page-game-z88__hero-title {
      font-size: 2.5em; /* Larger for H1 */
      margin-bottom: 10px;
      color: var(--accent-color);
    }

    .page-game-z88__hero-description {
      font-size: 1.1em;
      margin-bottom: 20px;
    }

    .page-game-z88__button-group {
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    }

    .page-game-z88__button {
      background-color: var(--primary-color);
      color: var(--text-light);
      padding: 12px 25px;
      border: none;
      border-radius: 5px;
      font-size: 1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      white-space: nowrap; /* Prevent button text from wrapping */
    }

    .page-game-z88__button:hover {
      background-color: #c73e1f; /* A slightly darker shade of #e44d26 */
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .page-game-z88__button--secondary {
      background-color: var(--secondary-color);
    }

    .page-game-z88__button--secondary:hover {
      background-color: #222; /* Darker secondary color */
    }

    .page-game-z88__section {
      padding: 40px 20px;
      text-align: center;
      background-color: var(--background-light);
      margin-bottom: 20px;
      border-radius: 8px;
    }

    .page-game-z88__section:nth-of-type(even) {
      background-color: var(--background-dark);
    }

    .page-game-z88__section-title {
      font-size: 2em;
      margin-bottom: 30px;
      color: var(--accent-color);
      position: relative;
      padding-bottom: 10px;
    }

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

    .page-game-z88__text-content {
      max-width: 800px;
      margin: 0 auto 30px auto;
      text-align: left;
      color: var(--text-dark);
    }

    .page-game-z88__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-game-z88__game-item {
      background-color: var(--background-dark);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--border-color);
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-game-z88__game-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .page-game-z88__game-image {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      overflow: hidden; /* Ensure image doesn't overflow */
      box-sizing: border-box; /* Include padding and border in width/height */
    }
    .page-game-z88__game-image img {
      max-width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    .page-game-z88__game-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-game-z88__game-title {
      font-size: 1.4em;
      margin-top: 0;
      margin-bottom: 10px;
      color: var(--accent-color);
    }

    .page-game-z88__game-description {
      font-size: 0.95em;
      color: var(--text-dark);
      margin-bottom: 15px;
      flex-grow: 1;
    }

    .page-game-z88__features-list {
      list-style: none;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .page-game-z88__feature-item {
      background-color: var(--background-dark);
      padding: 25px;
      border-radius: 8px;
      text-align: left;
      border-left: 4px solid var(--primary-color);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      box-sizing: border-box; /* Crucial for responsive list items */
      word-wrap: break-word; /* Ensure text wraps */
      overflow-wrap: break-word; /* Ensure text wraps */
    }

    .page-game-z88__feature-item h3 {
      color: var(--accent-color);
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 1.2em;
    }

    .page-game-z88__promo-card {
      background-color: var(--background-dark);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      display: flex;
      flex-direction: column;
      max-width: 800px;
      margin: 0 auto;
      border: 1px solid var(--border-color);
    }

    .page-game-z88__promo-image {
      width: 100%;
      height: 250px;
      overflow: hidden;
      box-sizing: border-box;
    }
    .page-game-z88__promo-image img {
      max-width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    .page-game-z88__promo-content {
      padding: 25px;
      text-align: left;
    }

    .page-game-z88__promo-content h3 {
      color: var(--accent-color);
      font-size: 1.8em;
      margin-top: 0;
      margin-bottom: 15px;
    }

    .page-game-z88__promo-content p {
      color: var(--text-dark);
      margin-bottom: 20px;
    }

    .page-game-z88__provider-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Min width for logos */
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
      justify-items: center; /* Center logos in their grid cells */
    }

    .page-game-z88__provider-item {
      background-color: var(--background-dark);
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100px; /* Fixed height for logos */
      width: 100%;
      max-width: 180px; /* Max width for individual logo card */
      box-sizing: border-box;
      border: 1px solid var(--border-color);
    }

    .page-game-z88__provider-logo {
      max-width: 100%;
      max-height: 70px; /* Max height for the actual logo image */
      object-fit: contain;
      display: block;
    }
    .page-game-z88__provider-logo img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* FAQ Section */
    .page-game-z88__faq-section {
      max-width: 800px;
      margin: 0 auto;
      text-align: left;
    }

    .page-game-z88__faq-item {
      background-color: var(--background-dark);
      border: 1px solid var(--border-color);
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
    }

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

    .page-game-z88__faq-question:hover {
      background-color: #444;
    }

    .page-game-z88__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: var(--text-light);
      pointer-events: none; /* Prevent h3 from blocking click */
    }

    .page-game-z88__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      transition: transform 0.3s ease;
      color: var(--primary-color);
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-game-z88__faq-item.active .page-game-z88__faq-toggle {
      transform: rotate(45deg); /* Rotate '+' to 'x' or use '-' directly */
    }

    .page-game-z88__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Initial padding 0 to 20px */
      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(--text-dark);
      background-color: var(--background-dark);
    }

    .page-game-z88__faq-item.active .page-game-z88__faq-answer {
      max-height: 2000px !important; /* Sufficiently large for content */
      padding: 20px !important; /* Final padding */
      opacity: 1;
    }

    /* Floating Register/Login Buttons */
    .page-game-z88__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-game-z88__floating-button {
      background-color: var(--primary-color);
      color: var(--text-light);
      padding: 10px 20px;
      border-radius: 50px; /* Pill shape */
      font-size: 1em;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
      transition: background-color 0.3s ease, transform 0.2s ease;
      cursor: pointer;
      white-space: nowrap;
      border: none; /* Ensure no default button border */
    }

    .page-game-z88__floating-button:hover {
      background-color: #c73e1f; /* Darker primary color */
      transform: translateY(-3px);
    }

    .page-game-z88__floating-button--login {
      background-color: var(--accent-color);
    }

    .page-game-z88__floating-button--login:hover {
      background-color: #d69f27; /* Darker accent color */
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-game-z88__hero-section {
        height: 50vh;
      }

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

      .page-game-z88__hero-description {
        font-size: 0.9em;
      }

      .page-game-z88__button {
        padding: 10px 20px;
        font-size: 0.9em;
      }

      .page-game-z88__section {
        padding: 30px 15px;
      }

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

      .page-game-z88__game-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
      }

      .page-game-z88__features-list,
      .page-game-z88__provider-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
      }

      /* List item specific responsive requirements */
      .page-game-z88__features-list,
      .page-game-z88__provider-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important; /* Adjust padding for container */
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }

      .page-game-z88__feature-item,
      .page-game-z88__provider-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important; /* Adjust padding */
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      .page-game-z88__promo-card {
        flex-direction: column;
      }

      .page-game-z88__promo-content h3 {
        font-size: 1.5em;
      }

      .page-game-z88__faq-question {
        font-size: 1em;
        padding: 12px 15px;
      }

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

      .page-game-z88__faq-answer {
        padding: 0 15px; /* Adjust initial padding */
      }

      .page-game-z88__faq-item.active .page-game-z88__faq-answer {
        padding: 15px !important; /* Adjust final padding */
      }

      .page-game-z88__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row; /* Buttons side-by-side on small screens */
        gap: 8px;
      }
      .page-game-z88__floating-button {
        padding: 8px 15px;
        font-size: 0.9em;
      }

      /* Image responsive optimization */
      .page-game-z88__hero-section img,
      .page-game-z88__game-image img,
      .page-game-z88__promo-image img,
      .page-game-z88__provider-logo img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-game-z88__game-image,
      .page-game-z88__promo-image,
      .page-game-z88__provider-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (min-width: 769px) {
      .page-game-z88__hero-section {
        height: 70vh;
      }
      .page-game-z88__hero-title {
        font-size: 3.5em;
      }
      .page-game-z88__hero-description {
        font-size: 1.2em;
      }
    }

  