/* --- TOONZ LEGACY FOOTER STATS --- */
.toonz-footer-stats-wrapper {
    position: relative;
    padding: 0px 0 60px 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background-color: transparent;
}

/* GLOW PULSE ANIMATION */
.tfs-glow-wrap {
    position: absolute;
    top: -120px;
    /* Move it up to sit above metrics */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.tfs-glow-img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    filter: brightness(1.2);
    animation: tfsPulse 4s ease-in-out infinite alternate;
}

@keyframes tfsPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* CONTAINER */
.tfs-container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 100px 20px 40px 20px;
    /* Increased top padding to clear the glow */
}

/* STAT ITEM */
.tfs-stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    position: relative;
}

/* Vertical Dividers using provided image */
.tfs-stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100px;
    background: url('https://bisque-vulture-801504.hostingersite.com/wp-content/uploads/2026/05/abdivider.webp') no-repeat center;
    background-size: contain;
}

.tfs-icon img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

/* TEXT COMPONENTS */
.tfs-number-row {
    display: flex;
    align-items: center;
    gap: 2px;
}

.tfs-number {
    font-size: 38px;
    font-weight: 800;
    color: #E87722;
    line-height: 1;
}

.tfs-suffix {
    font-size: 28px;
    font-weight: 700;
    color: #E87722;
}

.tfs-title {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 5px 0 8px 0;
}

.tfs-detail {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .tfs-container {
        flex-wrap: wrap;
        gap: 40px;
    }

    .tfs-stat-item {
        flex: 1 1 40%;
        padding: 0 20px;
    }

    .tfs-stat-item:after {
        display: none;
    }
}

@media (max-width: 767px) {
    .tfs-stat-item {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }

    .tfs-number-row {
        justify-content: center;
    }
}