
    /* Base styles for the page-lucky8casino scope */
    .page-lucky8casino {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f4f7f6; /* Light background for contrast */
    }

    /* Section styles */
    .page-lucky8casino__hero-section,
    .page-lucky8casino__about-section,
    .page-lucky8casino__games-section,
    .page-lucky8casino__promotions-section,
    .page-lucky8casino__how-to-section,
    .page-lucky8casino__mobile-app-section,
    .page-lucky8casino__faq-section,
    .page-lucky8casino__cta-section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Specific padding for hero section to clear fixed header */
    .page-lucky8casino__hero-section {
      padding-top: 70px; /* Adjust as needed for header height */
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* Gradient background for hero */
      color: #fff;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      min-height: 400px; /* Ensure sufficient height */
    }

    .page-lucky8casino__hero-image-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      overflow: hidden;
    }

    .page-lucky8casino__hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3; /* Make it a background image */
      max-width: 100% !important; /* Mobile image responsiveness */
      box-sizing: border-box !important; /* Mobile image responsiveness */
    }

    .page-lucky8casino__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
    }

    .page-lucky8casino__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      color: #fff;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
      line-height: 1.2;
    }

    .page-lucky8casino__hero-description {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: #eee;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }

    .page-lucky8casino__hero-button,
    .page-lucky8casino__main-button {
      display: inline-block;
      background-color: #ffcc00; /* Bright yellow for CTA */
      color: #333;
      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;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .page-lucky8casino__hero-button:hover,
    .page-lucky8casino__main-button:hover {
      background-color: #e6b800;
      transform: translateY(-2px);
    }

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

    .page-lucky8casino__section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background-color: #fdbb2d; /* Yellow underline */
      margin: 10px auto 0;
      border-radius: 2px;
    }

    .page-lucky8casino__section-subtitle {
      text-align: center;
      font-size: 1.1em;
      color: #555;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    /* About Section */
    .page-lucky8casino__content-wrapper {
      display: flex;
      align-items: center;
      gap: 40px;
      margin-top: 30px;
    }

    .page-lucky8casino__content-wrapper--reversed {
      flex-direction: row-reverse;
    }

    .page-lucky8casino__about-image,
    .page-lucky8casino__mobile-app-image {
      flex: 1;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      max-width: 100% !important; /* Mobile image responsiveness */
      height: auto;
      box-sizing: border-box !important; /* Mobile image responsiveness */
    }

    .page-lucky8casino__about-text,
    .page-lucky8casino__mobile-app-text {
      flex: 1;
    }

    .page-lucky8casino__about-text p,
    .page-lucky8casino__mobile-app-text p {
      margin-bottom: 15px;
      font-size: 1.05em;
    }

    /* Game Grid */
    .page-lucky8casino__games-section {
      background-color: #fff;
    }

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

    .page-lucky8casino__game-card,
    .page-lucky8casino__promo-card,
    .page-lucky8casino__step-card {
      background-color: #fff;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      padding-bottom: 20px;
      box-sizing: border-box; /* Crucial for list items */
    }

    .page-lucky8casino__game-card:hover,
    .page-lucky8casino__promo-card:hover,
    .page-lucky8casino__step-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .page-lucky8casino__game-image,
    .page-lucky8casino__promo-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      margin-bottom: 15px;
      max-width: 100% !important; /* Mobile image responsiveness */
      box-sizing: border-box !important; /* Mobile image responsiveness */
    }

    .page-lucky8casino__game-title,
    .page-lucky8casino__promo-title {
      font-size: 1.4em;
      color: #1a2a6c;
      margin: 0 15px 10px;
    }

    .page-lucky8casino__game-description,
    .page-lucky8casino__promo-description {
      font-size: 0.95em;
      color: #666;
      padding: 0 15px;
    }

    /* How-To Section */
    .page-lucky8casino__step-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 30px 20px;
    }

    .page-lucky8casino__step-number {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      background-color: #fdbb2d;
      color: #1a2a6c;
      border-radius: 50%;
      font-size: 2em;
      font-weight: bold;
      margin-bottom: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

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

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

    /* Call to action center */
    .page-lucky8casino__action-center {
      text-align: center;
      margin-top: 50px;
    }

    .page-lucky8casino__main-button--large {
      padding: 18px 40px;
      font-size: 1.2em;
    }

    /* Floating button */
    .page-lucky8casino__floating-button-wrapper {
      position: fixed;
      bottom: 20px;
      left: 0;
      width: 100%;
      z-index: 1000;
      display: flex;
      justify-content: center;
      pointer-events: none; /* Allow clicks to pass through wrapper */
    }

    .page-lucky8casino__floating-button {
      pointer-events: auto; /* Re-enable clicks for the button itself */
      background-color: #e74c3c; /* Red for urgency */
      color: #fff;
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      animation: pulse 2s infinite;
      transition: background-color 0.3s ease;
    }

    .page-lucky8casino__floating-button:hover {
      background-color: #c0392b;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    /* FAQ Section */
    .page-lucky8casino__faq-section {
      background-color: #fff;
    }

    .page-lucky8casino__faq-container {
      max-width: 800px;
      margin: 40px auto 0;
    }

    .page-lucky8casino__faq-item {
      background-color: #f9f9f9;
      border: 1px solid #ddd;
      border-radius: 10px;
      margin-bottom: 15px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .page-lucky8casino__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: #eef;
      color: #1a2a6c;
      font-weight: bold;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-lucky8casino__faq-question:hover {
      background-color: #e0e0f0;
    }

    .page-lucky8casino__faq-question-title {
      margin: 0;
      font-size: 1.1em;
      pointer-events: none; /* Prevent h3 from blocking click event */
      color: #1a2a6c; /* Ensure contrast */
    }

    .page-lucky8casino__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
      color: #1a2a6c; /* Ensure contrast */
    }

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

    .page-lucky8casino__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Initial padding 0 */
      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;
      background-color: #fdfdfd;
    }

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

    .page-lucky8casino__faq-answer p {
      margin: 0;
      font-size: 1em;
    }

    /* Keywords highlight */
    .page-lucky8casino__keyword {
      color: #e74c3c; /* Red for emphasis */
      font-weight: bold;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .page-lucky8casino__hero-section {
        padding-top: 60px; /* Adjust for mobile header */
        min-height: 350px;
      }

      .page-lucky8casino__hero-title {
        font-size: 2em;
      }

      .page-lucky8casino__hero-description {
        font-size: 1em;
      }

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

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

      .page-lucky8casino__section-subtitle {
        font-size: 0.95em;
        margin-bottom: 30px;
      }

      .page-lucky8casino__content-wrapper,
      .page-lucky8casino__content-wrapper--reversed {
        flex-direction: column;
        gap: 30px;
      }

      .page-lucky8casino__about-image,
      .page-lucky8casino__mobile-app-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        box-sizing: border-box !important;
        padding: 0; /* Ensure no extra padding */
        margin: 0; /* Ensure no extra margin */
      }

      .page-lucky8casino__game-grid,
      .page-lucky8casino__promo-grid,
      .page-lucky8casino__steps-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
      }

      /* List item specific responsiveness */
      .page-lucky8casino__game-card,
      .page-lucky8casino__promo-card,
      .page-lucky8casino__step-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px; /* Adjust padding to prevent content from touching edges */
        padding-right: 15px; /* Adjust padding to prevent content from touching edges */
      }

      .page-lucky8casino__game-description,
      .page-lucky8casino__promo-description,
      .page-lucky8casino__step-description {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        font-size: 0.9em;
      }

      .page-lucky8casino__floating-button {
        font-size: 0.9em;
        padding: 10px 20px;
      }

      .page-lucky8casino__faq-question {
        padding: 12px 15px;
      }

      .page-lucky8casino__faq-question-title {
        font-size: 1em;
      }

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

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

    @media (max-width: 480px) {
      .page-lucky8casino__hero-title {
        font-size: 1.8em;
      }
      .page-lucky8casino__hero-description {
        font-size: 0.9em;
      }
      .page-lucky8casino__section-title {
        font-size: 1.6em;
      }
      .page-lucky8casino__section-subtitle {
        font-size: 0.85em;
      }
      .page-lucky8casino__floating-button {
        font-size: 0.8em;
        padding: 8px 15px;
      }
    }
  