
    :root {
      --page-999bet-primary-color: #e44d26; /* Orange-red */
      --page-999bet-secondary-color: #333; /* Dark gray */
      --page-999bet-accent-color: #ffcc00; /* Gold */
      --page-999bet-background-light: #f5f5f5; /* Light gray */
      --page-999bet-background-dark: #222; /* Very dark gray */
      --page-999bet-text-light: #fff;
      --page-999bet-text-dark: #333;
    }

    .page-999bet {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--page-999bet-text-dark);
      line-height: 1.6;
      background-color: var(--page-999bet-background-light);
    }

    .page-999bet__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      text-align: center;
    }

    .page-999bet__section--dark {
      background-color: var(--page-999bet-background-dark);
      color: var(--page-999bet-text-light);
    }

    .page-999bet__hero-section {
      position: relative;
      background-color: #1a1a1a;
      padding-top: 10px; /* For fixed header */
      text-align: center;
      overflow: hidden;
    }

    .page-999bet__hero-image {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: block;
      margin: 0 auto;
      object-fit: cover;
      filter: brightness(0.7); /* Slightly dim the image for text readability */
    }

    .page-999bet__hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: var(--page-999bet-text-light);
      z-index: 10;
      width: 90%;
      max-width: 800px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-999bet__hero-title {
      font-size: 2.5em;
      margin-bottom: 10px;
      color: var(--page-999bet-accent-color);
    }

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

    .page-999bet__button {
      display: inline-block;
      padding: 12px 25px;
      background-color: var(--page-999bet-primary-color);
      color: var(--page-999bet-text-light);
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
    }

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

    .page-999bet__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: var(--page-999bet-primary-color);
      color: var(--page-999bet-text-light);
      padding: 15px 25px;
      border-radius: 50px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      font-weight: bold;
      z-index: 1000;
      text-decoration: none;
      text-align: center;
      transition: background-color 0.3s ease, transform 0.2s ease;
      animation: page-999bet__pulse 2s infinite;
    }

    .page-999bet__floating-button:hover {
      background-color: #d13a1a;
      transform: scale(1.05);
    }

    @keyframes page-999bet__pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(228, 77, 38, 0.7);
      }
      70% {
        box-shadow: 0 0 0 15px rgba(228, 77, 38, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(228, 77, 38, 0);
      }
    }

    .page-999bet__heading-primary {
      font-size: 2.2em;
      color: var(--page-999bet-primary-color);
      margin-bottom: 25px;
      text-transform: uppercase;
    }

    .page-999bet__heading-secondary {
      font-size: 1.8em;
      color: var(--page-999bet-secondary-color);
      margin-bottom: 20px;
    }

    .page-999bet__heading-secondary--light {
      color: var(--page-999bet-text-light);
    }

    .page-999bet__text {
      font-size: 1.05em;
      margin-bottom: 15px;
    }

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

    .page-999bet__game-card {
      background-color: var(--page-999bet-text-light);
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
    }

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

    .page-999bet__game-card-image-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      height: 200px; /* Fixed height for consistency */
    }

    .page-999bet__game-card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .page-999bet__game-card-title {
      font-size: 1.3em;
      color: var(--page-999bet-primary-color);
      margin: 15px 0 10px;
      padding: 0 15px;
    }

    .page-999bet__game-card-description {
      font-size: 0.95em;
      color: var(--page-999bet-secondary-color);
      padding: 0 15px;
    }

    .page-999bet__cta-section {
      background-color: var(--page-999bet-primary-color);
      color: var(--page-999bet-text-light);
      padding: 50px 20px;
      text-align: center;
      margin-top: 40px;
    }

    .page-999bet__cta-title {
      font-size: 2em;
      margin-bottom: 15px;
    }

    .page-999bet__cta-text {
      font-size: 1.1em;
      margin-bottom: 30px;
    }

    .page-999bet__register-steps {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-top: 30px;
    }

    .page-999bet__step-item {
      flex: 1 1 280px;
      background-color: var(--page-999bet-text-light);
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      text-align: center;
      transition: transform 0.3s ease;
    }

    .page-999bet__step-item:hover {
      transform: translateY(-5px);
    }

    .page-999bet__step-icon {
      width: 100px;
      height: 100px;
      margin-bottom: 20px;
      object-fit: contain;
    }

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

    .page-999bet__step-description {
      font-size: 0.95em;
      color: var(--page-999bet-secondary-color);
    }

    .page-999bet__app-download-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
      margin-top: 30px;
    }

    .page-999bet__qr-code {
      width: 250px;
      height: 250px;
      border: 5px solid var(--page-999bet-primary-color);
      border-radius: 10px;
      object-fit: contain;
    }

    .page-999bet__download-buttons {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .page-999bet__download-button {
      background-color: var(--page-999bet-secondary-color);
      color: var(--page-999bet-text-light);
      padding: 12px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .page-999bet__download-button:hover {
      background-color: #555;
    }

    .page-999bet__download-button-icon {
      width: 24px;
      height: 24px;
      object-fit: contain;
      filter: invert(1); /* This is allowed for simple icons on a solid background, assuming the original is dark */
    }

    .page-999bet__faq-section {
      background-color: var(--page-999bet-background-light);
      padding: 40px 20px;
    }

    .page-999bet__faq-list {
      max-width: 900px;
      margin: 30px auto 0;
      text-align: left;
    }

    .page-999bet__faq-item {
      background-color: var(--page-999bet-text-light);
      border: 1px solid #ddd;
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .page-999bet__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      background-color: #f9f9f9;
      border-bottom: 1px solid #eee;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-999bet__faq-question:hover {
      background-color: #f0f0f0;
    }

    .page-999bet__faq-question h3 {
      margin: 0;
      font-size: 1.15em;
      color: var(--page-999bet-secondary-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

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

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

    .page-999bet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
      color: var(--page-999bet-secondary-color);
    }

    .page-999bet__faq-item.active .page-999bet__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to contain content */
      padding: 20px !important;
      opacity: 1;
    }

    .page-999bet__faq-answer p {
      margin-top: 0;
      margin-bottom: 10px;
    }

    .page-999bet__contact-info {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-999bet__contact-item {
      flex: 1 1 200px;
      background-color: var(--page-999bet-text-light);
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
    }

    .page-999bet__contact-item-title {
      font-size: 1.2em;
      color: var(--page-999bet-primary-color);
      margin-bottom: 10px;
    }

    .page-999bet__contact-item-text {
      font-size: 1em;
      color: var(--page-999bet-secondary-color);
    }

    @media (max-width: 768px) {
      .page-999bet__hero-title {
        font-size: 1.8em;
      }

      .page-999bet__hero-description {
        font-size: 0.9em;
      }

      .page-999bet__heading-primary {
        font-size: 1.8em;
      }

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

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

      .page-999bet__game-card-image-container {
        height: 180px;
      }

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

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

      .page-999bet__register-steps {
        flex-direction: column;
      }

      .page-999bet__step-item {
        flex: 1 1 auto;
      }

      .page-999bet__qr-code {
        width: 200px;
        height: 200px;
      }

      .page-999bet__download-buttons {
        flex-direction: column;
        width: 100%;
      }

      .page-999bet__download-button {
        width: calc(100% - 40px);
        margin: 0 auto;
        justify-content: center;
      }

      .page-999bet__faq-question {
        padding: 15px;
      }

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

      .page-999bet__faq-answer {
        padding: 0 15px;
      }

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

      .page-999bet__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.9em;
      }

      /* Image responsive optimization for mobile */
      .page-999bet img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-999bet__game-card-image-container,
      .page-999bet__step-icon,
      .page-999bet__qr-code {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }
  