
    /* CSS Styles for JJ88 bet page */
    .page-jj88bet {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #333;
      background-color: #f4f7f6;
      line-height: 1.6;
      padding-bottom: 80px; /* Space for fixed footer/button */
    }

    /* Hero Section */
    .page-jj88bet__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:jj88bet_banner,gaming_background]') no-repeat center center/cover;
      color: #fff;
      text-align: center;
      padding: 10px 20px 60px; /* Add padding-top for fixed header, 10px desktop */
      position: relative;
      overflow: hidden;
      min-height: 350px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
    }

    .page-jj88bet__hero-title {
      font-size: 2.5em;
      margin-bottom: 15px;
      font-weight: 700;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      color: #FFD700; /* Gold color for highlight */
    }

    .page-jj88bet__hero-subtitle {
      font-size: 1.2em;
      margin-bottom: 30px;
      max-width: 800px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-jj88bet__cta-button {
      display: inline-block;
      background-color: #007bff; /* Blue */
      color: #fff;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-jj88bet__cta-button:hover {
      background-color: #0056b3;
      transform: translateY(-2px);
    }

    /* Section Styling */
    .page-jj88bet__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      margin-top: 30px;
    }

    .page-jj88bet__section-title {
      font-size: 2em;
      color: #1a2a6c; /* Dark blue */
      text-align: center;
      margin-bottom: 30px;
      position: relative;
      padding-bottom: 10px;
    }

    .page-jj88bet__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background-color: #007bff;
      border-radius: 2px;
    }

    .page-jj88bet__text-content p {
      margin-bottom: 15px;
      font-size: 1.1em;
      color: #555;
    }

    .page-jj88bet__text-content strong {
      color: #1a2a6c;
    }

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

    .page-jj88bet__game-card {
      background-color: #f9f9f9;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

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

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

    .page-jj88bet__game-card-image {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Ensures images cover the area without distortion */
      display: block;
      max-width: 100%; /* Important for responsiveness */
    }

    .page-jj88bet__game-card-content {
      padding: 20px;
    }

    .page-jj88bet__game-card-title {
      font-size: 1.4em;
      color: #1a2a6c;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-jj88bet__game-card-description {
      font-size: 0.95em;
      color: #666;
      margin-bottom: 15px;
    }

    /* Promotions Section */
    .page-jj88bet__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-jj88bet__promo-card {
      background-color: #e6f2ff; /* Light blue background */
      border-left: 5px solid #007bff;
      border-radius: 8px;
      padding: 25px;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-jj88bet__promo-card:hover {
      transform: translateY(-3px);
    }

    .page-jj88bet__promo-title {
      font-size: 1.5em;
      color: #1a2a6c;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-jj88bet__promo-description {
      font-size: 1em;
      color: #444;
      margin-bottom: 15px;
    }

    .page-jj88bet__promo-action {
      display: inline-block;
      background-color: #28a745; /* Green */
      color: #fff;
      padding: 10px 20px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      font-size: 0.95em;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      text-align: center;
    }

    .page-jj88bet__promo-action:hover {
      background-color: #218838;
    }

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

    .page-jj88bet__step-card {
      background-color: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      padding: 25px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      transition: box-shadow 0.3s ease;
    }

    .page-jj88bet__step-card:hover {
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .page-jj88bet__step-icon-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: 120px; /* Fixed height for consistency */
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .page-jj88bet__step-icon {
      width: 100px;
      height: 100px;
      object-fit: contain;
      max-width: 100%; /* Important for responsiveness */
      display: block;
    }

    .page-jj88bet__step-number {
      font-size: 1.8em;
      font-weight: bold;
      color: #007bff;
      margin-bottom: 10px;
    }

    .page-jj88bet__step-title {
      font-size: 1.3em;
      color: #1a2a6c;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-jj88bet__step-description {
      font-size: 0.95em;
      color: #666;
    }

    /* FAQ Section */
    .page-jj88bet__faq-container {
      margin-top: 30px;
    }

    .page-jj88bet__faq-item {
      background-color: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    }

    .page-jj88bet__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #f0f8ff; /* Light blue for question */
      cursor: pointer;
      user-select: none;
      font-weight: 600;
      color: #1a2a6c;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
    }

    .page-jj88bet__faq-question:hover {
      background-color: #e0f0ff;
    }
    
    .page-jj88bet__faq-question h3 {
        margin: 0;
        font-size: 1.1em; /* Ensure consistent font size */
        pointer-events: none; /* Prevent h3 from blocking click */
        flex-grow: 1;
        text-align: left;
        color: #1a2a6c;
    }

    .page-jj88bet__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      margin-left: 10px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-jj88bet__faq-item.active .page-jj88bet__faq-toggle {
      transform: rotate(45deg); /* Change + to X or a dash visually */
    }

    .page-jj88bet__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.3s ease;
      background-color: #ffffff;
      color: #555;
    }

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

    /* Floating Login Button */
    .page-jj88bet__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #ff4500; /* Orange-Red for urgency */
      color: #fff;
      padding: 15px 25px;
      border-radius: 50px;
      text-align: center;
      font-size: 1.1em;
      font-weight: bold;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      transition: background-color 0.3s ease, transform 0.2s ease;
      display: block; /* Ensure it's a block for full click area */
      text-decoration: none;
      line-height: 1.2;
      border: none;
      cursor: pointer;
    }

    .page-jj88bet__floating-button:hover {
      background-color: #e03e00;
      transform: translateY(-3px);
    }

    /* Image responsive styles */
    .page-jj88bet img {
        max-width: 100%;
        height: auto;
        display: block; /* Remove extra space below images */
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-jj88bet__hero-section {
        padding-top: 10px; /* Adjust padding-top for mobile fixed header */
        min-height: 300px;
      }

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

      .page-jj88bet__hero-subtitle {
        font-size: 1em;
      }

      .page-jj88bet__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-jj88bet__section {
        padding: 25px 15px;
        margin-top: 20px;
      }

      .page-jj88bet__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
      }

      .page-jj88bet__text-content p {
        font-size: 1em;
      }

      .page-jj88bet__game-grid,
      .page-jj88bet__promo-grid,
      .page-jj88bet__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

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

      .page-jj88bet__game-card-title {
        font-size: 1.2em;
      }

      .page-jj88bet__promo-title {
        font-size: 1.3em;
      }

      .page-jj88bet__step-title {
        font-size: 1.1em;
      }

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

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

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

      /* Force image responsive styles for mobile */
      .page-jj88bet img {
          max-width: 100% !important;
          height: auto !important;
      }
      .page-jj88bet__game-card-image-wrapper,
      .page-jj88bet__step-icon-wrapper {
          width: 100% !important;
          max-width: 100% !important;
          overflow: hidden !important;
          box-sizing: border-box !important;
      }
    }
  