
    .page-af88-com {
        font-family: 'Arial', sans-serif;
        color: #e0e0e0; /* Light grey text for contrast */
        background-color: #1a1a1a; /* Dark background */
        line-height: 1.6;
    }

    /* Section styling */
    .page-af88-com__section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .page-af88-com__section-title {
        font-size: 2.5em;
        color: #ffd700; /* Gold accent for titles */
        margin-bottom: 20px;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .page-af88-com__section-subtitle {
        font-size: 1.2em;
        color: #cccccc;
        margin-bottom: 40px;
    }

    /* Hero Section */
    .page-af88-com__hero-section {
        position: relative;
        height: 600px; /* Adjust as needed */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #ffffff;
        overflow: hidden;
        padding-top: 10px; /* Small decorative padding, assuming body padding-top handles header offset */
        background-image: url('[GALLERY:hero:1920x1080:af88,casino,betting,hero]');
        background-size: cover;
        background-position: center;
    }

    .page-af88-com__hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
        z-index: 1;
    }

    .page-af88-com__hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        padding: 20px;
    }

    .page-af88-com__hero-title {
        font-size: 3.5em;
        margin-bottom: 20px;
        color: #ffd700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .page-af88-com__hero-description {
        font-size: 1.3em;
        margin-bottom: 30px;
        color: #f0f0f0;
    }

    .page-af88-com__hero-actions {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .page-af88-com__btn {
        display: inline-block;
        padding: 15px 30px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.1em;
        transition: background-color 0.3s ease, transform 0.2s ease;
        cursor: pointer;
        border: none;
    }

    .page-af88-com__btn--primary {
        background-color: #ffd700; /* Gold */
        color: #1a1a1a;
    }

    .page-af88-com__btn--primary:hover {
        background-color: #ffc107;
        transform: translateY(-2px);
    }

    .page-af88-com__btn--secondary {
        background-color: #333;
        color: #ffd700;
        border: 2px solid #ffd700;
    }

    .page-af88-com__btn--secondary:hover {
        background-color: #444;
        transform: translateY(-2px);
    }

    .page-af88-com__btn--small {
        padding: 10px 20px;
        font-size: 0.9em;
        border-radius: 5px;
    }

    /* About Section */
    .page-af88-com__about-content {
        display: flex;
        align-items: center;
        gap: 40px;
        text-align: left;
        margin-top: 40px;
    }

    .page-af88-com__about-text {
        flex: 1;
        font-size: 1.1em;
        color: #e0e0e0;
    }

    .page-af88-com__about-text p {
        margin-bottom: 15px;
    }

    .page-af88-com__about-image-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-af88-com__about-image {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

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

    .page-af88-com__product-item {
        background-color: #2a2a2a;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        padding-bottom: 20px;
    }

    .page-af88-com__product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    }

    .page-af88-com__product-image {
        width: 100%;
        height: 200px; /* Fixed height for product images */
        object-fit: cover;
        margin-bottom: 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-af88-com__product-title {
        font-size: 1.5em;
        color: #ffd700;
        margin-bottom: 10px;
        padding: 0 15px;
    }

    .page-af88-com__product-description {
        font-size: 0.95em;
        color: #cccccc;
        padding: 0 15px;
    }

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

    .page-af88-com__promo-card {
        background-color: #2a2a2a;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        padding-bottom: 20px;
    }

    .page-af88-com__promo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    }

    .page-af88-com__promo-image {
        width: 100%;
        height: 220px; /* Fixed height for promo images */
        object-fit: cover;
        margin-bottom: 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-af88-com__promo-title {
        font-size: 1.4em;
        color: #ffd700;
        margin-bottom: 10px;
        padding: 0 15px;
    }

    .page-af88-com__promo-description {
        font-size: 0.9em;
        color: #cccccc;
        padding: 0 15px 20px;
    }

    /* Partners & Payment Section */
    .page-af88-com__subsection {
        margin-top: 50px;
        text-align: center;
    }

    .page-af88-com__subsection:first-of-type {
        margin-top: 0;
    }

    .page-af88-com__subsection-title {
        font-size: 2em;
        color: #ffd700;
        margin-bottom: 20px;
    }

    .page-af88-com__subsection-description {
        font-size: 1.1em;
        color: #cccccc;
        margin-bottom: 30px;
    }

    .page-af88-com__logo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjusted for more items */
        gap: 20px;
        justify-items: center;
        align-items: center;
    }

    .page-af88-com__logo-item {
        background-color: #2a2a2a;
        border-radius: 8px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(0,0,0,0.3);
        width: 100%; /* Ensure it takes full grid column width */
        max-width: 250px; /* Max width for individual logo item */
        box-sizing: border-box;
    }

    .page-af88-com__logo-image {
        max-width: 100%;
        height: auto;
        max-height: 80px; /* Constrain logo image height */
        object-fit: contain;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    .page-af88-com__logo-name {
        font-size: 0.9em;
        color: #f0f0f0;
        font-weight: bold;
    }

    /* FAQ Section */
    .page-af88-com__faq-container {
        margin-top: 40px;
        text-align: left;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-af88-com__faq-item {
        background-color: #2a2a2a;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .page-af88-com__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        cursor: pointer;
        background-color: #333;
        color: #ffd700;
        font-weight: bold;
        font-size: 1.1em;
        user-select: none;
        transition: background-color 0.3s ease;
    }

    .page-af88-com__faq-question:hover {
        background-color: #444;
    }

    .page-af88-com__faq-question-text {
        margin: 0;
        font-size: 1.1em;
        pointer-events: none; /* Prevent text from blocking click event */
        color: #ffd700;
    }

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

    .page-af88-com__faq-item.active .page-af88-com__faq-toggle {
        transform: rotate(45deg); /* Change '+' to 'x' or 'rotate' */
    }

    .page-af88-com__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        background-color: #2a2a2a;
        color: #e0e0e0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        opacity: 0;
        box-sizing: border-box;
    }

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

    .page-af88-com__faq-answer p {
        margin: 0 0 10px 0;
    }

    .page-af88-com__faq-answer p:last-child {
        margin-bottom: 0;
    }

    /* Floating Buttons */
    .page-af88-com__floating-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }

    .page-af88-com__register-float-btn,
    .page-af88-com__login-float-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 50px; /* Pill shape */
        font-weight: bold;
        font-size: 1em;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        border: none;
        cursor: pointer;
    }

    .page-af88-com__register-float-btn {
        background-color: #ffd700; /* Gold */
        color: #1a1a1a;
    }

    .page-af88-com__register-float-btn:hover {
        background-color: #ffc107;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    }

    .page-af88-com__login-float-btn {
        background-color: #333;
        color: #ffd700;
        border: 2px solid #ffd700;
    }

    .page-af88-com__login-float-btn:hover {
        background-color: #444;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .page-af88-com__hero-title {
            font-size: 3em;
        }
        .page-af88-com__hero-description {
            font-size: 1.2em;
        }
        .page-af88-com__section-title {
            font-size: 2em;
        }
        .page-af88-com__about-content {
            flex-direction: column;
            text-align: center;
        }
        .page-af88-com__about-image {
            max-width: 80%;
        }
    }

    @media (max-width: 768px) {
        .page-af88-com__section {
            padding: 40px 15px;
        }
        .page-af88-com__hero-section {
            height: 450px;
        }
        .page-af88-com__hero-title {
            font-size: 2.2em;
        }
        .page-af88-com__hero-description {
            font-size: 1em;
        }
        .page-af88-com__hero-actions {
            flex-direction: column;
            gap: 15px;
        }
        .page-af88-com__btn {
            width: 80%;
            max-width: 300px;
            margin: 0 auto;
        }
        .page-af88-com__section-title {
            font-size: 1.8em;
        }
        .page-af88-com__section-subtitle {
            font-size: 1em;
        }

        /* Image responsiveness for mobile */
        .page-af88-com__about-image-wrapper,
        .page-af88-com__product-image,
        .page-af88-com__promo-image,
        .page-af88-com__logo-image {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important; /* Ensure images scale correctly */
            box-sizing: border-box !important;
        }
        .page-af88-com__product-image, .page-af88-com__promo-image {
            height: 180px !important; /* Adjust fixed height for mobile */
        }
        .page-af88-com__logo-image {
            max-height: 60px !important; /* Adjust max height for mobile logos */
        }

        /* List item responsiveness for mobile */
        .page-af88-com__product-grid,
        .page-af88-com__promo-grid,
        .page-af88-com__logo-grid {
            grid-template-columns: 1fr !important; /* Single column layout */
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .page-af88-com__product-item,
        .page-af88-com__promo-card,
        .page-af88-com__logo-item {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            box-sizing: border-box !important;
            padding: 15px 10px !important; /* Adjust padding for smaller screens */
        }

        .page-af88-com__product-description,
        .page-af88-com__promo-description {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }

        .page-af88-com__faq-container {
            padding: 0 10px;
        }
        .page-af88-com__faq-question {
            font-size: 1em;
            padding: 15px;
        }
        .page-af88-com__faq-question-text {
            font-size: 1em;
        }
        .page-af88-com__faq-answer {
            padding: 15px 15px !important;
        }

        .page-af88-com__floating-buttons {
            bottom: 15px;
            right: 15px;
            gap: 8px;
        }
        .page-af88-com__register-float-btn,
        .page-af88-com__login-float-btn {
            padding: 10px 15px;
            font-size: 0.9em;
        }
    }

    @media (max-width: 480px) {
        .page-af88-com__hero-title {
            font-size: 1.8em;
        }
        .page-af88-com__hero-description {
            font-size: 0.9em;
        }
        .page-af88-com__btn {
            padding: 12px 25px;
            font-size: 1em;
        }
        .page-af88-com__section-title {
            font-size: 1.6em;
        }
        .page-af88-com__subsection-title {
            font-size: 1.5em;
        }
        .page-af88-com__product-title,
        .page-af88-com__promo-title {
            font-size: 1.2em;
        }
        .page-af88-com__product-image, .page-af88-com__promo-image {
            height: 150px !important;
        }
    }
  