:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-deep-green: #0A4B2C;

    --color-text-light: #ffffff;
    --color-text-dark: #333333;
    --color-bg-light: #ffffff;
    --color-bg-dark: #08160F; /* Assuming body background is dark */
}

/* Base styles for the page */
.page-blog-99kl-deep-dive {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background sections */
    background-color: var(--color-background); /* Default background for the main content area */
}

.page-blog-99kl-deep-dive__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-99kl-deep-dive__section-title {
    font-size: 2.5em;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-blog-99kl-deep-dive__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.page-blog-99kl-deep-dive__sub-title {
    font-size: 1.8em;
    color: var(--color-gold);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog-99kl-deep-dive__text-block {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.page-blog-99kl-deep-dive__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space for content below image */
    padding-top: 10px; /* Small top padding */
}

.page-blog-99kl-deep-dive__hero-image-wrapper {
    width: 100%;
    height: auto; /* Adjust based on image aspect ratio */
    position: relative;
    z-index: 1;
}

.page-blog-99kl-deep-dive__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for aesthetic */
}

.page-blog-99kl-deep-dive__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over image */
    background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-blog-99kl-deep-dive__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-blog-99kl-deep-dive__description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-blog-99kl-deep-dive__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-99kl-deep-dive__cta-buttons--center {
    margin-top: 40px;
}

.page-blog-99kl-deep-dive__btn-primary,
.page-blog-99kl-deep-dive__btn-secondary {
    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;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-99kl-deep-dive__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-99kl-deep-dive__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-99kl-deep-dive__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.page-blog-99kl-deep-dive__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Section specific styles */
.page-blog-99kl-deep-dive__introduction-section,
.page-blog-99kl-deep-dive__security-section,
.page-blog-99kl-deep-dive__promotions-section,
.page-blog-99kl-deep-dive__support-section,
.page-blog-99kl-deep-dive__conclusion-section {
    padding: 60px 0;
    background-color: var(--color-bg-light); /* Light background for these sections */
    color: var(--color-text-dark); /* Dark text for light background */
}

.page-blog-99kl-deep-dive__introduction-section .page-blog-99kl-deep-dive__section-title,
.page-blog-99kl-deep-dive__security-section .page-blog-99kl-deep-dive__section-title,
.page-blog-99kl-deep-dive__promotions-section .page-blog-99kl-deep-dive__section-title,
.page-blog-99kl-deep-dive__support-section .page-blog-99kl-deep-dive__section-title,
.page-blog-99kl-deep-dive__conclusion-section .page-blog-99kl-deep-dive__section-title {
    color: var(--color-text-dark);
}

.page-blog-99kl-deep-dive__introduction-section .page-blog-99kl-deep-dive__text-block,
.page-blog-99kl-deep-dive__security-section .page-blog-99kl-deep-dive__text-block,
.page-blog-99kl-deep-dive__promotions-section .page-blog-99kl-deep-dive__text-block,
.page-blog-99kl-deep-dive__support-section .page-blog-99kl-deep-dive__text-block,
.page-blog-99kl-deep-dive__conclusion-section .page-blog-99kl-deep-dive__text-block {
    color: var(--color-text-dark);
}

.page-blog-99kl-deep-dive__guide-section,
.page-blog-99kl-deep-dive__games-section,
.page-blog-99kl-deep-dive__app-section,
.page-blog-99kl-deep-dive__faq-section {
    padding: 60px 0;
    background-color: var(--color-background); /* Dark background for these sections */
    color: var(--color-text-main); /* Light text for dark background */
}

.page-blog-99kl-deep-dive__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-blog-99kl-deep-dive__light-bg {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.page-blog-99kl-deep-dive__light-bg .page-blog-99kl-deep-dive__section-title,
.page-blog-99kl-deep-dive__light-bg .page-blog-99kl-deep-dive__sub-title {
    color: var(--color-text-dark);
}

.page-blog-99kl-deep-dive__light-bg .page-blog-99kl-deep-dive__text-block,
.page-blog-99kl-deep-dive__light-bg .page-blog-99kl-deep-dive__card-text {
    color: var(--color-text-dark);
}

.page-blog-99kl-deep-dive__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-blog-99kl-deep-dive__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-blog-99kl-deep-dive__content-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px; /* Minimum size for content images */
}

.page-blog-99kl-deep-dive__text-content {
    width: 50%;
}

.page-blog-99kl-deep-dive__ordered-list,
.page-blog-99kl-deep-dive__unordered-list {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-blog-99kl-deep-dive__ordered-list li,
.page-blog-99kl-deep-dive__unordered-list li {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-blog-99kl-deep-dive__features-grid,
.page-blog-99kl-deep-dive__games-grid,
.page-blog-99kl-deep-dive__promotions-grid,
.page-blog-99kl-deep-dive__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-99kl-deep-dive__feature-card,
.page-blog-99kl-deep-dive__game-card,
.page-blog-99kl-deep-dive__promotion-card,
.page-blog-99kl-deep-dive__channel-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-99kl-deep-dive__feature-card:hover,
.page-blog-99kl-deep-dive__game-card:hover,
.page-blog-99kl-deep-dive__promotion-card:hover,
.page-blog-99kl-deep-dive__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog-99kl-deep-dive__feature-icon,
.page-blog-99kl-deep-dive__game-image,
.page-blog-99kl-deep-dive__promotion-image,
.page-blog-99kl-deep-dive__channel-icon {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px; /* Minimum size for card images */
}

.page-blog-99kl-deep-dive__feature-icon {
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    object-fit: contain;
}

.page-blog-99kl-deep-dive__card-title {
    font-size: 1.3em;
    color: var(--color-text-main);
    margin-bottom: 10px;
    min-height: 50px; /* Ensure consistent height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-blog-99kl-deep-dive__card-title a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-99kl-deep-dive__card-title a:hover {
    color: var(--color-gold);
}

.page-blog-99kl-deep-dive__card-text {
    color: var(--color-text-secondary);
    font-size: 0.95em;
}

.page-blog-99kl-deep-dive__text-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: 15px;
    display: inline-block;
}

.page-blog-99kl-deep-dive__text-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* FAQ Section */
.page-blog-99kl-deep-dive__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-99kl-deep-dive__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-blog-99kl-deep-dive__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-border); /* Use border variable */
    transition: background-color 0.3s ease;
}

.page-blog-99kl-deep-dive__faq-question:hover {
    background-color: var(--color-primary);
}

.page-blog-99kl-deep-dive__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-blog-99kl-deep-dive__faq-item[open] .page-blog-99kl-deep-dive__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-99kl-deep-dive__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

.page-blog-99kl-deep-dive__faq-answer p {
    margin-bottom: 0;
}

/* HTML details element specific styles */
.page-blog-99kl-deep-dive__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-blog-99kl-deep-dive__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog-99kl-deep-dive__hero-content {
        margin-top: -80px;
        padding: 25px 30px;
    }

    .page-blog-99kl-deep-dive__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }

    .page-blog-99kl-deep-dive__description {
        font-size: 1.1em;
    }

    .page-blog-99kl-deep-dive__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-blog-99kl-deep-dive__image-text-block--reverse {
        flex-direction: column;
    }

    .page-blog-99kl-deep-dive__content-image,
    .page-blog-99kl-deep-dive__text-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-blog-99kl-deep-dive__hero-section {
        padding-bottom: 40px;
    }

    .page-blog-99kl-deep-dive__hero-content {
        margin-top: -60px;
        padding: 20px 25px;
    }

    .page-blog-99kl-deep-dive__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-blog-99kl-deep-dive__description {
        font-size: 1em;
    }

    .page-blog-99kl-deep-dive__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-99kl-deep-dive__btn-primary,
    .page-blog-99kl-deep-dive__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-blog-99kl-deep-dive__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-blog-99kl-deep-dive__sub-title {
        font-size: 1.5em;
    }

    .page-blog-99kl-deep-dive__introduction-section,
    .page-blog-99kl-deep-dive__security-section,
    .page-blog-99kl-deep-dive__promotions-section,
    .page-blog-99kl-deep-dive__support-section,
    .page-blog-99kl-deep-dive__conclusion-section,
    .page-blog-99kl-deep-dive__guide-section,
    .page-blog-99kl-deep-dive__games-section,
    .page-blog-99kl-deep-dive__app-section,
    .page-blog-99kl-deep-dive__faq-section {
        padding: 40px 0;
    }

    .page-blog-99kl-deep-dive__container {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-blog-99kl-deep-dive img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog-99kl-deep-dive__hero-image-wrapper,
    .page-blog-99kl-deep-dive__container,
    .page-blog-99kl-deep-dive__image-text-block,
    .page-blog-99kl-deep-dive__features-grid,
    .page-blog-99kl-deep-dive__games-grid,
    .page-blog-99kl-deep-dive__promotions-grid,
    .page-blog-99kl-deep-dive__support-channels,
    .page-blog-99kl-deep-dive__faq-list,
    .page-blog-99kl-deep-dive__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-99kl-deep-dive__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Card image minimum size enforcement */
    .page-blog-99kl-deep-dive__feature-icon,
    .page-blog-99kl-deep-dive__game-image,
    .page-blog-99kl-deep-dive__promotion-image,
    .page-blog-99kl-deep-dive__channel-icon {
        min-height: 200px !important;
        min-width: 200px !important;
    }
    
    .page-blog-99kl-deep-dive__content-image {
        min-height: 200px !important;
        min-width: 200px !important;
    }

    .page-blog-99kl-deep-dive__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-blog-99kl-deep-dive__faq-answer {
        padding: 15px 20px;
    }
}

/* Color contrast enforcement */
/* Default for dark background sections */
.page-blog-99kl-deep-dive__dark-bg {
    color: var(--color-text-main); /* #F2FFF6 */
}

/* Default for light background sections */
.page-blog-99kl-deep-dive__light-bg {
    color: var(--color-text-dark); /* #333333 */
}

/* Card and container background/text colors for contrast */
.page-blog-99kl-deep-dive__card {
    background-color: var(--color-card-bg); /* #11271B */
    color: var(--color-text-main); /* #F2FFF6 */
}

.page-blog-99kl-deep-dive__card-title a {
    color: var(--color-text-main);
}

.page-blog-99kl-deep-dive__card-text {
    color: var(--color-text-secondary); /* #A7D9B8 */
}

/* Ensure keyword styling doesn't break contrast */
.keyword {
    color: var(--color-gold); /* Gold color for keywords */
    font-weight: bold;
}