:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --accent-yellow: #d6d604; /* From 3WIN style guide */
}

.page-blog-hello88-beginner-guide {
    background-color: var(--background-color);
    color: var(--text-main);
    font-family: Arial, sans-serif;
}

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

.page-blog-hello88-beginner-guide__hero-section {
    position: relative;
    background-color: #0a0909; /* Dark background from 3WIN style */
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure no image overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog-hello88-beginner-guide__hero-image {
    display: block;
    width: 100%;
    max-width: 1200px; /* Constrain image to container width */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-blog-hello88-beginner-guide__hero-content {
    padding: 0 20px;
    max-width: 900px; /* Constrain content width */
}

.page-blog-hello88-beginner-guide__main-title {
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.8rem, 4vw, 3rem); /* Using clamp for responsive H1, within limits */
}

.page-blog-hello88-beginner-guide__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #E0E0E0; /* Lighter text for dark background */
    margin-bottom: 30px;
}

.page-blog-hello88-beginner-guide__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-blog-hello88-beginner-guide__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-hello88-beginner-guide__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-blog-hello88-beginner-guide__introduction-section,
.page-blog-hello88-beginner-guide__steps-section,
.page-blog-hello88-beginner-guide__game-types-section,
.page-blog-hello88-beginner-guide__tips-section,
.page-blog-hello88-beginner-guide__faq-section,
.page-blog-hello88-beginner-guide__final-cta-section {
    padding: 40px 0;
    background-color: var(--background-color);
}

.page-blog-hello88-beginner-guide__paragraph {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-main);
    text-align: justify;
}

.page-blog-hello88-beginner-guide__step-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-blog-hello88-beginner-guide__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    flex: 1 1 calc(33% - 60px);
    max-width: calc(33% - 60px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px; /* Ensure cards don't get too small */
}

.page-blog-hello88-beginner-guide__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-blog-hello88-beginner-guide__step-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min image size for content images */
    min-height: 133px; /* Based on 3:2 ratio */
}

.page-blog-hello88-beginner-guide__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 15px;
}

.page-blog-hello88-beginner-guide__card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-blog-hello88-beginner-guide__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-blog-hello88-beginner-guide__card-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-blog-hello88-beginner-guide__game-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.page-blog-hello88-beginner-guide__game-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-hello88-beginner-guide__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-blog-hello88-beginner-guide__game-link {
    text-decoration: none;
    color: var(--text-black);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog-hello88-beginner-guide__game-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-blog-hello88-beginner-guide__game-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-black);
}

.page-blog-hello88-beginner-guide__tips-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.page-blog-hello88-beginner-guide__tips-image {
    flex: 1 1 45%;
    max-width: 45%;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    min-width: 200px; /* Min image size for content images */
    min-height: 150px; /* Based on 4:3 ratio */
}

.page-blog-hello88-beginner-guide__tip-list {
    flex: 1 1 50%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-hello88-beginner-guide__tip-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-hello88-beginner-guide__tip-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-blog-hello88-beginner-guide__tip-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

.page-blog-hello88-beginner-guide__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-blog-hello88-beginner-guide__inline-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-blog-hello88-beginner-guide__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-blog-hello88-beginner-guide__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-blog-hello88-beginner-guide__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-blog-hello88-beginner-guide__faq-question.active::after {
    transform: rotate(45deg);
}

.page-blog-hello88-beginner-guide__faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding-top: 0;
}

.page-blog-hello88-beginner-guide__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 10px;
}

.page-blog-hello88-beginner-guide__final-cta-section {
    text-align: center;
    padding-bottom: 60px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-blog-hello88-beginner-guide__step-card {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    .page-blog-hello88-beginner-guide__tips-image,
    .page-blog-hello88-beginner-guide__tip-list {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .page-blog-hello88-beginner-guide__tips-image {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-blog-hello88-beginner-guide__hero-section {
        padding-top: 5px;
        padding-bottom: 20px;
    }
    .page-blog-hello88-beginner-guide__hero-image {
        height: 250px;
    }
    .page-blog-hello88-beginner-guide__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-blog-hello88-beginner-guide__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-blog-hello88-beginner-guide__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    .page-blog-hello88-beginner-guide__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        margin-top: 40px;
    }
    .page-blog-hello88-beginner-guide__paragraph {
        font-size: 0.95rem;
    }
    .page-blog-hello88-beginner-guide__step-card-wrapper {
        gap: 20px;
    }
    .page-blog-hello88-beginner-guide__step-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .page-blog-hello88-beginner-guide__game-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .page-blog-hello88-beginner-guide__tips-content {
        flex-direction: column;
    }
    .page-blog-hello88-beginner-guide__tips-image {
        max-width: 100%;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 150px;
    }
    .page-blog-hello88-beginner-guide__tip-title {
        font-size: 1.15rem;
    }
    .page-blog-hello88-beginner-guide__faq-question {
        font-size: 1.1rem;
    }

    /* Mobile image constraint - applies to all images within the main content */
    .page-blog-hello88-beginner-guide img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-blog-hello88-beginner-guide__hero-image {
        height: 200px;
    }
    .page-blog-hello88-beginner-guide__main-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }
    .page-blog-hello88-beginner-guide__section-title {
        font-size: 1.6rem;
    }
    .page-blog-hello88-beginner-guide__game-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}