.card-figura {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.card-header-figura {
    background: linear-gradient(90deg, var(--roxo), var(--rosa));
    color: white;
    text-align: center;
    padding: 1.2rem 1rem 1rem;
}

.img-wrapper {
    background: #f8f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 220px;
}

.img-wrapper img {
    width: 100%;
    max-width: 320px;
    height: 200px;
    object-fit: contain;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.img-wrapper img.animating {
    transform: scale(0.9);
    opacity: 0;
}

.card-body-figura {
    background: white;
    padding: 1.25rem 1.5rem 0.75rem;
}

.nome-figura {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--roxo);
    margin-bottom: 0.4rem;
}

.descricao-figura {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 3.5rem;
}

.card-footer-figura {
    background: white;
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

.btn-proxima {
    background: linear-gradient(90deg, var(--roxo), var(--rosa));
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 15px rgba(181, 123, 238, 0.5);
}

.btn-proxima:hover, .btn-proxima:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 123, 238, 0.7);
    color: white;
}

.btn-proxima:active {
    transform: translateY(0);
}

.contador {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--roxo);
    margin-top: 0.6rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}
