
    .page-af88-game {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f6;
    padding-top: 10px; /* As per fixed navbar offset requirement, a small decorative padding */
}

.page-af88-game__section-title {
    font-size: 2.5em;
    color: #004d40; /* Dark teal */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-af88-game__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-af88-game__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-af88-game__button--primary {
    background-color: #007bff; /* Bright blue */
    color: #fff;
    border: 2px solid #007bff;
}

.page-af88-game__button--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-af88-game__button--secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    margin-left: 20px;
}

.page-af88-game__button--secondary:hover {
    background-color: #e6f2ff;
    color: #0056b3;
    transform: translateY(-2px);
}

/* Hero Section */
.page-af88-game__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f2f1 0%, #bbdefb 100%); /* Light background for contrast */
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 40px;
}

.page-af88-game__hero-content {
    text-align: center;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-af88-game__hero-title {
    font-size: 3.5em;
    color: #004d40;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

.page-af88-game__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Added gap for spacing */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-af88-game__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.page-af88-game__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* Introduction Section */
.page-af88-game__introduction-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-af88-game__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-af88-game__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-af88-game__feature-item:hover {
    transform: translateY(-10px);
}

.page-af88-game__feature-icon {
    width: 250px; /* Min size 200x200 */
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    border-radius: 10px;
    box-sizing: border-box;
}

.page-af88-game__feature-title {
    font-size: 1.8em;
    color: #004d40;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-af88-game__feature-text {
    font-size: 1em;
    color: #666;
}

/* Games Section */
.page-af88-game__games-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #e0f7fa; /* Light cyan background */
    border-radius: 20px;
    margin-top: 40px;
}

.page-af88-game__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-af88-game__game-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-af88-game__game-card:hover {
    transform: translateY(-10px);
}

.page-af88-game__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    max-width: 100%;
    box-sizing: border-box;
}

.page-af88-game__game-title {
    font-size: 1.5em;
    color: #004d40;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-af88-game__game-text {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
}

/* Promotions Section */
.page-af88-game__promotions-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-af88-game__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-af88-game__promotion-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-af88-game__promotion-card:hover {
    transform: translateY(-10px);
}

.page-af88-game__promotion-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    max-width: 100%;
    box-sizing: border-box;
}

.page-af88-game__promotion-title {
    font-size: 1.6em;
    color: #004d40;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-af88-game__promotion-text {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
}

.page-af88-game__cta-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Payment Methods Section */
.page-af88-game__payment-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f0f4f7;
    border-radius: 20px;
    margin-top: 40px;
}

.page-af88-game__payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-af88-game__payment-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    width: 200px; /* Fixed width for better layout */
    height: 100px; /* Fixed height */
}

.page-af88-game__payment-item:hover {
    transform: translateY(-5px);
}

.page-af88-game__payment-logo {
    max-width: 100%;
    max-height: 70px; /* Adjust height as needed for logos */
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* Game Providers Section */
.page-af88-game__providers-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-af88-game__providers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-af88-game__provider-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    width: 200px; /* Fixed width for better layout */
    height: 100px; /* Fixed height */
}

.page-af88-game__provider-item:hover {
    transform: translateY(-5px);
}

.page-af88-game__provider-logo {
    max-width: 100%;
    max-height: 70px; /* Adjust height as needed for logos */
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* FAQ Section */
.page-af88-game__faq-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #e0f2f1; /* Light green background */
    border-radius: 20px;
    margin-top: 40px;
}

.page-af88-game__faq-list {
    margin-top: 30px;
}

.page-af88-game__faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.page-af88-game__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    user-select: none;
    box-sizing: border-box;
}

.page-af88-game__faq-question:hover {
    background-color: #eef;
}

.page-af88-game__faq-title {
    font-size: 1.2em;
    color: #004d40;
    margin: 0;
    font-weight: bold;
    pointer-events: none; /* Prevent h3 from blocking click */
}

