
    .page-a88 {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for good contrast */
}

.page-a88__hero-section {
    position: relative;
    background-color: #0d1a26; /* Dark background for hero */
    color: #fff;
    padding: 10px 20px 60px; /* Top padding for header offset */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Ensure hero has a decent height */
}

.page-a88__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make image subtle background */
    z-index: 1;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
}

.page-a88__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-a88__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffcc00; /* Bright color for title */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-a88__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-a88__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-a88__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-a88__button--primary {
    background-color: #ffcc00; /* Gold */
    color: #0d1a26; /* Dark blue */
    border: 2px solid #ffcc00;
}

.page-a88__button--primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-a88__button--secondary {
    background-color: transparent;
    color: #ffcc00;
    border: 2px solid #ffcc00;
}

.page-a88__button--secondary:hover {
    background-color: rgba(255, 204, 0, 0.1);
    transform: translateY(-2px);
}

.page-a88__brand-keyword-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #1a2b3c; /* Darker background */
    color: #fff;
}

.page-a88__brand-keyword {
    font-size: 3em;
    color: #ffcc00;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-a88__brand-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
}

.page-a88__section-title {
    font-size: 2.2em;
    color: #0d1a26;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-a88__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffcc00;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-a88__product-showcase,
.page-a88__promotions-section,
.page-a88__news-section,
.page-a88__faq-section,
.page-a88__cta-final {
    padding: 0 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-a88__game-grid,
.page-a88__promotions-grid,
.page-a88__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-a88__game-card,
.page-a88__promotion-card,
.page-a88__news-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box; /* Required for list items */
}

.page-a88__game-card:hover,
.page-a88__promotion-card:hover,
.page-a88__news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.page-a88__game-image,
.page-a88__promotion-image,
.page-a88__news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
}

.page-a88__game-title,
.page-a88__promotion-title,
.page-a88__news-title {
    font-size: 1.5em;
    color: #0d1a26;
    margin: 20px 15px 10px;
}

.page-a88__game-description,
.page-a88__promotion-description,
.page-a88__news-excerpt {
    font-size: 1em;
    color: #555;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-a88__promotion-action,
.page-a88__news-readmore {
    display: block;
    padding: 15px;
    background-color: #f0f0f0;
    color: #0d1a26;
    font-weight: bold;
    text-decoration: none;
    border-top: 1px solid #eee;
    transition: background-color 0.3s ease;
    cursor: default; /* No link, so make it look like text */
}

.page-a88__promotion-action:hover,
.page-a88__news-readmore:hover {
    background-color: #e0e0e0;
}

.page-a88__news-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

/* FAQ Section */
.page-a88__faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-a88__faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-a88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f0f0f0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-a88__faq-question:hover {
    background-color: #e0e0e0;
}

.page-a88__faq-q-text {
    font-size: 1.2em;
    color: #0d1a26;
    margin: 0;
    pointer-events: none; /* Prevent text from blocking click event */
}

.page-a88__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffcc00;
    pointer-events: none; /* Prevent toggle icon from blocking click event */
    transition: transform 0.3s ease;
}

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

.page-a88__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    color: #444;
    font-size: 1em;
}

.page-a88__faq-item.active .page-a88__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to show content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-a88__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Call to Action Final */
.page-a88__cta-final {
    text-align: center;
    background-color: #0d1a26;
    color: #fff;
    padding: 80px 20px;
    margin-top: 60px;
}

.page-a88__cta-title {
    font-size: 2.5em;
    color: #ffcc00;
    margin-bottom: 20px;
}

.page-a88__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

.page-a88__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating Buttons */
.page-a88__floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
    background-color: rgba(13, 26, 38, 0.9); /* Semi-transparent dark background */
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-a88__floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-a88__floating-button--register {
    background-color: #ffcc00;
    color: #0d1a26;
}

.page-a88__floating-button--register:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-a88__floating-button--login {
    background-color: #334d66; /* Slightly lighter dark blue */
    color: #ffcc00;
    border: 1px solid #ffcc00;
}

.page-a88__floating-button--login:hover {
    background-color: #446688;
    transform: translateY(-2px);
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-a88__hero-title {
        font-size: 2.2em;
    }
    .page-a88__section-title {
        font-size: 1.8em;
    }
    .page-a88__brand-keyword {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-a88__hero-section {
        padding: 10px 15px 40px;
        min-height: 400px;
    }
    .page-a88__hero-title {
        font-size: 2em;
    }
    .page-a88__hero-description {
        font-size: 1em;
    }
    .page-a88__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-a88__button {
        width: 80%;
        max-width: 300px;
        font-size: 1em;
    }

    .page-a88__brand-keyword {
        font-size: 2em;
    }
    .page-a88__brand-description {
        font-size: 0.95em;
    }

    .page-a88__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-a88__product-showcase,
    .page-a88__promotions-section,
    .page-a88__news-section,
    .page-a88__faq-section,
    .page-a88__cta-final {
        padding: 0 15px 40px;
    }

    /* List item mobile responsiveness */
    .page-a88__game-grid,
    .page-a88__promotions-grid,
    .page-a88__news-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .page-a88__game-card,
    .page-a88__promotion-card,
    .page-a88__news-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important; /* Ensure no extra padding pushes it out */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .page-a88__game-image,
    .page-a88__promotion-image,
    .page-a88__news-image {
        height: 200px;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-a88__game-title,
    .page-a88__promotion-title,
    .page-a88__news-title {
        font-size: 1.3em;
        margin: 15px 10px 8px;
    }

    .page-a88__game-description,
    .page-a88__promotion-description,
    .page-a88__news-excerpt {
        font-size: 0.95em;
        padding: 0 10px 15px;
    }

    .page-a88__faq-question {
        padding: 15px 20px;
    }
    .page-a88__faq-q-text {
        font-size: 1.1em;
    }
    .page-a88__faq-toggle {
        font-size: 1.5em;
    }
    .page-a88__faq-answer {
        padding: 0 20px;
    }
    .page-a88__faq-item.active .page-a88__faq-answer {
        padding: 15px 20px !important;
    }


    .page-a88__cta-title {
        font-size: 2em;
    }
    .page-a88__cta-description {
        font-size: 1em;
    }
    .page-a88__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-a88__floating-buttons {
        bottom: 15px;
        gap: 10px;
        padding: 8px 15px;
    }
    .page-a88__floating-button {
        font-size: 1em;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .page-a88__hero-title {
        font-size: 1.8em;
    }
    .page-a88__brand-keyword {
        font-size: 1.8em;
    }
    .page-a88__section-title {
        font-size: 1.4em;
    }
    .page-a88__cta-title {
        font-size: 1.8em;
    }
}
  