
    /* General styles for the page-8k8-casino */
    .page-8k8-casino {
        font-family: 'Arial', sans-serif;
        color: #e0e0e0; /* Light gray text for contrast */
        background-color: #1a1a2e; /* Dark background */
        line-height: 1.6;
        padding-bottom: 40px; /* Add some padding at the bottom before footer */
    }

    /* Section base styles */
    .page-8k8-casino__section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .page-8k8-casino__section-title {
        font-size: 2.5em;
        color: #e94560; /* Accent color */
        margin-bottom: 30px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .page-8k8-casino__section-subtitle {
        font-size: 1.2em;
        color: #c0c0c0;
        margin-bottom: 40px;
    }

    /* Buttons */
    .page-8k8-casino__button {
        display: inline-block;
        background-color: #e94560; /* Accent color */
        color: #ffffff;
        padding: 15px 30px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1em;
    }

    .page-8k8-casino__button:hover {
        background-color: #d13a52;
    }

    /* Hero Section */
    .page-8k8-casino__hero-section {
        position: relative;
        padding-top: 10px; /* Small padding-top as body handles header offset */
        padding-bottom: 60px;
        color: #ffffff;
        text-align: center;
        overflow: hidden;
        background-color: #0f0f1c; /* Slightly darker for hero */
    }

    .page-8k8-casino__hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.3; /* Make background image subtle */
    }

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

    .page-8k8-casino__hero-title {
        font-size: 3.5em;
        margin-bottom: 20px;
        line-height: 1.2;
        color: #e94560; /* Accent color for title */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-8k8-casino__hero-subtitle {
        font-size: 1.5em;
        margin-bottom: 30px;
        color: #f0f0f0;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    /* About Section */
    .page-8k8-casino__about-section {
        background-color: #22223a; /* Different shade */
    }

    .page-8k8-casino__about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .page-8k8-casino__about-text {
        max-width: 800px;
        margin: 0 auto;
        text-align: left;
        font-size: 1.1em;
    }

    .page-8k8-casino__about-image-wrapper {
        width: 100%;
        max-width: 600px;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    .page-8k8-casino__about-image {
        width: 100%;
        height: auto;
        display: block;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Games Section */
    .page-8k8-casino__games-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-8k8-casino__game-card {
        background-color: #2a2a47;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-8k8-casino__game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .page-8k8-casino__game-image-wrapper {
        width: 100%;
        height: 200px; /* Fixed height for consistency */
        overflow: hidden;
    }

    .page-8k8-casino__game-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-8k8-casino__game-content {
        padding: 20px;
    }

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

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

    /* Promotions Section */
    .page-8k8-casino__promotions-section {
        background-color: #1a1a2e;
    }

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

    .page-8k8-casino__promotion-item {
        background-color: #2a2a47;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        padding: 30px;
        max-width: 450px;
        text-align: left;
        transition: transform 0.3s ease;
        flex: 1 1 300px; /* Responsive sizing */
        box-sizing: border-box; /* Crucial for list items */
        word-wrap: break-word; /* Ensure text wraps */
        overflow-wrap: break-word;
    }

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

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

    .page-8k8-casino__promotion-description {
        color: #c0c0c0;
        margin-bottom: 20px;
    }

    /* Why Choose Section */
    .page-8k8-casino__why-choose-section {
        background-color: #22223a;
    }

    .page-8k8-casino__features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-8k8-casino__feature-card {
        background-color: #2a2a47;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        padding: 30px;
        text-align: center;
    }

    .page-8k8-casino__feature-icon-wrapper {
        margin-bottom: 15px;
        height: 100px; /* Ensure icon wrapper has space */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-8k8-casino__feature-icon {
        width: 80%; /* Make icon responsive within its wrapper */
        height: auto;
        max-width: 250px; /* Max size for feature icons */
        max-height: 250px;
        display: block;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .page-8k8-casino__feature-title {
        font-size: 1.4em;
        color: #e94560;
        margin-bottom: 10px;
    }

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

    /* FAQ Section */
    .page-8k8-casino__faq-section {
        background-color: #1a1a2e;
    }

    .page-8k8-casino__faq-container {
        max-width: 800px;
        margin: 40px auto 0 auto;
        text-align: left;
    }

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

    .page-8k8-casino__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #333355;
        color: #ffffff;
        cursor: pointer;
        user-select: none;
        font-size: 1.1em;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

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

    .page-8k8-casino__faq-question h3 {
        margin: 0;
        font-size: 1.1em;
        color: #ffffff; /* Ensure h3 color is white */
        pointer-events: none; /* Prevent h3 from blocking click */
    }

    .page-8k8-casino__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-8k8-casino__faq-item.active .page-8k8-casino__faq-toggle {
        transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
    }

    .page-8k8-casino__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.4s ease;
        color: #c0c0c0;
        font-size: 0.95em;
    }

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

    /* Call to Action Section */
    .page-8k8-casino__cta-section {
        padding: 60px 20px;
        background-color: #e94560; /* Accent color for CTA */
        color: #ffffff;
    }

    .page-8k8-casino__cta-title {
        font-size: 2.2em;
        margin-bottom: 20px;
        color: #ffffff;
    }

    .page-8k8-casino__cta-description {
        font-size: 1.2em;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-8k8-casino__cta-button {
        background-color: #0f0f1c; /* Dark button on accent background */
        color: #ffffff;
        padding: 18px 40px;
        font-size: 1.1em;
        border-radius: 10px;
    }

    .page-8k8-casino__cta-button:hover {
        background-color: #22223a;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .page-8k8-casino__hero-title {
            font-size: 2.5em;
        }

        .page-8k8-casino__hero-subtitle {
            font-size: 1.2em;
        }

        .page-8k8-casino__section-title {
            font-size: 2em;
        }

        .page-8k8-casino__section {
            padding: 30px 15px;
        }

        /* List item responsive styles */
        .page-8k8-casino__promotion-list {
            flex-direction: column; /* Stack items vertically */
            gap: 20px;
        }

        .page-8k8-casino__promotion-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 20px !important; /* Adjust padding for smaller screens */
            margin-left: 0 !important;
            margin-right: 0 !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }
        .page-8k8-casino__games-grid,
        .page-8k8-casino__features-grid {
            grid-template-columns: 1fr; /* Single column layout */
            gap: 20px;
        }

        .page-8k8-casino__game-card,
        .page-8k8-casino__feature-card {
            margin: 0 auto; /* Center cards */
            width: 100%;
            max-width: 400px; /* Limit width for small screens */
        }

        .page-8k8-casino__faq-question {
            padding: 12px 15px;
            font-size: 1em;
        }

        .page-8k8-casino__faq-question h3 {
            font-size: 1em;
        }

        .page-8k8-casino__faq-answer {
            padding: 15px !important;
        }

        .page-8k8-casino__cta-title {
            font-size: 1.8em;
        }

        .page-8k8-casino__cta-description {
            font-size: 1em;
        }

        .page-8k8-casino__cta-button {
            padding: 15px 30px;
            font-size: 1em;
        }

        /* Image responsive styles */
        .page-8k8-casino__hero-background,
        .page-8k8-casino__about-image,
        .page-8k8-casino__game-image,
        .page-8k8-casino__feature-icon {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }

        .page-8k8-casino__about-image-wrapper,
        .page-8k8-casino__game-image-wrapper,
        .page-8k8-casino__feature-icon-wrapper {
            width: 100% !important;
            max-width: 100% !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }
    }
  