.page-af88-game__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent span from blocking click */
}

.page-af88-game__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding for collapsed state */
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    color: #444;
    box-sizing: border-box;
}

.page-af88-game__faq-answer p {
    margin: 0 0 15px 0; /* Adjust paragraph margin within answer */
}

/* FAQ active state */
.page-af88-game__faq-item.active .page-af88-game__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px 25px !important; /* Padding for expanded state */
    opacity: 1;
}

.page-af88-game__faq-item.active .page-af88-game__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or '-' */
    color: #dc3545; /* Red color for active toggle */
}

/* Bottom CTA Section */
.page-af88-game__cta-bottom-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #bbdefb; /* Light blue background */
    border-radius: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-af88-game__hero-title {
        font-size: 3em;
    }
    .page-af88-game__section-title {
        font-size: 2em;
    }
    .page-af88-game__section-description {
        font-size: 1em;
    }
    .page-af88-game__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-af88-game__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-af88-game__button--secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-af88-game__hero-title {
        font-size: 2.5em;
    }
    .page-af88-game__hero-description {
        font-size: 1.1em;
    }
    .page-af88-game__section-title {
        font-size: 1.8em;
    }
    .page-af88-game__section-description {
        font-size: 0.95em;
    }
    .page-af88-game__features-grid,
    .page-af88-game__game-categories,
    .page-af88-game__promotion-cards,
    .page-af88-game__payment-methods,
    .page-af88-game__providers-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 20px;
    }

    .page-af88-game__feature-item,
    .page-af88-game__game-card,
    .page-af88-game__promotion-card,
    .page-af88-game__payment-item,
    .page-af88-game__provider-item,
    .page-af88-game__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-af88-game__payment-item,
    .page-af88-game__provider-item {
        width: 100% !important; /* Ensure full width for payment/provider items */
        height: auto !important; /* Allow height to adjust */
        padding: 10px; /* Reduce padding for mobile */
    }
    .page-af88-game__payment-logo,
    .page-af88-game__provider-logo {
        max-height: 60px !important;
    }

    .page-af88-game__hero-image-wrapper,
    .page-af88-game__hero-image,
    .page-af88-game__feature-icon,
    .page-af88-game__game-image,
    .page-af88-game__promotion-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-af88-game__game-image,
    .page-af88-game__promotion-image {
        height: 180px !important; /* Adjust fixed height for smaller screens */
    }

    .page-af88-game__faq-question {
        padding: 15px 20px;
    }
    .page-af88-game__faq-title {
        font-size: 1.1em;
    }
    .page-af88-game__faq-answer {
        padding: 0 20px;
    }
    .page-af88-game__faq-item.active .page-af88-game__faq-answer {
        padding: 15px 20px !important;
    }
    .page-af88-game__faq-answer p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .page-af88-game__faq-list,
    .page-af88-game__payment-methods,
    .page-af88-game__providers-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-af88-game__hero-title {
        font-size: 2em;
    }
    .page-af88-game__hero-description {
        font-size: 1em;
    }
    .page-af88-game__section-title {
        font-size: 1.5em;
    }
    .page-af88-game__button {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-af88-game__button--secondary {
        margin-top: 10px;
    }
    .page-af88-game__hero-section,
    .page-af88-game__introduction-section,
    .page-af88-game__games-section,
    .page-af88-game__promotions-section,
    .page-af88-game__payment-section,
    .page-af88-game__providers-section,
    .page-af88-game__faq-section,
    .page-af88-game__cta-bottom-section {
        padding: 30px 15px;
    }
    .page-af88-game__faq-question {
        padding: 12px 15px;
    }
    .page-af88-game__faq-title {
        font-size: 1em;
    }
    .page-af88-game__faq-answer {
        padding: 0 15px;
    }
    .page-af88-game__faq-item.active .page-af88-game__faq-answer {
        padding: 10px 15px !important;
    }
}
  