
    /* Page-specific CSS for 8888bet */
    :root {
      --primary-color: #e44d26; /* A vibrant color for betting */
      --secondary-color: #333;
      --accent-color: #f7b32b; /* Gold/yellow for highlights */
      --background-dark: #1a1a1a;
      --background-light: #2c2c2c;
      --text-color-light: #f0f0f0;
      --text-color-dark: #ccc;
    }

    .page-8888bet {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--text-color-light);
      background-color: var(--background-dark);
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll */
      padding-top: 10px; /* Small decorative padding, body has main offset */
    }

    .page-8888bet__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      background-color: var(--background-light);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .page-8888bet__section--dark {
        background-color: var(--background-dark);
        color: var(--text-color-dark);
    }

    .page-8888bet__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .page-8888bet__header-title {
      text-align: center;
      color: var(--primary-color);
      font-size: 2.8em;
      margin-top: 20px;
      margin-bottom: 30px;
      font-weight: 700;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-8888bet__subheader {
      text-align: center;
      color: var(--accent-color);
      font-size: 1.8em;
      margin-bottom: 30px;
      font-weight: 600;
    }

    .page-8888bet__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      color: var(--text-color-light);
      word-wrap: break-word; /* Ensure text wraps */
      overflow-wrap: break-word; /* Ensure text wraps */
    }

    .page-8888bet__button {
      display: inline-block;
      padding: 12px 25px;
      background-color: var(--primary-color);
      color: var(--text-color-light);
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      text-align: center;
      white-space: nowrap;
      box-sizing: border-box;
    }

    .page-8888bet__button:hover {
      background-color: #ff6f40;
      transform: translateY(-2px);
    }

    .page-8888bet__button--secondary {
      background-color: var(--accent-color);
      color: var(--secondary-color); /* Changed for contrast */
      margin-left: 15px;
    }

    .page-8888bet__button--secondary:hover {
      background-color: #ffd966;
    }

    .page-8888bet__hero-section {
      text-align: center;
      background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-light) 100%);
      padding: 60px 20px 40px;
      border-radius: 0;
      margin-bottom: 0;
    }

    .page-8888bet__hero-title {
      font-size: 3.5em;
      color: var(--primary-color);
      margin-bottom: 15px;
      text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    }

    .page-8888bet__hero-subtitle {
      font-size: 1.5em;
      color: var(--text-color-light);
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-8888bet__hero-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .page-8888bet__image-wrapper {
      margin: 30px auto;
      text-align: center;
      max-width: 100%;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .page-8888bet__image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
    }

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

    .page-8888bet__product-card {
      background-color: var(--background-dark);
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }

    .page-8888bet__product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .page-8888bet__product-card-image {
      max-width: 100%;
      height: 250px; /* Fixed height for consistency */
      object-fit: cover;
      display: block;
      margin: 0 auto;
    }

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

    .page-8888bet__product-card-title {
      font-size: 1.5em;
      color: var(--primary-color);
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-8888bet__product-card-description {
      font-size: 0.95em;
      color: var(--text-color-dark);
      margin-bottom: 15px;
      flex-grow: 1;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-8888bet__features-list {
      list-style: none;
      padding: 0;
      margin: 30px 0 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
    }

    .page-8888bet__features-item {
      background-color: var(--background-dark);
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      box-sizing: border-box; /* Crucial for responsiveness */
    }

    .page-8888bet__features-item-title {
      font-size: 1.3em;
      color: var(--accent-color);
      margin-top: 15px;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-8888bet__features-item-description {
      font-size: 1em;
      color: var(--text-color-dark);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-8888bet__features-icon {
      width: 100px; /* Display size for placeholder image */
      height: 100px;
      object-fit: contain;
      margin-bottom: 15px;
    }

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

    .page-8888bet__partner-logo {
      max-width: 100%;
      height: auto;
      max-height: 80px;
      object-fit: contain;
      background-color: #3a3a3a;
      padding: 10px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .page-8888bet__faq-section {
      background-color: var(--background-dark);
      padding: 50px 20px;
      border-radius: 8px;
    }

    .page-8888bet__faq-item {
      background-color: var(--background-light);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

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

    .page-8888bet__faq-question:hover {
      background-color: #444;
    }

    .page-8888bet__faq-question h3 {
      margin: 0;
      color: var(--text-color-light);
      pointer-events: none; /* Prevent h3 from blocking click event */
      flex-grow: 1;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-8888bet__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
      color: var(--accent-color);
    }

    .page-8888bet__faq-item.active .page-8888bet__faq-toggle {
      transform: rotate(45deg); /* Change '+' to 'x' visually */
    }

    .page-8888bet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px; /* Adjust padding here */
      color: var(--text-color-dark);
      background-color: var(--background-light);
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      box-sizing: border-box;
      font-size: 1em;
    }

    .page-8888bet__faq-item.active .page-8888bet__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 25px !important; /* Ensure padding is applied on active */
      opacity: 1;
    }

    .page-8888bet__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-8888bet__floating-button {
      background-color: var(--primary-color);
      color: var(--text-color-light);
      padding: 12px 20px;
      border-radius: 30px;
      text-align: center;
      font-size: 1.1em;
      font-weight: bold;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      width: 120px; /* Fixed width for consistency */
      box-sizing: border-box;
    }

    .page-8888bet__floating-button:hover {
      background-color: #ff6f40;
      transform: translateY(-3px);
    }

    .page-8888bet__floating-button--login {
      background-color: var(--accent-color);
      color: var(--secondary-color); /* Changed for contrast */
    }

    .page-8888bet__floating-button--login:hover {
      background-color: #ffd966;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-8888bet__header-title {
        font-size: 2.2em;
      }

      .page-8888bet__hero-title {
        font-size: 2.5em;
      }

      .page-8888bet__hero-subtitle {
        font-size: 1.2em;
      }

      .page-8888bet__button {
        padding: 10px 20px;
        font-size: 1em;
      }

      .page-8888bet__button--secondary {
        margin-left: 0;
        margin-top: 10px;
      }

      .page-8888bet__hero-buttons {
        flex-direction: column;
        align-items: center;
      }

      .page-8888bet__section {
        padding: 30px 15px;
      }

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

      .page-8888bet__product-card-image {
        height: 200px;
      }

      .page-8888bet__features-list {
        grid-template-columns: 1fr;
        padding: 0 !important; /* Ensure no extra padding on ul */
        margin: 20px 0 0;
      }

      .page-8888bet__features-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px; /* Adjust padding for smaller screens */
      }

      .page-8888bet__partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      }

      .page-8888bet__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
      }

      .page-8888bet__faq-answer {
        padding: 0 20px;
      }
      .page-8888bet__faq-item.active .page-8888bet__faq-answer {
        padding: 15px 20px !important;
      }

      .page-8888bet__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row;
        width: calc(100% - 30px);
        justify-content: space-around;
      }

      .page-8888bet__floating-button {
        width: 100px;
        font-size: 1em;
        padding: 10px 15px;
      }

      /* Image responsiveness */
      .page-8888bet__image-wrapper,
      .page-8888bet__image,
      .page-8888bet__product-card-image,
      .page-8888bet__features-icon,
      .page-8888bet__partner-logo {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-8888bet__header-title {
        font-size: 1.8em;
      }
      .page-8888bet__hero-title {
        font-size: 2em;
      }
      .page-8888bet__hero-subtitle {
        font-size: 1em;
      }
      .page-8888bet__floating-buttons {
        gap: 8px;
      }
      .page-8888bet__floating-button {
        width: 90px;
        font-size: 0.9em;
        padding: 8px 10px;
      }
    }
  