/* style/blog-kjc-official-popular-games-guide.css */

/* General styles for the page content, ensuring text contrast on the body background */
.page-blog-kjc-official-popular-games-guide {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main for general content on dark body background */
    background-color: #08160F; /* Body background from custom palette */
    line-height: 1.6;
}

/* Container for main content, centered and with max-width */
.page-blog-kjc-official-popular-games-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-blog-kjc-official-popular-games-guide__section {
    padding: 60px 0;
    background-color: #08160F; /* Default section background */
}

/* Hero Section */
.page-blog-kjc-official-popular-games-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content block */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #08160F;
}

.page-blog-kjc-official-popular-games-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-blog-kjc-official-popular-games-guide__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Pull content slightly over image for visual appeal, but not on top of image visible rectangle */
    position: relative;
    z-index: 1;
    background-color: #11271B; /* Card BG color for hero content block */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid #2E7A4E;
}

.page-blog-kjc-official-popular-games-guide__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-kjc-official-popular-games-guide__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to action buttons */
.page-blog-kjc-official-popular-games-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-blog-kjc-official-popular-games-guide__btn-primary,
.page-blog-kjc-official-popular-games-guide__btn-secondary,
.page-blog-kjc-official-popular-games-guide__btn-inline {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog-kjc-official-popular-games-guide__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-kjc-official-popular-games-guide__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-blog-kjc-official-popular-games-guide__btn-secondary {
    background: #11271B; /* Card BG */
    color: #F2C14E; /* Gold */
    border: 2px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-kjc-official-popular-games-guide__btn-secondary:hover {
    background: #2E7A4E; /* Border color */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-blog-kjc-official-popular-games-guide__btn-inline {
    background: none;
    color: #57E38D; /* Glow */
    border: 1px solid #2E7A4E;
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: 15px;
}

.page-blog-kjc-official-popular-games-guide__btn-inline:hover {
    color: #F2FFF6;
    background-color: #2E7A4E;
    border-color: #57E38D;
}


/* Section Titles */
.page-blog-kjc-official-popular-games-guide__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-blog-kjc-official-popular-games-guide__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

/* Game Category Section */
.page-blog-kjc-official-popular-games-guide__game-category {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E;
}

.page-blog-kjc-official-popular-games-guide__category-title {
    font-size: 1.8em;
    color: #57E38D; /* Glow */
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-blog-kjc-official-popular-games-guide__game-image,
.page-blog-kjc-official-popular-games-guide__promotion-image,
.page-blog-kjc-official-popular-games-guide__service-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 25px auto;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

/* How To Play Section */
.page-blog-kjc-official-popular-games-guide__step-by-step {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E;
}

.page-blog-kjc-official-popular-games-guide__step-title {
    font-size: 1.6em;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.page-blog-kjc-official-popular-games-guide__step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-blog-kjc-official-popular-games-guide__step-list li {
    background-color: #0A4B2C; /* Deep Green */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    color: #F2FFF6;
    border: 1px solid #1E3A2A; /* Divider */
}

.page-blog-kjc-official-popular-games-guide__step-number {
    font-weight: bold;
    color: #57E38D; /* Glow */
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.1em;
}

.page-blog-kjc-official-popular-games-guide__sub-title {
    font-size: 1.3em;
    color: #57E38D; /* Glow */
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-kjc-official-popular-games-guide__bullet-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-blog-kjc-official-popular-games-guide__bullet-list li {
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

.page-blog-kjc-official-popular-games-guide__bullet-list strong {
    color: #F2C14E; /* Gold */
}

/* Why Choose Section (Icon List) */
.page-blog-kjc-official-popular-games-guide__icon-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-blog-kjc-official-popular-games-guide__icon-item {
    background-color: #11271B; /* Card BG */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    color: #A7D9B8; /* Text Secondary */
    border: 1px solid #1E3A2A; /* Divider */
}

.page-blog-kjc-official-popular-games-guide__icon-item::before {
    content: '✓'; /* Placeholder for an icon */
    font-size: 1.5em;
    color: #57E38D; /* Glow */
    margin-right: 15px;
    flex-shrink: 0;
}

.page-blog-kjc-official-popular-games-guide__icon-text {
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
}

/* FAQ Section */
.page-blog-kjc-official-popular-games-guide__faq {
    background-color: #08160F; /* Body background */
}

.page-blog-kjc-official-popular-games-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-kjc-official-popular-games-guide__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog-kjc-official-popular-games-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    font-size: 1.15em;
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-blog-kjc-official-popular-games-guide__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-kjc-official-popular-games-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-blog-kjc-official-popular-games-guide__faq-answer {
    padding: 0 25px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    line-height: 1.7;
}

.page-blog-kjc-official-popular-games-guide__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
    color: #A7D9B8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-kjc-official-popular-games-guide__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }

    .page-blog-kjc-official-popular-games-guide__section-title {
        font-size: 2em;
    }

    .page-blog-kjc-official-popular-games-guide__category-title {
        font-size: 1.6em;
    }

    .page-blog-kjc-official-popular-games-guide__step-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-blog-kjc-official-popular-games-guide__section {
        padding: 40px 0;
    }

    .page-blog-kjc-official-popular-games-guide__hero-section {
        padding-bottom: 40px;
    }

    .page-blog-kjc-official-popular-games-guide__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }

    .page-blog-kjc-official-popular-games-guide__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-blog-kjc-official-popular-games-guide__description {
        font-size: 1em;
    }

    .page-blog-kjc-official-popular-games-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-blog-kjc-official-popular-games-guide__btn-primary,
    .page-blog-kjc-official-popular-games-guide__btn-secondary,
    .page-blog-kjc-official-popular-games-guide__btn-inline {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1em;
        padding: 12px 20px;
    }

    .page-blog-kjc-official-popular-games-guide__container,
    .page-blog-kjc-official-popular-games-guide__game-category,
    .page-blog-kjc-official-popular-games-guide__step-by-step,
    .page-blog-kjc-official-popular-games-guide__icon-list {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-kjc-official-popular-games-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-blog-kjc-official-popular-games-guide__category-title {
        font-size: 1.4em;
    }

    .page-blog-kjc-official-popular-games-guide__step-title {
        font-size: 1.2em;
    }

    .page-blog-kjc-official-popular-games-guide__text-block {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-blog-kjc-official-popular-games-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px; /* Ensure minimum size */
    }

    .page-blog-kjc-official-popular-games-guide__icon-list {
        grid-template-columns: 1fr; /* Stack items on mobile */
    }

    .page-blog-kjc-official-popular-games-guide__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-blog-kjc-official-popular-games-guide__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
}