.page-blog-xin88-beginner-guide {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-blog-xin88-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-blog-xin88-beginner-guide__hero-section {
    background-color: var(--card-bg-color, #FFFFFF);
    padding: 0; /* Image takes full width */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    border-radius: 8px;
    overflow: hidden; /* For image border-radius */
}

.page-blog-xin88-beginner-guide__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-blog-xin88-beginner-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure images are not too small */
}

.page-blog-xin88-beginner-guide__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
}

.page-blog-xin88-beginner-guide__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 20px;
    /* No fixed large font-size, relying on font-weight and other properties */
}

.page-blog-xin88-beginner-guide__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
}

/* CTA Button */
.page-blog-xin88-beginner-guide__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-blog-xin88-beginner-guide__cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-blog-xin88-beginner-guide__cta-button--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-blog-xin88-beginner-guide__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2em;
}

.page-blog-xin88-beginner-guide__cta-button--secondary {
    background: #6FA3FF; /* Auxiliary color for secondary button */
    margin-left: 15px;
}

.page-blog-xin88-beginner-guide__cta-button--secondary:hover {
    background: #2F6BFF;
}

/* Content Section */
.page-blog-xin88-beginner-guide__content-section {
    padding: 40px 0;
    background-color: var(--card-bg-color, #FFFFFF);
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-xin88-beginner-guide__section-title {
    font-size: 2.2em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 25px;
    text-align: center;
    padding-top: 20px;
}

.page-blog-xin88-beginner-guide__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-main-color, #1F2D3D);
    padding: 0 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-xin88-beginner-guide__list {
    list-style: none;
    padding: 0;
    margin: 0 20px 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-xin88-beginner-guide__list-item {
    background-color: #F8F9FA; /* Slightly lighter background for list items */
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
}

.page-blog-xin88-beginner-guide__list-item::before {
    content: counter(item) ". ";
    counter-increment: item;
    font-weight: bold;
    color: var(--primary-color, #2F6BFF);
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 1.2em;
    display: none; /* Hide default counter, use h3 for numbering */
}

.page-blog-xin88-beginner-guide__list-item:first-of-type {
    counter-reset: item;
}

.page-blog-xin88-beginner-guide__list-title {
    font-size: 1.3em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-blog-xin88-beginner-guide__sub-list {
    list-style: disc;
    margin-left: 25px;
    margin-top: 10px;
    color: var(--text-main-color, #1F2D3D);
}

.page-blog-xin88-beginner-guide__sub-list-item {
    margin-bottom: 5px;
}

.page-blog-xin88-beginner-guide__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Constrain max width for content images */
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size */
    min-height: 200px;
}

.page-blog-xin88-beginner-guide__inline-link {
    color: var(--primary-color, #2F6BFF);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-blog-xin88-beginner-guide__inline-link:hover {
    color: var(--auxiliary-color, #6FA3FF);
}

/* Game Categories */
.page-blog-xin88-beginner-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.page-blog-xin88-beginner-guide__game-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-xin88-beginner-guide__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-blog-xin88-beginner-guide__game-card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-blog-xin88-beginner-guide__game-card-title {
    font-size: 1.25em;
    color: var(--custom-color-1776249996415, #000000);
    margin: 15px 10px 5px;
}

.page-blog-xin88-beginner-guide__game-card-title a {
    color: inherit;
    text-decoration: none;
}

.page-blog-xin88-beginner-guide__game-card-title a:hover {
    color: var(--primary-color, #2F6BFF);
}

.page-blog-xin88-beginner-guide__game-card-description {
    font-size: 0.9em;
    color: var(--text-main-color, #1F2D3D);
    padding: 0 15px 20px;
}

.page-blog-xin88-beginner-guide__button-group {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-blog-xin88-beginner-guide__faq-item {
    background-color: #F8F9FA;
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-xin88-beginner-guide__faq-question {
    font-size: 1.2em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-blog-xin88-beginner-guide__faq-answer {
    font-size: 1em;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 10px;
}

/* Final CTA Section */
.page-blog-xin88-beginner-guide__cta-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1200px;
}

.page-blog-xin88-beginner-guide__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-blog-xin88-beginner-guide__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #E0E0E0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-xin88-beginner-guide__main-title {
        font-size: 2.5em;
    }
    .page-blog-xin88-beginner-guide__section-title {
        font-size: 2em;
    }
    .page-blog-xin88-beginner-guide__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-blog-xin88-beginner-guide__hero-content {
        padding: 30px 15px;
    }
    .page-blog-xin88-beginner-guide__main-title {
        font-size: 2em;
    }
    .page-blog-xin88-beginner-guide__description {
        font-size: 1em;
    }
    .page-blog-xin88-beginner-guide__section-title {
        font-size: 1.8em;
    }
    .page-blog-xin88-beginner-guide__paragraph,
    .page-blog-xin88-beginner-guide__list-item,
    .page-blog-xin88-beginner-guide__faq-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog-xin88-beginner-guide__list-title {
        font-size: 1.1em;
    }
    .page-blog-xin88-beginner-guide__game-categories {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-blog-xin88-beginner-guide__cta-title {
        font-size: 1.8em;
    }
    .page-blog-xin88-beginner-guide__cta-description {
        font-size: 1em;
    }
    .page-blog-xin88-beginner-guide__cta-section {
        padding: 40px 15px;
    }

    /* Mobile image overflow prevention */
    .page-blog-xin88-beginner-guide img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Still maintain minimum size */
        min-height: 200px;
    }
    .page-blog-xin88-beginner-guide__game-card-image {
        min-width: 200px;
        min-height: 150px; /* Adjust min height for card images on mobile if needed, but keep it > 200 if possible */
        height: auto; /* Ensure aspect ratio is maintained */
    }
}

@media (max-width: 480px) {
    .page-blog-xin88-beginner-guide__main-title {
        font-size: 1.8em;
    }
    .page-blog-xin88-beginner-guide__cta-button {
        width: 100%;
        margin: 10px 0;
    }
    .page-blog-xin88-beginner-guide__cta-button--secondary {
        margin-left: 0;
    }
    .page-blog-xin88-beginner-guide__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-blog-xin88-beginner-guide__list-item,
    .page-blog-xin88-beginner-guide__faq-item {
        padding: 15px;
    }
}