.page-k9cc11 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

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

.page-k9cc11__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-top: 10px; /* Minimal padding-top, relying on body for header offset */
    padding-bottom: 40px;
    background-color: #f0f2f5;
}

.page-k9cc11__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.page-k9cc11__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-k9cc11__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-k9cc11__hero-title {
    font-size: 2.8em;
    color: #2563eb;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.page-k9cc11__hero-description {
    font-size: 1.2em;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-k9cc11__hero-cta-button,
.page-k9cc11__btn-primary,
.page-k9cc11__floating-button {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-k9cc11__hero-cta-button:hover,
.page-k9cc11__btn-primary:hover,
.page-k9cc11__floating-button:hover {
    background-color: #1a4ed8;
    transform: translateY(-2px);
}

.page-k9cc11__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #2563eb;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid #2563eb;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-k9cc11__btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-k9cc11__section-title {
    font-size: 2.2em;
    color: #2563eb;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-k9cc11__text-block {
    font-size: 1.1em;
    color: #4a5568;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-k9cc11__about-section,
.page-k9cc11__advantages-section,
.page-k9cc11__faq-section {
    padding: 60px 0;
}

.page-k9cc11__games-section,
.page-k9cc11__promotions-section,
.page-k9cc11__cta-section {
    padding: 60px 0;
    background-color: #2563eb;
    color: #ffffff;
}

.page-k9cc11__games-section .page-k9cc11__section-title,
.page-k9cc11__promotions-section .page-k9cc11__section-title,
.page-k9cc11__cta-section .page-k9cc11__section-title {
    color: #ffffff;
}

.page-k9cc11__games-section .page-k9cc11__text-block,
.page-k9cc11__promotions-section .page-k9cc11__text-block,
.page-k9cc11__cta-section .page-k9cc11__text-block {
    color: #e0e0e0;
}

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

.page-k9cc11__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-k9cc11__game-card:hover {
    transform: translateY(-5px);
}

.page-k9cc11__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-k9cc11__game-title {
    font-size: 1.4em;
    color: #2563eb;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-k9cc11__game-description {
    font-size: 0.95em;
    color: #64748b;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-k9cc11__game-cta {
    display: inline-block;
    background-color: #64748b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.page-k9cc11__game-cta:hover {
    background-color: #4a5568;
}

.page-k9cc11__button-group {
    text-align: center;
    margin-top: 50px;
}

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

.page-k9cc11__advantage-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-k9cc11__advantage-item:hover {
    transform: translateY(-5px);
}

.page-k9cc11__advantage-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-k9cc11__advantage-title {
    font-size: 1.5em;
    color: #2563eb;
    margin-bottom: 15px;
}

.page-k9cc11__advantage-description {
    font-size: 0.95em;
    color: #64748b;
}

.page-k9cc11__promotion-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-k9cc11__promotion-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.page-k9cc11__promotion-item::before {
    content: '⭐';
    margin-right: 10px;
    font-size: 1.2em;
}

.page-k9cc11__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-k9cc11__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-k9cc11__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    color: #2563eb;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    background-color: #f0f2f5;
    transition: background-color 0.3s ease;
}

.page-k9cc11__faq-question:hover {
    background-color: #e2e6eb;
}

.page-k9cc11__faq-question h3 {
    margin: 0;
    pointer-events: none; /* Prevent h3 from blocking click */
    flex-grow: 1;
    text-align: left;
    color: #2563eb; /* Ensure good contrast */
}

.page-k9cc11__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    pointer-events: none; /* Prevent toggle from blocking click */
    color: #2563eb; /* Ensure good contrast */
}

.page-k9cc11__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    color: #4a5568;
    font-size: 1em;
    text-align: left;
}

.page-k9cc11__faq-item.active .page-k9cc11__faq-answer {
    max-height: 2000px !important; /* Sufficiently large height */
    padding: 20px !important;
    opacity: 1;
}

.page-k9cc11__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-k9cc11__floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #ffc107; /* Eye-catching color */
    color: #333333;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-k9cc11__floating-button:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-k9cc11__hero-title {
        font-size: 2.4em;
    }
    .page-k9cc11__section-title {
        font-size: 1.8em;
    }
    .page-k9cc11__games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-k9cc11__container {
        padding: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-k9cc11__hero-section {
        padding-top: 10px !important; /* Rely on body padding for header offset */
        padding-bottom: 20px;
    }

    .page-k9cc11__hero-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }

    .page-k9cc11__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }

    .page-k9cc11__hero-cta-button,
    .page-k9cc11__btn-primary,
    .page-k9cc11__btn-secondary,
    .page-k9cc11 a[class*="button"],
    .page-k9cc11 a[class*="btn"] {
        padding: 12px 20px !important;
        font-size: 1em !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .page-k9cc11__button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-k9cc11__section-title {
        font-size: 1.6em !important;
        margin-bottom: 30px;
    }

    .page-k9cc11__text-block {
        font-size: 0.95em !important;
        padding: 0 10px;
    }

    .page-k9cc11__about-section,
    .page-k9cc11__advantages-section,
    .page-k9cc11__faq-section,
    .page-k9cc11__games-section,
    .page-k9cc11__promotions-section,
    .page-k9cc11__cta-section {
        padding: 40px 0;
    }

    .page-k9cc11__games-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .page-k9cc11__game-image {
        height: 180px;
    }

    .page-k9cc11__game-title {
        font-size: 1.2em;
    }

    .page-k9cc11__advantages-grid {
        grid-template-columns: 1fr !important;
    }

    .page-k9cc11__advantage-item {
        padding: 20px;
    }

    .page-k9cc11__promotion-list {
        padding: 0 15px;
    }

    .page-k9cc11__promotion-item {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-k9cc11__faq-question {
        font-size: 1.1em !important;
        padding: 15px;
    }

    .page-k9cc11__faq-answer {
        padding: 15px !important;
        font-size: 0.95em !important;
    }

    .page-k9cc11__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 0.9em;
    }

    /* Universal image responsive styles for mobile */
    .page-k9cc11 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Ensure all content containers are responsive */
    .page-k9cc11__section,
    .page-k9cc11__card,
    .page-k9cc11__container,
    .page-k9cc11__hero-content,
    .page-k9cc11__games-grid,
    .page-k9cc11__advantages-grid,
    .page-k9cc11__promotion-list,
    .page-k9cc11__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* List item specific mobile styles */
    .page-k9cc11__promotion-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .page-k9cc11__promotion-list {
        padding: 0 !important; /* Adjust if needed based on parent padding */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}