
    :root {
      --page-qq8-bg-dark: #1a1a1a;
      --page-qq8-bg-light: #2c2c2c;
      --page-qq8-text-white: #ffffff;
      --page-qq8-text-yellow: #ffd700;
      --page-qq8-accent-red: #e74c3c;
      --page-qq8-border-color: #444;
      --page-qq8-shadow-color: rgba(0, 0, 0, 0.5);
    }

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

    .page-qq8 {
      background-color: var(--page-qq8-bg-dark);
      color: var(--page-qq8-text-white);
      overflow-x: hidden;
    }

    .page-qq8__section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
      box-sizing: border-box;
    }

    .page-qq8__section--dark {
      background-color: var(--page-qq8-bg-light);
    }

    .page-qq8__heading {
      color: var(--page-qq8-text-yellow);
      font-size: 2.5em;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .page-qq8__subheading {
      color: var(--page-qq8-text-white);
      font-size: 1.8em;
      margin-bottom: 30px;
      line-height: 1.3;
    }

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

    .page-qq8__button {
      display: inline-block;
      background-color: var(--page-qq8-accent-red);
      color: var(--page-qq8-text-white);
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px var(--page-qq8-shadow-color);
    }

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

    /* Hero Section */
    .page-qq8__hero-section {
      position: relative;
      padding: 0; /* Adjusted padding as image is the main content */
      margin-bottom: 40px;
      overflow: hidden;
      background-color: var(--page-qq8-bg-dark);
      padding-top: -100; /* No extra padding here, already on .page-qq8 */
    }

    .page-qq8__hero-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      margin: 0 auto;
      border-radius: 0;
      filter: none; /* Ensure no filter changes color */
    }

    .page-qq8__hero-content {
      position: relative;
      text-align: center;
      padding: 20px;
      background: linear-gradient(to top, var(--page-qq8-bg-dark) 0%, rgba(0,0,0,0) 100%);
      margin-top: -100px; /* Pull content up over image a bit */
      z-index: 1;
    }

    .page-qq8__hero-title {
      color: var(--page-qq8-text-yellow);
      font-size: 3em;
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px var(--page-qq8-shadow-color);
    }

    .page-qq8__hero-description {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: var(--page-qq8-text-white);
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-qq8__floating-button {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      padding: 18px 35px;
      font-size: 1.3em;
      background-color: var(--page-qq8-accent-red);
      animation: pulse 2s infinite;
      box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    }

    .page-qq8__floating-button:hover {
      background-color: #c0392b;
      transform: translateX(-50%) translateY(-3px);
      animation: none;
    }

    @keyframes pulse {
      0% { transform: translateX(-50%) scale(1); }
      50% { transform: translateX(-50%) scale(1.05); }
      100% { transform: translateX(-50%) scale(1); }
    }

    /* Game Categories Section */
    .page-qq8__game-categories {
      background-color: var(--page-qq8-bg-light);
    }

    .page-qq8__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-qq8__game-card {
      background-color: var(--page-qq8-bg-dark);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 20px var(--page-qq8-shadow-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      border: 1px solid var(--page-qq8-border-color);
      display: flex;
      flex-direction: column;
    }

    .page-qq8__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    }

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

    .page-qq8__game-card-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: cover;
      filter: none; /* Ensure no filter changes color */
    }

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

    .page-qq8__game-card-title {
      font-size: 1.4em;
      color: var(--page-qq8-text-yellow);
      margin-bottom: 10px;
      text-decoration: none;
      display: block;
    }

    .page-qq8__game-card-title a {
      color: var(--page-qq8-text-yellow);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .page-qq8__game-card-title a:hover {
      color: var(--page-qq8-accent-red);
    }

    .page-qq8__game-card-description {
      font-size: 0.95em;
      color: var(--page-qq8-text-white);
      margin-bottom: 15px;
      flex-grow: 1;
    }

    /* Game Providers Section */
    .page-qq8__providers-section {
      background-color: var(--page-qq8-bg-dark);
    }

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

    .page-qq8__provider-logo-wrapper {
      background-color: var(--page-qq8-bg-light);
      padding: 15px;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100px;
      box-shadow: 0 3px 10px var(--page-qq8-shadow-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--page-qq8-border-color);
    }

    .page-qq8__provider-logo-wrapper:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    }

    .page-qq8__provider-logo {
      max-width: 100%;
      max-height: 70px;
      object-fit: contain;
      filter: none; /* Ensure no filter changes color */
    }

    /* Promotions Section */
    .page-qq8__promotions-section {
      background-color: var(--page-qq8-bg-light);
    }

    .page-qq8__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-qq8__promo-card {
      background-color: var(--page-qq8-bg-dark);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 20px var(--page-qq8-shadow-color);
      text-align: left;
      border: 1px solid var(--page-qq8-border-color);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }

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

    .page-qq8__promo-image-wrapper {
      width: 100%;
      height: 220px;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-qq8__promo-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: cover;
      filter: none; /* Ensure no filter changes color */
    }

    .page-qq8__promo-content {
      padding: 25px;
      flex-grow: 1;
    }

    .page-qq8__promo-title {
      font-size: 1.5em;
      color: var(--page-qq8-text-yellow);
      margin-bottom: 10px;
    }

    .page-qq8__promo-description {
      font-size: 1em;
      color: var(--page-qq8-text-white);
      margin-bottom: 20px;
    }

    .page-qq8__promo-link {
      display: inline-block;
      color: var(--page-qq8-accent-red);
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    .page-qq8__promo-link:hover {
      color: #ff0000;
    }

    /* FAQ Section */
    .page-qq8__faq-section {
      background-color: var(--page-qq8-bg-dark);
    }

    .page-qq8__faq-list {
      margin-top: 30px;
      text-align: left;
    }

    .page-qq8__faq-item {
      background-color: var(--page-qq8-bg-light);
      margin-bottom: 15px;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--page-qq8-border-color);
      box-shadow: 0 3px 10px var(--page-qq8-shadow-color);
    }

    .page-qq8__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      user-select: none;
      background-color: var(--page-qq8-bg-light);
      transition: background-color 0.3s ease;
    }

    .page-qq8__faq-question:hover {
      background-color: #3a3a3a;
    }

    .page-qq8__faq-question h3 {
      margin: 0;
      font-size: 1.25em;
      color: var(--page-qq8-text-yellow);
      pointer-events: none; /* Prevent h3 from blocking click */
    }

    .page-qq8__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-qq8-text-yellow);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-qq8__faq-item.active .page-qq8__faq-toggle {
      transform: rotate(45deg);
    }

    .page-qq8__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: var(--page-qq8-text-white);
      font-size: 1em;
      line-height: 1.7;
    }

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

    /* Call to Action Section */
    .page-qq8__cta-section {
      background: linear-gradient(135deg, var(--page-qq8-bg-light), var(--page-qq8-bg-dark));
      border-top: 2px solid var(--page-qq8-accent-red);
      margin-top: 40px;
    }

    .page-qq8__cta-text {
      font-size: 1.5em;
      color: var(--page-qq8-text-white);
      margin-bottom: 30px;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-qq8__heading {
        font-size: 2.2em;
      }
      .page-qq8__subheading {
        font-size: 1.6em;
      }
      .page-qq8__hero-title {
        font-size: 2.5em;
      }
    }

    @media (max-width: 768px) {
      .page-qq8 {
        
      }
      .page-qq8__section {
        padding: 30px 15px;
      }
      .page-qq8__heading {
        font-size: 2em;
      }
      .page-qq8__subheading {
        font-size: 1.4em;
      }
      .page-qq8__hero-title {
        font-size: 2em;
      }
      .page-qq8__hero-description {
        font-size: 1.1em;
      }
      .page-qq8__button {
        padding: 12px 25px;
        font-size: 1.1em;
      }
      .page-qq8__floating-button {
        padding: 15px 30px;
        font-size: 1.1em;
        bottom: 15px;
      }
      .page-qq8__game-grid,
      .page-qq8__providers-grid,
      .page-qq8__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .page-qq8__game-card-image-wrapper,
      .page-qq8__promo-image-wrapper {
        height: 180px;
      }
      .page-qq8__game-card-title {
        font-size: 1.3em;
      }
      .page-qq8__promo-title {
        font-size: 1.3em;
      }
      .page-qq8__faq-question h3 {
        font-size: 1.1em;
      }
      .page-qq8__faq-answer {
        font-size: 0.95em;
      }
      .page-qq8__game-card-image,
      .page-qq8__promo-image,
      .page-qq8__provider-logo,
      .page-qq8__hero-image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important; /* Ensure images scale correctly */
      }
      .page-qq8__game-card-image-wrapper,
      .page-qq8__promo-image-wrapper,
      .page-qq8__provider-logo-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-qq8__heading {
        font-size: 1.8em;
      }
      .page-qq8__subheading {
        font-size: 1.2em;
      }
      .page-qq8__hero-title {
        font-size: 1.8em;
      }
      .page-qq8__floating-button {
        width: calc(100% - 40px);
        left: 20px;
        transform: none;
      }
    }
  