
    /* Page-specific CSS for 8k8 agent */
    .page-8k8-agent {
      font-family: 'Arial', sans-serif;
      color: #e0e0e0;
      background-color: #1a1a2e; /* Dark background for online casino theme */
      line-height: 1.6;
      padding-bottom: 40px;
    }

    .page-8k8-agent__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .page-8k8-agent__hero-section {
      position: relative;
      overflow: hidden;
      padding: 10px 0 60px 0; /* Small top padding, assuming body handles header offset */
      background: linear-gradient(135deg, #2a0a5e, #0a0a2e);
      text-align: center;
      color: #ffffff;
      margin-bottom: 40px;
    }

    .page-8k8-agent__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      opacity: 0.2;
    }

    .page-8k8-agent__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    .page-8k8-agent__hero-title {
      font-size: 3.2em;
      margin-bottom: 20px;
      line-height: 1.2;
      color: #ffcc00; /* Gold/yellow for emphasis */
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-8k8-agent__hero-description {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: #ffffff;
    }

    .page-8k8-agent__cta-button {
      display: inline-block;
      background-color: #007bff; /* Blue for action */
      color: #ffffff;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
      border: none; /* Use button tag, so no default border */
      cursor: pointer;
    }

    .page-8k8-agent__cta-button:hover {
      background-color: #0056b3;
    }

    .page-8k8-agent__section {
      padding: 40px 0;
      margin-bottom: 30px;
      background-color: #242440;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .page-8k8-agent__section-title {
      font-size: 2.5em;
      color: #ffcc00;
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 15px;
      position: relative;
    }

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

    .page-8k8-agent__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      padding: 0 20px;
    }

    .page-8k8-agent__card {
      background-color: #2e2e50;
      border-radius: 10px;
      padding: 30px;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }

    .page-8k8-agent__card:hover {
      transform: translateY(-8px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .page-8k8-agent__image-container {
        width: 100%;
        max-width: 400px; /* Max width for images in cards */
        margin-bottom: 20px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-8k8-agent__card-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .page-8k8-agent__card-title {
      font-size: 1.8em;
      color: #ffcc00;
      margin-bottom: 15px;
    }

    .page-8k8-agent__card-description {
      font-size: 1em;
      color: #c0c0c0;
    }

    .page-8k8-agent__list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      padding: 0 20px;
    }

    .page-8k8-agent__list-item {
      background-color: #2e2e50;
      border-radius: 8px;
      padding: 25px;
      flex: 1;
      min-width: 280px;
      box-sizing: border-box; /* Crucial for responsive lists */
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }

    .page-8k8-agent__list-item:hover {
      transform: translateY(-5px);
    }

    .page-8k8-agent__list-item-title {
      font-size: 1.5em;
      color: #ffcc00;
      margin-bottom: 10px;
    }

    .page-8k8-agent__list-item-text {
      color: #c0c0c0;
      font-size: 1em;
    }

    /* FAQ Section Styles */
    .page-8k8-agent__faq-section {
        padding: 40px 0;
        margin-bottom: 30px;
        background-color: #242440;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .page-8k8-agent__faq-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .page-8k8-agent__faq-item {
        background-color: #2e2e50;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .page-8k8-agent__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        cursor: pointer;
        user-select: none;
        background-color: #3a3a60;
        color: #ffcc00;
        font-size: 1.2em;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .page-8k8-agent__faq-question:hover {
        background-color: #4a4a70;
    }

    .page-8k8-agent__faq-question h3 {
        margin: 0;
        color: inherit;
        pointer-events: none; /* Prevent h3 from blocking click on parent div */
        font-size: 1em; /* Adjust to fit parent */
    }

    .page-8k8-agent__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        margin-left: 15px;
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent toggle from blocking click on parent div */
    }

    .page-8k8-agent__faq-item.active .page-8k8-agent__faq-toggle {
        transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
    }

    .page-8k8-agent__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 25px; /* Initial padding */
        opacity: 0;
        color: #c0c0c0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    }

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

    .page-8k8-agent__cta-section {
      text-align: center;
      padding: 60px 20px;
      background: linear-gradient(45deg, #0a0a2e, #2a0a5e);
      color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      margin-top: 40px;
    }

    .page-8k8-agent__cta-title {
      font-size: 2.8em;
      color: #ffcc00;
      margin-bottom: 20px;
    }

    .page-8k8-agent__cta-description {
      font-size: 1.3em;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-8k8-agent__hero-title {
        font-size: 2.8em;
      }
      .page-8k8-agent__section-title {
        font-size: 2em;
      }
      .page-8k8-agent__cta-title {
        font-size: 2.2em;
      }
    }

    @media (max-width: 768px) {
      .page-8k8-agent__hero-section {
        padding-bottom: 40px;
      }
      .page-8k8-agent__hero-title {
        font-size: 2.2em;
      }
      .page-8k8-agent__hero-description {
        font-size: 1.1em;
      }
      .page-8k8-agent__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-8k8-agent__section {
        padding: 30px 0;
      }
      .page-8k8-agent__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
      }
      .page-8k8-agent__grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
      }
      .page-8k8-agent__card {
        padding: 25px;
      }
      .page-8k8-agent__card-title {
        font-size: 1.6em;
      }
      .page-8k8-agent__list {
        flex-direction: column;
        padding: 0 15px;
      }
      .page-8k8-agent__list-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      .page-8k8-agent__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
      }
      .page-8k8-agent__faq-answer {
        padding: 0 20px;
      }
      .page-8k8-agent__faq-item.active .page-8k8-agent__faq-answer {
        padding: 15px 20px !important;
      }
      .page-8k8-agent__cta-section {
        padding: 40px 15px;
      }
      .page-8k8-agent__cta-title {
        font-size: 1.8em;
      }
      .page-8k8-agent__cta-description {
        font-size: 1em;
      }
      /* Image responsiveness */
      .page-8k8-agent__card-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-8k8-agent__image-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-8k8-agent__hero-title {
        font-size: 1.8em;
      }
      .page-8k8-agent__section-title {
        font-size: 1.5em;
      }
      .page-8k8-agent__card-title {
        font-size: 1.4em;
      }
      .page-8k8-agent__faq-question {
        font-size: 1em;
        padding: 12px 15px;
      }
      .page-8k8-agent__faq-answer {
        padding: 0 15px;
      }
      .page-8k8-agent__faq-item.active .page-8k8-agent__faq-answer {
        padding: 10px 15px !important;
      }
    }
  