/* style/index-about-kimsa88.css */

/* Base styles for the page content, assuming a dark body background */
.page-index-about-kimsa88 {
    color: #ffffff; /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-index-about-kimsa88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-about-kimsa88__dark-bg {
    background-color: var(--dark-bg-1, #0d0d0d); /* Use shared dark background variable or fallback */
    color: #ffffff;
}

.page-index-about-kimsa88__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-index-about-kimsa88__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Brand color for hero */
    color: #ffffff;
}

.page-index-about-kimsa88__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-about-kimsa88__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.page-index-about-kimsa88__btn-primary,
.page-index-about-kimsa88__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-about-kimsa88__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-index-about-kimsa88__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-index-about-kimsa88__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-index-about-kimsa88__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-index-about-kimsa88__content-section {
    padding: 60px 0;
}

.page-index-about-kimsa88__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for titles */
}

.page-index-about-kimsa88__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

.page-index-about-kimsa88__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-index-about-kimsa88__text-block a:hover {
    color: #1e87b8;
}

.page-index-about-kimsa88__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-index-about-kimsa88__grid--reverse {
    grid-template-areas: "image text";
}

.page-index-about-kimsa88__grid--reverse .page-index-about-kimsa88__grid-item:first-child {
    grid-area: text;
}

.page-index-about-kimsa88__grid--reverse .page-index-about-kimsa88__grid-item:last-child {
    grid-area: image;
}

.page-index-about-kimsa88__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-about-kimsa88__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-about-kimsa88__card {
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white for cards on dark background */
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-kimsa88__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-about-kimsa88__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

.page-index-about-kimsa88__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-index-about-kimsa88__card-title a:hover {
    text-decoration: underline;
}

.page-index-about-kimsa88__card-text {
    font-size: 1em;
    line-height: 1.5;
    color: #555555;
}

.page-index-about-kimsa88__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-about-kimsa88__game-card .page-index-about-kimsa88__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-about-kimsa88__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-about-kimsa88__contact-button {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-index-about-kimsa88__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-about-kimsa88__view-promos-button {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-index-about-kimsa88__faq-list {
    margin-top: 40px;
}

.page-index-about-kimsa88__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items on dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-about-kimsa88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-index-about-kimsa88__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-index-about-kimsa88__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-index-about-kimsa88__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-index-about-kimsa88__faq-item.active .page-index-about-kimsa88__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 20px;
    color: #f0f0f0;
}

.page-index-about-kimsa88__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Brand color for CTA */
    color: #ffffff;
}

.page-index-about-kimsa88__cta-section .page-index-about-kimsa88__section-title {
    color: #ffffff;
}

.page-index-about-kimsa88__cta-section .page-index-about-kimsa88__hero-description {
    color: #f0f0f0;
}

.page-index-about-kimsa88__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index-about-kimsa88__main-title {
        font-size: 2.8em;
    }
    .page-index-about-kimsa88__section-title {
        font-size: 2em;
    }
    .page-index-about-kimsa88__grid {
        grid-template-columns: 1fr;
    }
    .page-index-about-kimsa88__grid--reverse {
        grid-template-areas: unset;
    }
    .page-index-about-kimsa88__grid--reverse .page-index-about-kimsa88__grid-item:first-child,
    .page-index-about-kimsa88__grid--reverse .page-index-about-kimsa88__grid-item:last-child {
        grid-area: unset;
    }
}

@media (max-width: 768px) {
    .page-index-about-kimsa88 {
        font-size: 16px;
        line-height: 1.6;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-index-about-kimsa88__hero-section {
        padding: 60px 20px;
    }

    .page-index-about-kimsa88__main-title {
        font-size: 2.2em;
    }

    .page-index-about-kimsa88__hero-description {
        font-size: 1em;
    }

    .page-index-about-kimsa88__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-index-about-kimsa88__container {
        padding: 0 15px;
    }

    .page-index-about-kimsa88__grid,
    .page-index-about-kimsa88__features-grid,
    .page-index-about-kimsa88__game-categories,
    .page-index-about-kimsa88__support-channels,
    .page-index-about-kimsa88__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-about-kimsa88__image,
    .page-index-about-kimsa88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-index-about-kimsa88__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-index-about-kimsa88__cta-buttons,
    .page-index-about-kimsa88__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-about-kimsa88__btn-primary,
    .page-index-about-kimsa88__btn-secondary,
    .page-index-about-kimsa88 a[class*="button"],
    .page-index-about-kimsa88 a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-about-kimsa88__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure all content containers are constrained */
    .page-index-about-kimsa88__content-section,
    .page-index-about-kimsa88__hero-section,
    .page-index-about-kimsa88__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-index-about-kimsa88__main-title {
        font-size: 1.8em;
    }
    .page-index-about-kimsa88__section-title {
        font-size: 1.5em;
    }
    .page-index-about-kimsa88__card-title {
        font-size: 1.3em;
    }
}