.div-02 {
    margin: auto;
    text-align: left;
    background-color: #fff;
    padding: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 15vh;
}

.stat {
    position: relative;
    background: white;
    padding: 2rem;
    box-shadow: 0px 4px 10px 4px rgb(0 0 0 / 20%);
    text-align: center;
    flex: 1 1 300px;
    height: auto;
    max-width: 400px;
    box-sizing: border-box;
    transition: color 0.3s;
}

.stat::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F6C833;
    transform: scaleY(0);
    transform-origin: bottom left;
    transition: transform 0.5s ease;
    z-index: 1;
}

.stat:hover::before {
    transform: scaleY(1) scaleX(1);
    transform-origin: top right;
}

.stat .number,
.stat .text {
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.stat:hover .number,
.stat:hover .text {
    color: white;
}

.stat .number {
    font-size: 3.75rem; /* 60px */
    font-weight: bold;
    color: #F6C833;
}

.stat .text {
    font-size: 1.25rem;
    color: #333;
    margin-top: 10px;
}

.buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #F6C833;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.btn.primary {
    background: #F6C833;
}

/* Адаптация под экраны меньших размеров */
@media (max-width: 768px) {
    .stat {
        flex: 1 1 100%;
        max-width: 90%;
    }

    .stat .number {
        font-size: 2.5rem;
    }

    .stat .text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stat {
        padding: 1rem;
    }

    .stat .number {
        font-size: 2rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
