/* ── Kings Corner – Feature Checklist ─────────────────────────────────────── */

.kc-fl-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.kc-fl-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.35;
    font-weight: 700;
}

.kc-fl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Item base ────────────────────────────────────────────────────────────── */

.kc-fl-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ── Animation states — items start hidden unless anim=none ───────────────── */

.kc-fl-anim-fade-up .kc-fl-item,
.kc-fl-anim-fade-in .kc-fl-item,
.kc-fl-anim-slide-left .kc-fl-item {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    /* duration & delay are set inline by JS */
}

/* Start positions */
.kc-fl-anim-fade-up .kc-fl-item {
    transform: translateY(14px);
}

.kc-fl-anim-fade-in .kc-fl-item {
    transform: none;
}

.kc-fl-anim-slide-left .kc-fl-item {
    transform: translateX(-24px);
}

/* Visible state (all types reset to natural position) */
.kc-fl-item.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Icon container ───────────────────────────────────────────────────────── */

.kc-fl-check {
    flex-shrink: 0;
}

.kc-fl-check-box {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background-color: #00c4a0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 196, 160, 0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* No-shadow variant */
.kc-fl-check.no-shadow .kc-fl-check-box {
    box-shadow: none;
}

/* ── Shapes ───────────────────────────────────────────────────────────────── */

.kc-fl-shape-square {
    border-radius: 4px;
}

.kc-fl-shape-rounded {
    border-radius: 8px;
}

.kc-fl-shape-circle {
    border-radius: 50%;
}

.kc-fl-shape-none {
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
}

/* ── Icon inside box ──────────────────────────────────────────────────────── */

.kc-fl-check-box i {
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.kc-fl-check-box svg {
    width: 12px;
    height: 12px;
    display: block;
    flex-shrink: 0;
}

.kc-fl-check-box svg path {
    stroke: #ffffff;
    fill: none;
}

/* ── Pop animation on icon (triggered by JS adding .do-pop) ──────────────── */

.kc-fl-check-box.do-pop {
    animation: kc-fl-pop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    /* delay set inline by JS */
}

@keyframes kc-fl-pop {
    0%   { transform: scale(0.4); opacity: 0.4; }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1);   opacity: 1;   }
}

/* ── Text ─────────────────────────────────────────────────────────────────── */

.kc-fl-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .kc-fl-title {
        font-size: 1.5rem;
    }

    .kc-fl-text {
        font-size: 0.95rem;
    }

    .kc-fl-item {
        gap: 12px;
    }
}
