
    /* Global styles for the page-8k8-casino scope */
    .page-8k8-casino {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f9fa;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

    .page-8k8-casino__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      box-sizing: border-box;
    }

    .page-8k8-casino__section {
      padding: 40px 0;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .page-8k8-casino__section--dark {
      background-color: #2c3e50;
      color: #ecf0f1;
    }

    .page-8k8-casino__title {
      text-align: center;
      color: #2c3e50;
      margin-bottom: 30px;
      font-size: 2.5em;
      font-weight: bold;
    }

    .page-8k8-casino__title--light {
      color: #ecf0f1;
    }

    .page-8k8-casino__subtitle {
      text-align: center;
      color: #555;
      margin-bottom: 40px;
      font-size: 1.2em;
    }

    .page-8k8-casino__subtitle--light {
      color: #bdc3c7;
    }

    /* Hero Section */
    .page-8k8-casino__hero-section {
      position: relative;
      background-size: cover;
      background-position: center;
      color: #fff;
      text-align: center;
      padding: 10px 20px 80px 20px; /* Small top padding, main offset handled by body */
      border-radius: 0;
      box-shadow: none;
      min-height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .page-8k8-casino__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }

    .page-8k8-casino__hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
    }

    .page-8k8-casino__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      line-height: 1.2;
      color: #f1c40f; /* Gold/Yellow for prominence */
    }

    .page-8k8-casino__hero-description {
      font-size: 1.4em;
      margin-bottom: 30px;
      color: #ecf0f1;
    }

    .page-8k8-casino__button {
      display: inline-block;
      background-color: #f1c40f; /* Gold/Yellow */
      color: #2c3e50; /* Dark text for contrast */
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-8k8-casino__button:hover {
      background-color: #e6b800; /* Slightly darker gold */
      transform: translateY(-2px);
    }

    .page-8k8-casino__button--secondary {
      background-color: #3498db;
      color: #fff;
      margin-left: 15px;
    }

    .page-8k8-casino__button--secondary:hover {
      background-color: #2980b9;
    }

    /* Floating Buttons (Register/Login) */
    .page-8k8-casino__floating-buttons-wrapper {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .page-8k8-casino__floating-button {
      display: block;
      background-color: #f1c40f;
      color: #2c3e50;
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: background-color 0.3s ease, transform 0.3s ease;
      min-width: 120px; /* Ensure buttons are not too small */
    }

    .page-8k8-casino__floating-button:hover {
      background-color: #e6b800;
      transform: translateY(-2px);
    }

    .page-8k8-casino__floating-button--login {
      background-color: #3498db;
      color: #fff;
    }

    .page-8k8-casino__floating-button--login:hover {
      background-color: #2980b9;
    }

    /* Grid Layout for Games/Promotions/Providers */
    .page-8k8-casino__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-8k8-casino__grid-item {
      background-color: #fefefe;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%; /* Ensure equal height */
    }

    .page-8k8-casino__grid-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }

    .page-8k8-casino__grid-item-image-wrapper {
        width: 100%;
        height: 200px; /* Fixed height for consistency */
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #eee; /* Placeholder background */
    }

    .page-8k8-casino__grid-item-image {
      max-width: 100%;
      height: auto;
      display: block;
      object-fit: cover; /* Ensures image covers the area without distortion */
      min-height: 200px; /* Enforce min height for images */
      min-width: 200px; /* Enforce min width for images */
    }

    .page-8k8-casino__grid-item-content {
      padding: 20px;
      flex-grow: 1; /* Allows content to expand */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-8k8-casino__grid-item-title {
      font-size: 1.4em;
      color: #2c3e50;
      margin-bottom: 10px;
      word-break: break-word; /* Ensure long titles wrap */
    }

    .page-8k8-casino__grid-item-description {
      font-size: 0.95em;
      color: #666;
      margin-bottom: 15px;
      flex-grow: 1;
    }

    /* Payment Methods / Game Providers list */
    .page-8k8-casino__list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      list-style: none;
      padding: 0;
      margin: 30px 0 0 0;
    }

    .page-8k8-casino__list-item {
      background-color: #fefefe;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 15px 20px;
      text-align: center;
      font-weight: bold;
      color: #2c3e50;
      transition: transform 0.2s ease;
      width: 180px; /* Fixed width for better alignment */
      box-sizing: border-box; /* Crucial for list item width */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 120px; /* Ensure minimum height for visual consistency */
    }

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

    .page-8k8-casino__list-item-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
        min-width: 200px; /* Enforce min width for images */
        min-height: 200px; /* Enforce min height for images */
        object-fit: contain; /* Ensures image fits within the container without cropping */
    }

    /* FAQ Section */
    .page-8k8-casino__faq-section {
      padding: 40px 0;
      margin-bottom: 20px;
      background-color: #fefefe;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .page-8k8-casino__faq-list {
      max-width: 900px;
      margin: 0 auto;
    }

    .page-8k8-casino__faq-item {
      border-bottom: 1px solid #eee;
      margin-bottom: 10px;
    }

    .page-8k8-casino__faq-item:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }

    .page-8k8-casino__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #f9f9f9;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    .page-8k8-casino__faq-question:hover {
      background-color: #f0f0f0;
    }

    .page-8k8-casino__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: #2c3e50;
      pointer-events: none; /* Prevent h3 from blocking click */
      flex-grow: 1;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-8k8-casino__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #f1c40f;
      margin-left: 15px;
      pointer-events: none; /* Prevent toggle from blocking click */
      transition: transform 0.3s ease;
    }

    .page-8k8-casino__faq-item.active .page-8k8-casino__faq-toggle {
      transform: rotate(45deg);
      color: #3498db;
    }

    .page-8k8-casino__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.4s ease;
      color: #555;
      font-size: 0.95em;
      background-color: #ffffff;
      border-radius: 0 0 5px 5px;
    }

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

    /* Responsive Design */
    @media (max-width: 992px) {
      .page-8k8-casino__hero-title {
        font-size: 3em;
      }
      .page-8k8-casino__hero-description {
        font-size: 1.2em;
      }
      .page-8k8-casino__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
    }

    @media (max-width: 768px) {
      .page-8k8-casino__container {
        padding: 15px;
      }
      .page-8k8-casino__hero-section {
        min-height: 400px;
        padding-top: 10px; /* Ensure small top padding, main offset by body */
        padding-bottom: 60px;
      }
      .page-8k8-casino__hero-title {
        font-size: 2.5em;
      }
      .page-8k8-casino__hero-description {
        font-size: 1em;
      }
      .page-8k8-casino__button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-8k8-casino__button--secondary {
        margin-left: 0;
        margin-top: 10px;
      }
      .page-8k8-casino__floating-buttons-wrapper {
        flex-direction: row; /* Buttons side-by-side on mobile */
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        justify-content: space-around;
        gap: 5px;
      }
      .page-8k8-casino__floating-button {
        flex: 1; /* Distribute space evenly */
        min-width: unset;
        font-size: 0.9em;
        padding: 10px 15px;
      }
      .page-8k8-casino__grid {
        grid-template-columns: 1fr;
      }
      .page-8k8-casino__grid-item-image-wrapper {
        height: 180px;
      }
      .page-8k8-casino__list {
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }
      .page-8k8-casino__list-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }
      .page-8k8-casino__list-item-image {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }
      .page-8k8-casino__section {
        padding: 30px 0;
      }
      .page-8k8-casino__title {
        font-size: 2em;
        margin-bottom: 20px;
      }
      .page-8k8-casino__subtitle {
        font-size: 1em;
        margin-bottom: 30px;
      }
      .page-8k8-casino__faq-question {
        padding: 12px 15px;
      }
      .page-8k8-casino__faq-question h3 {
        font-size: 1em;
      }
      .page-8k8-casino__faq-answer {
        padding: 15px 15px !important; /* Adjust padding for mobile */
      }
      .page-8k8-casino img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-8k8-casino__grid-item-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-8k8-casino__hero-title {
        font-size: 2em;
      }
      .page-8k8-casino__hero-description {
        font-size: 0.9em;
      }
      .page-8k8-casino__floating-buttons-wrapper {
        bottom: 15px;
        left: 15px;
        right: 15px;
      }
      .page-8k8-casino__floating-button {
        padding: 8px 10px;
        font-size: 0.85em;
      }
    }
  